Topic-icon jbfconnect_v7.1.2 installation error: 0 Call to a member function get

Active Subscriptions:

None
Hi,
I am having problems with jfb plugin and the SClogin. I tried to reinstall the plugin jbfconnect_v7.1.2 but got an error and could not finalize the installation. The file goes in the temp folder instead of being installed. Secondly the SCLogin module is no longer working, error shows as:
1 XMLHttpRequest cannot load xxx.com/modules/mod_sclogin/ajax/otpcheck.php. Redirect from 'https:/xxx.com/modules/mod_sclogin/ajax/otpcheck.php' to 'xxx.com/modules/mod_sclogin/ajax/' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'www.xxx.com' is therefore not allowed access.

Note that Both mod_scloginand com_jfbconnect login process are "pass" in the AdminTool WAF Exceptions. I am using EasySocial.

Could you please let me knwo what I should look for?
Thanks,
The topic has been locked.
Support Specialist

I tried to reinstall the plugin jbfconnect_v7.1.2 but got an error and could not finalize the installation. The file goes in the temp folder instead of being installed.

Could you try the option in the Joomla install section to "Install from Folder" instead of "Upload Package File"? Is there any change here?

Secondly the SCLogin module is no longer working, error shows as:
1 XMLHttpRequest cannot load xxx.com/modules/mod_sclogin/ajax/otpcheck.php. Redirect from 'https:/xxx.com/modules/mod_sclogin/ajax/otpcheck.php' to 'xxx.com/modules/mod_sclogin/ajax/' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'www.xxx.com' is therefore not allowed access.

Please check to see if you have page caching enabled with the System cache plugin. Our guess is that your site is caching the non-www version of the site, so when the above tries to load the www version, it is not allowed. Can you try clear cache, disable page caching or try setting up a redirect from www to non-www?

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hi Melissa,
Thank you for your reply.

A - I verified the permissions using Admintools,

B - I tried to install from folder (/home/frontmat/public_html/tmp/jfbconnect_v7.1.2) instead of upload package. Got the : Error, Please enter a package folder. Unable to find install package...

C - I tried to install again from the upload package after activating the debug/maximum reporting. And received the following error:
An error has occurred.
0 Call to a member function __toString() on null
Call stack
# Function Location
1 JApplicationCms->execute() /home/frontmat/public_html/administrator/index.php:51
2 JApplicationAdministrator->doExecute() /home/frontmat/public_html/libraries/cms/application/cms.php:261
3 JApplicationAdministrator->dispatch() /home/frontmat/public_html/libraries/cms/application/administrator.php:152
4 JComponentHelper::renderComponent() /home/frontmat/public_html/libraries/cms/application/administrator.php:98
5 JComponentHelper::executeComponent() /home/frontmat/public_html/libraries/cms/component/helper.php:380
6 require_once() /home/frontmat/public_html/libraries/cms/component/helper.php:405
7 JControllerLegacy->execute() /home/frontmat/public_html/administrator/components/com_installer/installer.php:19
8 InstallerControllerInstall->install() /home/frontmat/public_html/libraries/legacy/controller/legacy.php:702
9 InstallerModelInstall->install() /home/frontmat/public_html/administrator/components/com_installer/controllers/install.php:33
10 JInstaller->install() /home/frontmat/public_html/administrator/components/com_installer/models/install.php:187
11 JInstallerAdapter->install() /home/frontmat/public_html/libraries/cms/installer/installer.php:482
12 JInstallerAdapter->triggerManifestScript() /home/frontmat/public_html/libraries/cms/installer/adapter.php:769
13 com_JFBConnectInstallerScript->postflight() /home/frontmat/public_html/libraries/cms/installer/adapter.php:978
14 com_JFBConnectInstallerScript->installPackages() /home/frontmat/public_html/tmp/install_58d37e753c354/install.php:111
15 com_JFBConnectInstallerScript->installPackageList() /home/frontmat/public_html/tmp/install_58d37e753c354/install.php:338
16 JInstaller->install() /home/frontmat/public_html/tmp/install_58d37e753c354/install.php:361
17 JInstallerAdapter->install() /home/frontmat/public_html/libraries/cms/installer/installer.php:482
18 JInstallerAdapterLibrary->checkExtensionInFilesystem() /home/frontmat/public_html/libraries/cms/installer/adapter.php:624
19 JInstaller->uninstall() /home/frontmat/public_html/libraries/cms/installer/adapter/library.php:38
20 JEventDispatcher->trigger() /home/frontmat/public_html/libraries/cms/installer/installer.php:734
21 JEvent->update() /home/frontmat/public_html/libraries/joomla/event/dispatcher.php:159
22 PlgContentstatsCom_installer->onExtensionAfterUninstall() /home/frontmat/public_html/libraries/joomla/event/event.php:69
Return to Control Panel

Important news, in extensions.manage> JFBConnect and mod_sclogin are both 7.1.2 version... For your information, JEvents core update creates the same problem as your updates. However, when uploading Akeeba update from extension>install> package file, at the end of the upload, the same error message appeared briefly, but the upload bypass the error and finally uploaded and install correctly.

E - SCLogin ( I call your module the wild kid) is working again... I have somehow to find out why it is so unstable...

Hope that the above information help.
Thanks & regards,
Agnes
The topic has been locked.
Support Specialist

B - I tried to install from folder (/home/frontmat/public_html/tmp/jfbconnect_v7.1.2) instead of upload package. Got the : Error, Please enter a package folder. Unable to find install package...

Make sure you unzipped the full jfbconnect_xx.zip file to that directory. Since you're seeing these errors with other extensions though, it seems like there's some other underlying issue either related to Joomla or your server configuration. I'm unsure what though as this isn't something we've seen before.

E - SCLogin ( I call your module the wild kid) is working again... I have somehow to find out why it is so unstable...

Make sure you're using the exact same domain each time you test and try others to see if they fail. For instance, if your site is example.com, test that that works. Also test going to example.com and www.example.com and www.example.com and see if any of those fail. That will help understand why it may seem finicky.

I hope that helps get you going or understand things further.

Thanks,
Alex
The topic has been locked.