PHP Fatal error after plugin activation
-
After installing the plugin on a clean local WordPress installation following error is logged:
PHP Fatal error: Uncaught Error: Call to undefined function is_plugin_active() in /var/www/html/wp-content/plugins/live-preview-product-options-lite/main.php:20\nStack trace:\n#0 /var/www/html/wp-settings.php(377): include_once()\n#1 /var/www/html/wp-config.php(100): require_once(‘/var/www/html/w…’)\n#2 /var/www/html/wp-load.php(37): require_once(‘/var/www/html/w…’)\n#3 /var/www/html/wp-admin/admin.php(34): require_once(‘/var/www/html/w…’)\n#4 /var/www/html/wp-admin/plugins.php(10): require_once(‘/var/www/html/w…’)\n#5 {main}\n thrown in /var/www/html/wp-content/plugins/live-preview-product-options-lite/main.php on line 20, referer: https://localhost/wp-admin/plugin-install.php?s=+Live+Preview+-+Product+Options+-+Lite&tab=search&type=term
Wordpress: 5.5.3
PHP: 7.4.12
WooCommerce: 5.1.0
Theme: Twenty TwentyIs there a way to fix this?
- The topic ‘PHP Fatal error after plugin activation’ is closed to new replies.