- Google Address Autocomplete
- Flatsome UX Builder
- ActiveCampaign
- Paypal Reference Transactions
- How PaypPal/Stripe Works
- Enabling Enfold Avia Layout Builder
- Setting Up Authorize.net for Upsell & Downsell
- Supported Payment Gateways
- Setting Up A/B Testing with Google Optimize
- Setting Quantity and Discount for Products on the Checkout Page
- Using CartFlows with Custom Templates
- Using CartFlows with Beaver Builder
- Hiding Checkout Fields on the Checkout Page
- Global Checkout
- Using WooCommerce
- Installing WooCommerce
- General Settings Overview
- Using Your Theme's Header & Footer in a Step
- Embedding a Checkout Form on the CartFlows Checkout Page
- Hiding WooCommerce Pages and Products
- Dynamic Offers aka Rule Engine
- Instant Layout for Checkout and Thank You Step
- Adding Products from the URL to the Checkout Page
- Setting Up A/B Testing for Steps
- Deleting Plugin Data During Uninstallation
- Importing Ready-Made Templates for Flows and Steps
- Importing and Exporting Funnels and Individual Page Builder Templates
- URL Parameters
- Replacing the Main Checkout Order with an Upsell or Downsell
- Using the "Order Custom Field" Rule of Dynamic Offers with Custom Field Editor
- Flow in Test Mode
- Troubleshooting Plugin and Theme Conflicts
- Resolving the "Please Select a Simple, Virtual, and Free Product" Error
- Resolving the Endless Loading Issue on Checkout
- Resolving the "Order Not Found" Error on Thank You Page
- Resolving the "Checkout ID Not Found" Error
- Resolving the "Session Expired" Error
- Resolving "Order Does Not Exist" Error on Upsell/Downsell Page
- Resolving "Sorry, This Product Cannot Be Purchased" Error
- Resolving "No Product is Selected" Error
- Fixing Order Status Stuck at MainOrderAccepted
- Understanding the "Your Cart Is Empty" Error
- Resolving "Required Query String Data Is Missing: Instance" Error
- Resolving "Page Not Found" on CartFlows Checkout During Payment
- Resolving Checkout Page Redirection to Homepage
- Why Upsell/Downsell is Not Working or Being Skipped
- Enabling CartFlows Step Post Types for Page Builders
- Elementor Error: “Sorry, the content area was not found in your page”
- Refreshing/Flushing WordPress Permalinks
- Request Timeout Error when Importing Flow/Step Templates
- Resolving "API Key Already Activated with Same Instance ID" Error
- Viewing CartFlows Logs
- Fixing 5XX Error When Importing Flow/Step Templates
- Fixing Blank Page Issue When Importing CartFlows Elementor Templates
- Disabling Auto-fill of Address Fields Based on Zip Code
- Enabling Theme's Scripts & Styles Without Changing Page Template
- Disabling Auto-fill of Checkout Fields
- Allowing Cache Plugins to Cache CartFlows Pages
- Changing the "Choose a Variation" Text
- VAT Field Not Displaying for WooCommerce EU/UK VAT Compliance Plugin
- Enabling the Product Tab on Store Checkout
- Displaying 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.