I am getting this error when I try to place an order with WooCommerce: enter image description here

I tried to deactivate all plugins except WooCommerce and tried to use a basic Wordpress theme. But it is still not fixed.

What else could I try?

  • A search of GitHub shows that the class causing the error comes from a plugin called woocommerce-product-customizer? Did you deactivate that one? You should contact its author for assistance, as third party plugins are off topic here. Jan 22 at 10:36
  • Can you paste the acutal error code here rather than a picture? It makes it easier to research. Jan 22 at 18:55

1 Answer 1


Here are a couple things you can try: Increase Memory Limit: Sometimes, PHP memory limit issues can cause such errors. Try increasing the memory limit by adding define('WP_MEMORY_LIMIT', '256M'); to your wp-config.php file.

Check WooCommerce Status: Go to WooCommerce > Status in your WordPress admin to see if there are any alerts or recommendations.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.