Fatal Error on Activate Plugin PHP 8.2.25
-
Just sent a site live, installed Stream and it went straight to ‘activate’ (so must have already been installed even though it was not showing). On activate I get ‘Plugin could not be activated because it triggered a fatal error’. I have deleted plugin and reinstalled same deal.
PHP version 8.2.25
Here’s the log (actual domain replaced with the word ‘site’ in these paths for privacy)
AH01071: Got error ‘PHP message: PHP Warning: Undefined global variable $wp_stream in?/var/www/vhosts/site/httpdocs/wp-content/plugins/stream/stream.php?on line 67; PHP message: PHP Warning: Attempt to read property “install” on null in?/var/www/vhosts/site/httpdocs/wp-content/plugins/stream/includes/db-updates.php?on line 20; PHP message: PHP Fatal error: Uncaught Error: Call to a member function install() on null in?/var/www/vhosts/site/httpdocs/wp-content/plugins/stream/includes/db-updates.php:20\nStack trace:\n#0 [internal function]: wp_stream_update_auto_308()\n#1?/var/www/vhosts/site/httpdocs/wp-content/plugins/stream/classes/class-install.php(340): call_user_func()\n#2?/var/www/vhosts/site/httpdocs/wp-content/plugins/stream/classes/class-install.php(111): WP_Stream\\Install->update()\n#3?/var/www/vhosts/site/httpdocs/wp-content/plugins/stream/classes/class-install.php(77): WP_Stream\\Install->check()\n#4?/var/www/vhosts/site/httpdocs/wp-content/plugins/stream/classes/class-db-driver-wpdb.php(166): WP_Stream\\Install->__construct()\n#5?/var/www/vhosts/site/httpdocs/wp-content/plugins/stream/classes/class-plugin.php(163): WP_Stream\\DB_Driver_WPDB->setup_storage()\n#6?/var/www/vhosts/site/httpdocs/wp-content/plugins/stream/stream.php(42): WP_Stream\\Plugin->__construct()\n#…’, referer: https://site/wp-admin/plugins.php
- You must be logged in to reply to this topic.