- Flatsome UX Builder?
- How To Enable ActiveCampaign With CartFlows?
- How to Enable Paypal Reference Transactions?
- How Does Paypal/Stripe Work in the Case of Cartflows?
- How to Enable Enfold Avia Layout Builder in CartFlows Steps?
- How to Setup Authorize.net Gateway for the Cartflows Upsell & Downsell?
- List of all the Supported Payment Gateways by CartFlows
- How to Setup A/B Testing with Google Optimize for CartFlows?
- How to Set Quantity and Discount for Product on the Checkout Page.
- How to Add the Custom Support of any Payment Gateway for One-Click Upsell & Downsell in the CartFlows?
- How To Use CartFlows With Your Own Template?
- How To Use CartFlows With Beaver Builder?
- How To Use CartFlows With Thrive Architect?
- How to Hide Checkout Fields from the Checkout Page?
- Global Checkout
- How To Use WooCommerce?
- How To Install WooCommerce?
- General Settings Overview
- How To Use Your Themes Header & Footer In A Step?
- How To Embed A Checkout Form on the CartFlows Checkout page?
- How to Enable Webhooks in WooCommerce Cart Abandonment Recovery Plugin?
- Shortcode Reference for Email Fields in Cart Abandonment
- Filters to Customize Product Table
- Cart Recovery Emails not Sending [Cart Abandonment]
- Abandoned Orders Not Capturing [Cart Abandonment]
- How to Resolve the Recovery Email Going to Spam?
- Cart Abandonment Cookies/GDPR Compliance
- Configuring WooCommerce Cart Abandonment Recovery Settings
- Flow In Test Mode
- How to Troubleshoot a Conflict with the Plugin & Theme?
- How to Solve the Never-Ending Loading Issue on the Checkout Page?
- How to Solve the “Order Not Found” Error Message on the Thank You Page?
- How to resolve “Checkout ID not Found” Error message?
- How to Resolve “Session Expired” Error message?
- How to Resolve “Order Does not Exist Error” on Upsell & Downsell Page?
- How to Resolve “Sorry this product cannot be purchased” Error Message?
- How to Resolve “No product is selected…” error message?
- What to Do if the Order Status is Stuck at MainOrderAccepted?
- What is the “Your Cart is Empty” Error Message?
- How to Resolve “The Following Required Query String Data is Missing: Instance” Error Message?
- How to Resolve Page Not Found Message on CartFlows Checkout Page During the Payment?
- How to Resolve Checkout Page Getting Redirected to Home Page of Your Website?
- Why is the Upsell/Downsell not Working or it is Getting Skipped?
- How to Enable the CartFlows Step Post Types for the Page Builders?
- Elementor Error: The Content Area Was Not Found in Your Page
- How to Refresh / Flush WordPress Permalinks?
- Request Timeout Error while Importing the Flow/Step Templates.
- How to Resolve “Cannot Activate API Key. Key Already Activated with the same Instance ID” Error Message?
- How to View the CartFlows logs
- How to Fix 5XX Error While Importing Flow/Step Templates?
- How to Turn Off the Auto-fill of Address Fields on Entering Zip-Code?
- How to Enable the Theme’s Scripts & Styles without Changing the Page Template?
- How to Turn Off the Auto-fill of Checkout Fields?
- How to Allow Cache Plugins to Cache the CartFlows Pages?
- How to Change the “Choose A variation” text?
- VAT Field of WooCommerce EU/UK VAT Compliance (Premium) plugin is not displaying.
- How to enable the product tab on store checkout
- How to show the order summary open on mobile devices
How to Fix 5XX Error While Importing Flow/Step Templates?
If you are importing the ready-made templates of Flow OR a Step and getting an error message? Then this article will help you to solve it.
Are you getting an error similar to the following OR having 5XX (500. 501, 502, 503, etc)
Error: 500 Allowed memory size of XXXXXXXX bytes exhausted (tried to allocate XXXXX bytes)
This error can be seen on the error notification popup or in the debug.log file.
This can happen if any of the following is true:
- There is an issue with plugins on the site (Plugin conflicts / PHP error)
- There is an issue with the hosting (Resources such as old PHP version / exhausted resources)
Let’s take a look at how this can be fixed:
Step 1: Avoid Conflicts
Deactivate all plugins except CartFlows, CartFlows PRO, and WooCommerce to get rid of any possible issues with other plugins. And try importing the template again.
Did it work? Awesome!
If not, let’s continue to the next step:
Step 2: Check WP Debug Log
Enable WordPress debugging mode by installing the WP Debugging plugin and try importing a ready-made template. This plugin will provide log files to get an idea of what might be causing the issue.
Still no luck? Let’s move on.
Step 3: Update the PHP Version
WordPress works with PHP versions as old as PHP 5.6. However, all PHP versions before PHP 7.3 are end-of-life (EOL), meaning they no longer receive updates. Because of this, your site may be exposed to security vulnerabilities.
Moreover, old PHP versions slow down the website and cause other issues.
To check the PHP version of your website, follow below few steps:
- Step 1: Navigate to the tools menu of WordPress
- Step 2: Click on the Site Health menu
- Step 3: Click on the Server tab.
We recommend getting on the latest possible PHP version, or at least 7.3.
Step 4: Increase Resources Set by Host
In many cases, the template import can fail because of the limits set by the server’s PHP configuration.
Your website needs a certain amount of resources to function properly. Depending on the activities on your website and all the plugins running, there may be just not enough resources left for the successful template import. In this case, we would suggest modifying your PHP configuration to the following recommended values (values are approximate):
memory_limit = 512M
max_execution_time = 900
max_input_time = 900
post_max_size = 256M
upload_max_filesize = 720M
These settings will ensure that there are enough resources on your website, even if you’re, for example, running some highly demanding plugins. Thus, you can also try increasing your values gradually and checking if you can import your template successfully with those settings.
For many non-techie users, this might feel daunting, and checking the log files process will differ from host to host. So it is always better to get it done by someone who knows it well.
So feel free to get in touch with your hosting company, and they will be happy to do it for you.
Here is an email that you can send:
Hello,
I’m trying to import a CartFlows ready-made flow/step template from the plugin: https://wordpress.org/plugins/cartflows/.
It appears that my website is getting a 500 – Internal Server Error. Is it possible for you to:
1) Enable WordPress debugging mode
2) Check the log files
3) Share the file with me?
Also the plugin documentation mentioned recommended PHP configuration to be used. Could you please apply the following values for my website:
PHP Version: 7.3 or latest possible
memory_limit = 512M
max_execution_time = 900
max_input_time = 900
post_max_size = 256M
upload_max_filesize = 720M
Can you help me with this?
Thanks in advance.
Still no luck? Please feel free to get in touch with our support, and we will be happy to take a look.
We don't respond to the article feedback, we use it to improve our support content.