*

rooman

  • ****
  • 223 posts
PHP Fatal error Facebook Login + Google Login
« on: May 10, 2023, 04:43:16 PM »
PHP Fatal error
Facebook Login Osclass Plugin

Quote

 PHP Fatal error:  Uncaught Error: Call to a member function getRedirectLoginHelper() on bool in /home/***/public_html/oc-content/plugins/facebook_login/functions.php:53
Stack trace:
#0 /home/***/public_html/oc-includes/osclass/classes/Plugins.php(42): fl_callback()
#1 /home/***/public_html/oc-includes/osclass/helpers/hPlugins.php(34): Plugins::runHook()
#2 /home/***/public_html/oc-includes/osclass/core/BaseModel.php(71): osc_run_hook()
#3 /home/***/public_html/oc-includes/osclass/controller/custom.php(28): BaseModel->__construct()
#4 /home/***/public_html/index.php(313): CWebCustom->__construct()
#5 {main}
  thrown in /home/***/public_html/oc-content/plugins/facebook_login/functions.php on line 53

Also another error in another helper program
Google Login Osclass Plugin
Quote
  #7 {main}
  thrown in /home/***/public_html/oc-content/plugins/google_login/src/auth/Google_OAuth2.php on line 112
 PHP Fatal error:  Uncaught Google_AuthException: Error fetching OAuth2 access token, message: 'invalid_grant' in /home/***/public_html/oc-content/plugins/google_login/src/auth/Google_OAuth2.php:112
Stack trace:
#0 /home/***/public_html/oc-content/plugins/google_login/src/Google_Client.php(131): Google_OAuth2->authenticate()
#1 /home/***/public_html/oc-content/plugins/google_login/index.php(52): Google_Client->authenticate()
#2 /home/***/public_html/oc-includes/osclass/classes/Plugins.php(42): ggl_callback()
#3 /home/***/public_html/oc-includes/osclass/helpers/hPlugins.php(34): Plugins::runHook()
#4 /home/***/public_html/oc-includes/osclass/core/BaseModel.php(71): osc_run_hook()
#5 /home/***/public_html/oc-includes/osclass/controller/custom.php(28): BaseModel->__construct()
#6 /home/***/public_html/index.php(276): CWebCustom->__construct()
#7 {main}
  thrown in /home/***/public_html/oc-content/plugins/google_login/src/auth/Google_OAuth2.php on line 112
« Last Edit: May 11, 2023, 10:18:53 AM by rooman »

*

MB Themes

Re: PHP Fatal error Facebook Login + Google Login
« Reply #1 on: May 11, 2023, 02:33:05 PM »
Make sure you use supported PHP version.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

rooman

  • ****
  • 223 posts
Re: PHP Fatal error Facebook Login + Google Login
« Reply #2 on: May 11, 2023, 06:00:25 PM »
Make sure you use supported PHP version.
php 8

*

MB Themes

Re: PHP Fatal error Facebook Login + Google Login
« Reply #3 on: May 11, 2023, 08:56:20 PM »
Facebook php sdk does not support php8.
Google login might be related to app settings as well.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots