Skip Navigation

[Resolved] Activating WooCommerce after Toolset Forms Commerce causes fatal error

This thread is resolved. Here is a description of the problem and solution.

Problem:
I am having an issue with setting up Toolset Forms, Forms Commerce, and WooCommerce to turn my directory into a paid directory. When WooCommerce is activated along with Toolset plugins, it causes a fatal error when trying to create new posts in the WP Dashboard.

Solution:
Enable WordPress debug mode by editing the "wp-config.php" file and adding the following lines: define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', true);. This helps identify the error, which was resolved by increasing the server memory limit through hosting support.

Relevant Documentation:
https://wpml.org/documentation/support/debugging-wpml/

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 7 months, 1 week ago.

Assisted by: Christopher Amirian.

Author
Posts
#2704750

I am trying to: I am trying to set up Toolset Forms, Forms Commerce, WooCommerce, etc so I can turn my directory into a paid directory. I set up my site and directory without Toolset Forms and everything works as I want, so I started to implement the setup for the Forms and Commerce to make it paid. I added the Toolset Forms plugin then Forms Commerce and then started a user form. During setup I saw you must use WooCommerce so I added WooCommerce, but when it is activated with only Toolset plugins, then it is causing a fatal error.

Link to a page where the issue can be seen:
In the WP Dashboard when trying to create a new posts I receive a "fatal error screen"

I expected to see:
The normal New Post screen (this is affecting trying to create any new post type it seems, not just "posts")

Instead, I got:
Wordpress "fatal error" screen

#2704807

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

I entered the website and created a new post with no issues.

I also tried the same thing you mentioned in a clean installation nad it is working ok:

hidden link

Please give me the exact steps to take to see ethe error?

Also as you see critical errors you should enable the debug mode of WordPress to see the error under the hood:

Would you please access your website files and edit the "wp-config.php" file on the root folder of your WordPress installation and add the code below into the file:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );

Please add the code above the line below:

/* That's all, stop editing! Happy blogging. */

For more information:
https://wpml.org/documentation/support/debugging-wpml/

Thanks.

#2704863

Hi Christopher, after turning on the wp_debug I was able to see the error was the server memory so I followed up with my hosting who resolved the issue. Thank you for your time!