- Posts: 27
- Thank you received: 0
PHP8.1 error
- helsinkisisu
-
Topic Author
- Offline
- Junior Member
-
It's worth mentioning that the site was running fine until I uninstalled an old plugin. I've tried reinstalling the latest version of SCP, but it didn't fix.
I'm in the process of upgrading to J4 and PHP8 was the first step.
I'm running:
Joomla 3.10.11
SCP 3.5.1
PHP 8.1.9
MySQL 8.0.30
Please Log in or Create an account to join the conversation.
- Jose
-
- Offline
- Administrator
-
- Posts: 4683
- Thank you received: 349
It's really odd as latest version (3.5.1) is fully compatible with PHP 8.1 and also J4. For some reason that function receives a not valid comparison operator and that's why you get the error.
Did you try uninstalling the entire extension and reinstalling it? If you did it, could I get access to the site (FTP and backend) to do some tests? If so please send me administrative credentials to the email from which you receive forum notifications.
Regards,
Jose
Please Log in or Create an account to join the conversation.
- helsinkisisu
-
Topic Author
- Offline
- Junior Member
-
- Posts: 27
- Thank you received: 0
The old plugin I uninstalled from the J3 live site was only disabled on the upgraded J4 test site. I just uninstalled it and there with no problem.
I'll try it again on the J3 site to see if the problem repeats. I can quickly restore again if needed.
Please Log in or Create an account to join the conversation.
- Jose
-
- Offline
- Administrator
-
- Posts: 4683
- Thank you received: 349
Regards,
Jose
Please Log in or Create an account to join the conversation.
- helsinkisisu
-
Topic Author
- Offline
- Junior Member
-
- Posts: 27
- Thank you received: 0
I disabled SCP in the DB, reinstalled the plugin, then enabled SCP. Still broken.
Site restored from backup again now.
So uninstalling the plugin does something that breaks SCP and/or J3 but the plugin's installation doesn't reverse the break.
The plugin is no longer used, and isn't J4 compatible (and I don't think it's even still available). However, if you would like a copy to see if you can spot anything in the uninstall script, I am happy to send you a copy (35kB).
Please Log in or Create an account to join the conversation.
- Jose
-
- Offline
- Administrator
-
- Posts: 4683
- Thank you received: 349
That function checks extensions installed against the vulnerabilities database. For some reason when that extension is unistalled it breaks the process. Please, send me the extension to do some tests.
Regards,
Jose
Please Log in or Create an account to join the conversation.
In order to provide you with the best online experience this website uses cookies.
By using our website, you agree to our use of cookies.
This site is not affiliated with or endorsed by the Joomla! Project. It is not supported or warranted by the Joomla! Project or Open Source Matters. The Joomla! logo is used under a limited license granted by Open Source Matters, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons. This information is retained only until we check you're not trying to hack our website.