How to fix demo import error in marketo theme?

If you are uploading demo content to your Marketo theme or any other theme which has the same error. When you upload the file it keeps on-going and after a while, it displays a message mentioned in the below figure.

image of execution error in wordpress
Error Screenshot

There are two ways to fix the following issue.

1) Changing PHP.ini file values with File Manager

To change these setting either contact your web hosting or if you have some knowledge about cpanel or your web hosting control panel follow the simple steps.

  1. Login to Cpanel/Control Panel.
  2. Find File Manager in the Dashboard and open it.
  3. Search for PHP.ini and right click on it.
  4. Select Edit
  5. And replace the following lines below.
set max_execution_time = 600
set memory_limit = 256M
set post_max_size = 32M
set upload_max_filesize = 32M
set max_input_vars = 2000

Changing PHP.ini file values with WordPress Plugin

To change PHP.ini file values using a WordPress plugin follow the simple steps below:

    1. Download WordPress Plugin from here.
    2. Install the plugin and activate it.
    3. Then Navigate to Tools > PHP Settings
    4. After above step go to <> Editor and simply add the values.
    5. Click Save Setting.

Screen Shot of PHP INI Settings

To view PHP Values > Go to setting on the top bar in Tools > PHP Setting on WordPress Dashboard.

 

If you are still facing the issues try resetting your WordPress website and re-installed WordPress on your website hosting.

Feel free to contact us hopefully we will further assist you.