Dear StackExchange users,
I am trying to activate a plugin I deactivated for a few minutes. Unfortunately, I always got the notice that a fatal error occurs.
I would appreciate it if someone could help me to fix this.
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘IF’ at line 1 in /var/www/vhosts/ABCD/wordpress/wp-includes/wp-db.php:2056 Stack trace: #0 /var/www/vhosts/ABCD/wordpress/wp-includes/wp-db.php(2056): mysqli_query(Object(mysqli), ‘DESCRIBE IF;’) #1 /var/www/vhosts/ABCD/wordpress/wp-includes/wp-db.php(1945): wpdb->_do_query(‘DESCRIBE IF;’) #2 /var/www/vhosts/ABCD/wordpress/wp-includes/wp-db.php(2695): wpdb->query(‘DESCRIBE IF;’) #3 /var/www/vhosts/ABCD/wordpress/wp-admin/includes/upgrade.php(2749): wpdb->get_results(‘DESCRIBE IF;’) #4 /var/www/vhosts/ABCD/wordpress/wp-content/plugins/borlabs-cookie/classes/Cookie/Install.php(771): dbDelta(Array) #5 /var/www/vhosts/ABCD/wordpress/wp-content/plugins/borlabs-cookie/classes/Cookie/Init.php(98): BorlabsCookieCookieInstall->installPlugin() #6 /var/www/vhosts/ABCD/wordpress/wp-includes/class-wp-hook.php(303): BorlabsCookieCookieInit->pluginActivated(”) #7 /var/www/vhosts/ABCD/wordpress/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array) #8 /var/www/vhosts/ABCD/wordpress/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #9 /var/www/vhosts/ABCD/wordpress/wp-admin/plugins.php(193): do_action(‘activate_borlab…’) #10 {main} thrown in /var/www/vhosts/ABCD/wordpress/wp-includes/wp-db.php on line 2056