We’re sorry. The demo failed to finish importing

I’m trying to import expanded demo content “Bed and Breakfast” but it seems that an error occurs.
already read the Guide here https://theme.co/apex/forum/t/setup-demo-content/56
and increase my memory limit to 512mb but still could not import them.

Please advice

Hi There,

Thank you for writing in, please confirm that you have the latest version of the Theme and Cornerstone (refer here for the latest compatible versions).

Also, try increasing your site PHP Max Script Execute Time to 300

Hope it helps,

i have increased the Executime to 300. but still have the same error.


Please try adding the code below in your wp-config.php file located at the root directory of your site.

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

You may add it before this line

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

If that doesn’t help, please provide us your ftp login in Secure Note


Added the codes as per above. still could not install the “Bed and Breakfast” demo content. Please help


As requested from previous post, please provide us your FTP login in Secure Note so we can further investigate.


FTP login info as per above.

Hi there,

The FTP is pointing to an empty folder, can’t check anything there. And sometimes, there is no way you can configure the timeout especially the environment (host) won’t allow it. The other way is editing the code to enforce it,

Please edit these files through FTP or your hosting’s File Manager

\wp-content\themes\x\framework\functions\global\admin\addons\demo\legacy\ajax-handler.php \wp-content\themes\x\framework\functions\global\admin\addons\demo\class-x-demo-import-session.php

Then go to line 139 and 39 and you should see wp_remote_get() function. Edit those line and add more timeout in seconds, example, let’s add 15seconds, then

wp_remote_get( ..........., array( 'timeout' => 15 ) )

The result should be like these

$request = wp_remote_get( $_POST['demo'], array( 'timeout' => 15 ) ); for line 39
$request = wp_remote_get( $demo_url, array( 'timeout' => 15 ) ); for line 139

Increase the timeout whenever you like until the import works.


1 Like

Could you try again to access the ftp.

Hello There,

We have logged in to your site and made necessary changes. We also imported the “Bed and Breakfast” demo content already.

Please check your site now.

1 Like

Hi, actually we have imported the demo content successfully after following the instructions from @Rad

Glad to know it works now.

Have a nice day!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.