Posted: October 30, 2015 at 4:55 am
|
Event Espresso when it is enabled is stopping the checkout functionality of my woocommerce from working? Please advise? I have tested all other plugins but as soon as I enable EE it breaks it? |
Hi Matt, Can you describe what exactly is happening? Also, does your site have https and is force https set in the WooCommerce options? If you give us more specific details it will help us investigate. |
|
|
Hi Josh, |
Can you check the browser console for JavaScript errors on the checkout page? |
|
|
Hi Josh, Errors that are showing? |
Those are mixed content errors and not found errors, which usually is the result of the theme using http instead of allowing WP to set http or https. Most likely unrelated. One thing to consider is the amount of memory available to WordPress on your site. What can happen is if the server is already close to running low on memory, then you activate a plugin like Event Espresso (or any other plugin) that requires a good chunk of memory, then you can run into Memory Exhausted errors, which may be resulting in that little black circle with the dots that spin. So to fix, you increase the amount of memory available to WordPress so it has enough memory by following this guide: http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/ |
|
|
Hi Josh. I have increased the memory to 92mb. It still spins? Are you saying I need to increase the memory even more? |
|
I have just increased to 254mb. Still not working. |
Nope, I did not say you’d need to increase it to more. The guide that I shared a link with you says that if the memory bump doesn’t help, you can contact your host to see if they can go into their php.ini file to increase the memory limit for you. |
|
|
Hi Josh, I have done both. It is my own dedicated server. This error hasn’t occured in the past. Just the latest updates has messed it up. |
Have you checked the PHP error logs since the latest update? |
|
|
[04-Nov-2015 16:21:21 Europe/Berlin] PHP Warning: Module ‘zip’ already loaded in Unknown on line 0 Nothing else other than that. Which I don’t think is related as this has been a consistent error since August 2014 lol! |
Can you find out which version of PHP you have running on your server? This information will help us investigate. |
|
|
5.6 is the version. |
Can you turn on WP_DEBUG and check for errors? Also, when the WooCommerce checkout fails, is it when the Place Order button is submitted or at another point? Do you have a test site set up so we can investigate? I have a test site set up with Event Espresso 4 and WooCommerce and orders are going through as expected, so if you can clone your live site to a dev site (ideally on the same server) that will help us troubleshoot. |
|
|
Hi Josh, With WP_DEBUG: Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use Warning: Cannot modify header information – headers already sent by (output started at /home/matthud/public_html/wp-includes/functions.php:3457) in /home/matthud/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Front_Controller.core.php on line 112 Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/matthud/public_html/wp-includes/functions.php:3457) in /home/matthud/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php on line 398 I can’t setup a test site. We don’t mind you working on the live site. We just want it up and running. 6 days now. |
Hi Matt, The first notice in that list is likely causing those session start warnings. Can you try a theme like twentyfifteen, or fix the theme so its Widget does not use the deprecated constructor method? If the theme’s widget code is up to date, you’ll need to check for plugins that register widgets and update their code. There’s more information about how to update the theme’s widget code in these articles: https://make.wordpress.org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/ |
|
|
Its not that. I have tried it on the default wordpress themes and still doesn’t work. Please advise. We need this fixed. |
Do you get the cannot modify header warnings with the default theme active? |
|
|
otice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use Warning: Cannot modify header information – headers already sent by (output started at /home/matthud/public_html/wp-includes/functions.php:3457) in /home/matthud/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Front_Controller.core.php on line 112 Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/matthud/public_html/wp-includes/functions.php:3457) in /home/matthud/public_html/wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php on line 398 What I see on default WP theme install. |
This means there’s a plugin that’s throwing the deprecated notice when it registers its widget. To fix, you can update that plugin so it’s using the supported Widget constructor. If you do not update/fix the plugin, it may work to force disable the error display by adding this to the wp-config.php file:
|
|
|
Josh, How does this effect it? I basically need the checkout working and at present it doesn’t work if EE is enabled. |
Here’s some basic info on the Headers already sent warning problem: On your site, the “Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0!” is triggering the headers already sent warnings. It’s a domino effect, where Event Espresso is one of the dominos in the middle. Here’s a quick video that shows a plugin that has the deprecated widget code, its effect on WooCommerce checkout, and how to update the widget plugin code to fix the issue: |
|
The support post ‘Event Espresso Messing up WooCommerce’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.