Hi @loano1,
after updating to the latest version, my error log gets filled with a warning and a database error: After switching from High-performance order storage (recommended) to?WordPress posts storage (legacy)?the error disappeard. However, it would be good if this update would be compatible with the new tables as well.
From what I understand, you’re encountering a database error and PHP warning on your site after updating to the latest version of WooCommerce. The error log suggests there’s an issue with the SQL syntax in your MariaDB server, specifically related to the ‘ppec_paypal’ payment method.
You’ve also mentioned that switching from High-performance order storage to WordPress posts storage (legacy) seems to have resolved the issue. However, you’d like the update to be compatible with the new tables as well.
Here are some potential solutions:
- Update your plugins and themes: Make sure all your plugins, themes, and WordPress are current. Outdated versions can sometimes cause issues.
- Plugin Conflict: Please verify if there’s a conflict with another plugin. Deactivate all other plugins except WooCommerce and see if the error persists. If it doesn’t, reactivate the plugins one by one to identify the conflicting plugins.
- Theme Conflict: Try switching to a default WordPress theme like Storefront to check if your theme is causing the issue. Here’s a handy guide on testing for conflicts: ?? How to Test for Plugin and Theme Conflicts.
- Database Optimization: Optimize your database using a plugin like WP-Optimize. This can often resolve database-related issues.
- Enable Debugging: If the issue is still there, turning on debugging in WordPress might help us find the problem. Just add these lines to your wp-config.php file:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
This will create a debug.log file in your wp-content directory, logging any PHP errors or notices. For a more detailed guide on enabling debugging in WordPress, you can visit this link: ?? Debugging in WordPress.
If the issue continues after trying these steps, please share more details, like the exact error messages you see when debug mode is on. This will help us identify and solve the problem more effectively.
We’d also appreciate it if you could share your site’s System Status report. This will help us understand your site’s setup better and identify the problem. You can find it via WooCommerce > Status
. Select Get system report
and then Copy for support
.
Once you have all this information, you can paste it inside a Code block in your reply, or use https://pastebin.com to paste it and share the link with us.
Thanks for your patience and cooperation in this matter! We’re here to help you get this sorted.