Admin errors thrown by Scalability Pro plugin
I am trying to implement the Scalability Pro plugin but with limited success on a WooCommerce site I am building.
1) I have tried following the guide to setup the plugin and optimise the things highlighted, but I still seem to have too many options autoloading (1595) and while the admin performance has improved with the plugin it is still reasonably slow. There are only 20 products in the shop. I can't seem to pin down where the problem is.
I'm hosting the website on a Gridpane stack. https://www.fashionwithbenefits.in
2) At the moment when I have pending plugin updates and I visit the plugins page or try to update plugins I keep getting the following error pointing to Scalability Pro:
Fatal error: Uncaught Error: Attempt to assign property "version" on null.
in .... scalability-pro.php on line 2600
A reload of the page seems to get past it, but there is clearly a problem.
How do I get this to work properly?
- To improve your options table, follow my guide here: https://www.superspeedyplugins.com/knowledgebase/managing-your-wp_options-table/
- Can you please check you have all PHP 8 modules installed? I have upgraded FoundThru to use PHP 8 and I do not see these errors, although I did get them at first before I had php8-curl etc installed.
FYI – If you can please download the latest Scalability Pro from your downloads page, it fixes the issue with PHP 8. It was a cascading issue – if the site was unavailable for some reason (cloudflare was blocking plugin updates!) then it was crashing in PHP 8.
I’ve updated the plugin checker and I’ve migrated it to check for updates against my bitbucket repo so now it doesn’t break if the plugin updater website is not available.
I tried following your guide at the link you provided here before posting this message and I’m still struggling – that’s why I posted… I have backed off PHP 8 for the time being.
Re PHP 8 – I found this error with another client, but it’s not PHP 8 – a 403 error was being returned when trying to grab the JSON file and this cascaded to this error.
If you update Scalability Pro to 4.74 this error is fixed.
Is Scalability Pro compatible with PHP8?