|
/ Documentation /Troubleshooting/ How to Fix 5XX Error While Importing Flow/Step Templates?

How to Fix 5XX Error While Importing Flow/Step Templates?

If you’re trying to import a ready-made funnel or step template in CartFlows and encounter a 5XX error (such as 500, 501, 502, or 503), this documentation will help you troubleshoot and resolve the issue.

A common error message might look like:

Error: Allowed memory size of X bytes exhausted (tried to allocate X bytes)

Why This Happens

This error typically occurs due to one or more of the following reasons:

  • Plugin conflicts or PHP errors on your site
  • Server limitations or outdated PHP versions
  • Insufficient resources configured in your hosting environment

Below are several points you can follow to fix this issue.

1. Avoid Plugin Conflicts

Temporarily deactivate all plugins except CartFlows, CartFlows Pro, and WooCommerce.

Then try importing the template again.

  • If it works: one of the other plugins is likely causing a conflict.
  • If it doesn’t: move on to the next point.

2. Enable Debug Mode to Check for Errors

Enable WordPress debugging using the WP Debugging plugin. After activating it, try importing a template again. This will create or update your debug.log file so you can check for specific PHP errors.

Still not working? Continue below.

3. Update Your PHP Version

Using an outdated PHP version can lead to performance issues and 5XX errors.

We recommend using PHP 7.3 or higher.

To check your PHP version:

  1. Go to Tools > Site Health in your WordPress admin.
  2. Click the Info tab > Server.
  3. Look for PHP version.
PHP Version

If you’re not using at least PHP 7.3, ask your hosting provider to update it for you.

4. Increase Hosting Resource Limits

If your server’s PHP configuration limits are too low, imports may fail. Updating the following PHP values may help:

memory_limit = 512M
max_execution_time = 900
max_input_time = 900
post_max_size = 256M
upload_max_filesize = 720M

If you’re unsure how to make these changes, contact your hosting provider.

Here’s an email you can send to your hosting provider:

Subject: Help with PHP Configuration for CartFlows Template Import

Hello,

I’m trying to import a CartFlows ready-made funnel or step template and I’m receiving a 5XX error.

Could you please:

1. Enable WordPress debug mode
2. Check the error logs
3. Share the log file with me?

Also, here are the recommended PHP configuration values:

* PHP Version: 7.3 or later
* memory_limit = 512M
* max_execution_time = 900
* max_input_time = 900
* post_max_size = 256M
* upload_max_filesize = 720M

I’d appreciate your help. Thanks!

Still Need Help?

If you’re still experiencing issues, feel free to reach out to our support team. We’re happy to help!

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page
Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Free Cartflows Form - Popup

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.