Fatal error when activating plugin
-
After adding plugin via Plugin management inside WordPress, this is the message i get when i try to activate:
Plugin could not be activated because it triggered a fatal error.
Fatal error: Uncaught Error: Call to undefined function error_log() in /home/xxx/wp-includes/wp-db.php:1489 Stack trace: #0 /home/xxx/wp-includes/wp-db.php(1997): wpdb->print_error() #1 /home/xxx/wp-content/plugins/nextend-facebook-connect/nextend-social-login.php(547): wpdb->query() #2 /home/xxx/wp-includes/class-wp-hook.php(303): NextendSocialLogin::install() #3 /home/xxx/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #4 /home/xxx/wp-includes/plugin.php(470): WP_Hook->do_action() #5 /home/xxx/wp-admin/plugins.php(193): do_action() #6 {main} thrown in /home/xxx/wp-includes/wp-db.php on line 1489
This error happens when i set PHP 8.0 as default version, if i switch to 7.4 all good. Any thoughts?
- The topic ‘Fatal error when activating plugin’ is closed to new replies.