Facebook error on server

26-Aug-2015 10:28:58

Hi ,

I have tested all the three logins on local and everything was working fine.

But after uploading on the server, I am getting the following error only in facebook:

Fatal error: Uncaught exception 'LogicException' with message 'Illegal value passed (no array or string given)' in /home/novarklw/public_html/test/assets/auth/platforms/facebook-app/autoload.php:71 Stack trace: #0 /home/novarklw/public_html/test/assets/auth/platforms/facebook-app/autoload.php(71): spl_autoload_register(NULL) #1 /home/novarklw/public_html/test/assets/auth/platforms/facebook-app/facebook.php(12): require_once('/home/novarklw/...') #2 {main} thrown in /home/novarklw/public_html/test/assets/auth/platforms/facebook-app/autoload.php on line 71

Server php version is > 5.4.

Please help me in this.


27-Aug-2015 23:21:35


It seems the spl_autoload_register function can not load required files. Usually, it may be related to your uploaded files or system configuration.

You can try to check all files in "facebook-app" folder and make sure all files are uploaded successful.

If everything is right but the problem still exist it may be related to your system configuration. In this case, you can try to google spl_autoload_register issues and your error message to find solutions. Because I do not know your system so I can not give solution in this case.