May 7, 2020 at 6:55 pm #1210794
We currently have two sites using both the enfold theme along with the Woocommerce shop as well as the plugin to connect the shop using Braintree plugin. Both sites when activating the Braintree plugin crash the site and we receive the “critical error on your website” notice and the sites go down.
Enfold is one of the common denominators therefore we wanted to reach out to see if you have any thoughts or fixes that involve the Enfold Theme
Thanks for your feedback
PaulMay 7, 2020 at 11:33 pm #1210827
Hey So Evolve,
Are you referring on this plugin: https://wordpress.org/plugins/wp-braintree/ ?
Also try to access your site via FTP or Cpanel and if there’s an error_log file (usually in public_html folder).
Open it and see the latest errors.
If there’s no error_log file, can you try to enable debugging: https://wordpress.org/support/article/debugging-in-wordpress/#example-wp-config-php-for-debugging
Access your site via FTP or Cpanel and go to wp-config.php file find:
define( 'WP_DEBUG', false);
and replace with:
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false );
try to trigger the error by opening your site.
And check wp-content > debug.log
That should give us information on the error.
NikkoMay 8, 2020 at 6:12 pm #1211112
We are setting up the debug on the cPanels for both sites:
The problems came due to updates:
updating from Woocommerce 3.9.3 to current version 4.1.0
WooCommerce PayPal Powered by Braintree Gateway 2.3.10
Any additional info you have or if you hear of others experiencing these issues we would appreciate any updates.
cheersMay 8, 2020 at 6:38 pm #1211125
Hi So Evolve,
I tried to check in the forum if there are issues related to WooCommerce PayPal Powered by Braintree Gateway or just a mention of it but I could not find one.
Meanwhile, Woocommerce is really popular and I have an install that uses WP 5.4.1, Enfold 4.7.4, Woocommerce 4.1.0, and PHP version 7.3 and it seems to work well without any issues.
Can you give us the error_log or the content of debug.log file?
NikkoMay 9, 2020 at 8:04 pm #1211488May 9, 2020 at 9:00 pm #1211497
You can upload it in https://uploadfiles.io/ or any online file sharing site then post the link here (or in private content)
NikkoMay 9, 2020 at 9:24 pm #1211506May 9, 2020 at 11:12 pm #1211530
Thanks for that, the error listed is this one:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 15728672 bytes) in /public_html/wp-includes/wp-db.php on line 1390
It seems that the memory your site is using is more than what’s it allocated that’s why it fails.
To fix it, please do the following recommendation: https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/
NikkoMay 10, 2020 at 7:01 pm #1211691May 11, 2020 at 7:41 am #1211758
You must be logged in to reply to this topic.