PHP 8.0 Scability Error

WP Intense Q & ACategory: Scalability ProPHP 8.0 Scability Error
Saw Boon Kah asked 2 months ago

Dear,We upgraded to PHP 8.0 and the scability causing the wp-admin/plugins.php error as below:Error Details=============An error of type E_ERROR was caused in line 2600 of the file /www/whisky_466/public/wp-content/plugins/scalability-pro/scalability-pro.php. Error message: Uncaught Error: Attempt to assign property \\"version\\" on null in /www/whisky_466/public/wp-content/plugins/scalability-pro/scalability-pro.php:2600Stack trace:#0 /www/whisky_466/public/wp-includes/class-wp-hook.php(303): {closure}(NULL, Array)#1 /www/whisky_466/public/wp-includes/plugin.php(189): WP_Hook->apply_filters(NULL, Array)#2 /www/whisky_466/public/wp-content/plugins/scalability-pro/plugin-updates/plugin-update-checker.php(237): apply_filters(\\'puc_request_inf...\\', NULL, Array)#3 /www/whisky_466/public/wp-content/plugins/scalability-pro/plugin-updates/plugin-update-checker.php(251): PluginUpdateChecker_1_6->requestInfo(Array)#4 /www/whisky_466/public/wp-content/plugins/scalability-pro/plugin-updates/plugin-update-checker.php(336): PluginUpdateChecker_1_6->requestUpdate()#5 /www/whisky_466/public/wp-content/plugins/scalability-pro/plugin-updates/plugin-update-checker.php(394): PluginUpdateChecker_1_6->checkForUpdates()#6 /www/whisky_466/public/wp-includes/class-wp-hook.php(303): PluginUpdateChecker_1_6->maybeCheckForUpdates(\\'\\')#7 /www/whisky_466/public/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)#8 /www/whisky_466/public/wp-includes/plugin.php(470): WP_Hook->do_action(Array)#9 /www/whisky_466/public/wp-admin/admin.php(374): do_action(\\'load-plugins.ph...\\')#10 /www/whisky_466/public/wp-admin/plugins.php(10): require_once(\\'/www/whisky_466...\\')#11 {main} thrownCan you help us fix it?

2 Answers
Dave Hilditch Staff answered 2 months ago

Hi – sorry about this – I have created a Trello card to track this bug fix here:

https://trello.com/c/e0CnKsU5/156-fix-plugin-updater-code-php-7-warnings-php-8-failure

Also, sorry for the slow response, I’m just back from holiday. I’ll try and get this fixed today.

Dave Hilditch Staff answered 1 month ago

Hi – I upgraded Foundthru to PHP 8 today and only got errors for missing modules. Once I had installed all the PHP 8 modules the errors went away and everything worked. Please can you try updating your PHP modules using the following – there may be some duplicates in here but no harm.

apt install -y php8.0-mysql php8.0-dom php8.0-simplexml php8.0-ssh2 php8.0-xml php8.0-xmlreader php8.0-curl php8.0-exif php8.0-ftp php8.0-gd php8.0-iconv php8.0-imagick php8.0-json php8.0-mbstring php8.0-posix php8.0-sockets php8.0-tokenizer

apt install -y php8.0-mysqli php8.0-pdo php8.0-sqlite3 php8.0-ctype php8.0-fileinfo php8.0-zip php8.0-exif

apt install php8.0-curl

apt install -y tmux curl wget php8.0-fpm php8.0-cli php8.0-curl php8.0-gd php8.0-intl

apt install -y php8.0-mysql php8.0-mbstring php8.0-zip php8.0-xml unzip php8.0-soap php8.0-redis

Visit our Discord server to ask questions

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.