SQL error after update plugin
-
Hello, since we updated the plugin version, we get the following error every time we try to activate the plugin. If we activate it, the entire site crashes.Here is the error from the log:
[14-Jan-2024 14:44:17 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘WHERE payment_method = ‘ppec_paypal” at line 1 for query SELECT 1 FROM WHERE payment_method = ‘ppec_paypal’ made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce\PayPalCommerce\{closure}, WooCommerce\PayPalCommerce\init, {closure}, WooCommerce\PayPalCommerce\Compat\CompatModule->run, WooCommerce\PayPalCommerce\Compat\CompatModule->initialize_ppec_compat_layer, WooCommerce\PayPalCommerce\Compat\PPEC\SubscriptionsHandler->maybe_hook, WooCommerce\PayPalCommerce\Compat\PPEC\PPECHelper::use_ppec_compat_layer_for_subscriptions, WooCommerce\PayPalCommerce\Compat\PPEC\PPECHelper::site_has_ppec_subscriptions
The topic ‘SQL error after update plugin’ is closed to new replies.