• hi, i was using this plugin and i love it too much, but yesterday, suddenly, the login to facebook stopped working, ever time and body try to login he see this message,

    PHP Fatal error: Class 'Facebook' not found in /mnt/releases/server/asrivastava/first-task/390f5294f2b74ffbbe729e1ce9773c39573973b8/public/subscribe.php on line 36

    but now it gives me this too.

    Warning: require_once(/home3/lokamax/public_html/iplaybanat/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Auth.php): failed to open stream: No such file or directory in /home3/lokamax/public_html/iplaybanat/wp-content/plugins/WordPress-Social-Login-for-BuddyPress-master/includes/services/wsl.authentication.php on line 121

    Fatal error: require_once(): Failed opening required '/home3/lokamax/public_html/iplaybanat/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Auth.php' (include_path='.:/opt/php54/lib/php') in /home3/lokamax/public_html/iplaybanat/wp-content/plugins/WordPress-Social-Login-for-BuddyPress-master/includes/services/wsl.authentication.php on line 121

    https://wordpress.org/plugins/wordpress-social-login/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter lokamax001

    (@lokamax001)

    Sorry for my mistake,
    The problem is the next error when i try to log with facebook, it was working before 1 day ago.

    Fatal error: Class 'Facebook' not found in /home3/lokamax/public_html/iplaybanat/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Providers/Facebook.php on line 36

    I had an issue with ftp garbling up the files used in wsl, have you opened or mofied faceook.php or /hybridauth/Auth or changed the directory wsl is in, try reverting wsl to the folder wordpresss-ocial-login
    Then try to reupload and verify Facebook and Auth have not lost thier formatting in the php files, after that hopefully it will resolve itself. If not also try removing white space at the end of the php files if any

    Thread Starter lokamax001

    (@lokamax001)

    hi Mel,
    thanks for your answer but that didn’t help.

    Thread Starter lokamax001

    (@lokamax001)

    some body pease help me.

    Mel

    (@acvic)

    maybe try including facebook.php in another provider (if you use one) or directly in the base plugin.
    OR try
    redownloading facebook.php from the github repository and replacing it

    https://github.com/hybridauth/WordPress-Social-Login/blob/master/hybridauth/Hybrid/Providers/Facebook.php

    Line 34 in facebook.php is relating to CURL as well make sure your host didnt make any breaking changes to the way CURL is handled on your server as well

    Thread Starter lokamax001

    (@lokamax001)

    sorry but i still get the same error, i deleted the plugin and installed it all again with the same error

    Mel

    (@acvic)

    I missed it the other times it looks like your paths are mixed up one references the correct location and the other is refrencing wsl included in the “WordPress-Social-Login-for-BuddyPress-master” location.
    Try addressing this by naming your directory “wordpress-social-login”
    and repost any changes in the errors

    if this doesn’t work, debug the path it is looking for by adding

    echo WORDPRESS_SOCIAL_LOGIN_ABS_PATH . "/hybridauth/Hybrid/Auth.php";
    die('<----the path');

    on line 120 and post back
    after doing so remove the code as it will stop the rendering of the page and just debug the first part, if its a live site place it in maintenance mode, so your end users arent effected

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Urgent help.’ is closed to new replies.