When the Post SMTP plugin updated today to 2.5.2, it took down my site with a fatal error. I was able to disable the plugin and when I try to reactivate, it gives the following:
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 /wp-includes/wp-db.php:2056 Stack trace: #0 /wp-includes/wp-db.php(2056): mysqli_query(Object(mysqli), ‘DESCRIBE IF;’) #1 /wp-includes/wp-db.php(1945): wpdb->_do_query(‘DESCRIBE IF;’) #2 /wp-includes/wp-db.php(2695): wpdb->query(‘DESCRIBE IF;’) #3 /wp-admin/includes/upgrade.php(2749): wpdb->get_results(‘DESCRIBE IF;’) #4 /wp-content/plugins/post-smtp/Postman/PostmanEmailLogs.php(87): dbDelta(Array) #5 /wp-content/plugins/post-smtp/Postman/PostmanInstaller.php(61): PostmanEmailLogs->install_table() #6 /wp-content/plugins/post-smtp/Postman/Postman.php(130): PostmanInstaller->activatePostman() #7 /wp-content/plugins/post-smtp/postman-smtp.php(203): Postman->__construct(‘/home/dh_jp86cx…’, ‘2.5.2’) #8 /wp-content/plugins/post-smtp/postman-smtp.php(194): post_setupPostman() #9 /wp-content/plugins/post-smtp/postman-smtp.php(123): post_smtp_start(42039176) #10 /wp-admin/includes/plugin.php(2286): include_once(‘/home/dh_jp86cx…’) #11 /wp-admin/plugins.php(191): plugin_sandbox_scrape(‘post-smtp/postm…’) #12 {main} thrown in /wp-includes/wp-db.php on line 2056
