Plugin could not be activated because it triggered a fatal error
-
I am getting the same error as someone posted above and yes I am using PHP 7
The plugin could not be activated because it triggered a fatal error.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpdb::prepare(), 1 passed in /opt/lampp/htdocs/plugins/wp-content/plugins/html5-virtual-classroom/vlcr_setup.php on line 1349 and exactly 2 expected in /opt/lampp/htdocs/plugins/wp-includes/wp-db.php:1222 Stack trace: #0 /opt/lampp/htdocs/plugins/wp-content/plugins/html5-virtual-classroom/vlcr_setup.php(1349): wpdb->prepare(‘CREATE TABLE IF…’) #1 /opt/lampp/htdocs/plugins/wp-includes/class-wp-hook.php(286): vlcr_install(”) #2 /opt/lampp/htdocs/plugins/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #3 /opt/lampp/htdocs/plugins/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /opt/lampp/htdocs/plugins/wp-admin/plugins.php(174): do_action(‘activate_html5-…’) #5 {main} thrown in /opt/lampp/htdocs/plugins/wp-includes/wp-db.php on line 1222
The page I need help with: [log in to see the link]
- The topic ‘Plugin could not be activated because it triggered a fatal error’ is closed to new replies.