Can't activate V 2.2.0 because of Fatal error
tmconnect opened this issue · 1 comments
I got this fatal error as I'm try to activate the current version 2.2.0 with ClassicPress 1.7.1 running on PHP 8.0.20
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /.../wp-content/plugins/classicpress-seo/includes/class-update-client.php:872 Stack trace: #0 /.../wp-content/plugins/classicpress-seo/includes/class-update-client.php(872): count(NULL) #1 /.../wp-content/plugins/classicpress-seo/includes/class-update-client.php(112): Classic_SEO\UpdateClient\UpdateClient->get_latest_version_number() #2 /.../wp-content/plugins/classicpress-seo/includes/class-update-client.php(135): Classic_SEO\UpdateClient\UpdateClient->__construct() #3 /.../wp-content/plugins/classicpress-seo/includes/class-update-client.php(902): Classic_SEO\UpdateClient\UpdateClient::get_instance() #4 /.../wp-content/plugins/classicpress-seo/classicpress-seo.php(267): require_once('/var/www/web232...') #5 /.../wp-content/plugins/classicpress-seo/classicpress-seo.php(183): Classic_SEO->includes() #6 /.../wp-content/plugins/classicpress-seo/classicpress-seo.php(165): Classic_SEO->setup() #7 /.../wp-content/plugins/classicpress-seo/classicpress-seo.php(430): Classic_SEO::get() #8 /.../wp-content/plugins/classicpress-seo/classicpress-seo.php(434): cpseo() #9 /.../wp-admin/includes/plugin.php(2138): include('/var/www/web232...') #10 /.../wp-admin/plugins.php(176): plugin_sandbox_scrape('classicpress-se...') #11 {main} thrown in /.../wp-content/plugins/classicpress-seo/includes/class-update-client.php on line 872
Thanks for any help.
This issue has been mentioned on ClassicPress Forums. There might be relevant details there:
https://forums.classicpress.net/t/classicpress-seo-causes-http-500-errors/5010/7