Hello;
I’m using the OCDI plugin to import demo for my theme that I developed, but I’m facing 2 issues:
1-When I import demo the first time, some menus and widgets doesn’t appear till I import the demo for the second time.
2-The pages are well imported, but they are not linked on advanced section of WooCommerce, I mean the cart page is imported but when I go to advanced section in WooCommerce, I find that the cart page is not mentionned there.
How can I fixe this 2 issues, please?
Regards.
Amine.
]]>Import Failed
Whoops, there was a problem importing your content.
An error occurred while fetching file from: https://codings.dev/package/demo-data/leverage/All-Elementor.xml!
Reason: 403 – Forbidden.
I’m experiencing issues with the One-Click Demo Import plugin when using it in conjunction with Elementor. Specifically:
Constant error 500 importing the theme “sport” from Loobek, after editing the functions.php from the file loobek, with the codes placed on https://ocdi.com/import-issues/ , i also increased the number for “return” on the first code.
I still couldn’t resolve the problem.
I downloaded the debug file but i couldn’t find the error with OCDI.
(i don’t have any experience on coding)
]]>hi,
The update process is starting. This process may take a while on some hosts, so please be patient.Updating Plugin One Click Demo Import (1/1)
Downloading update from https://downloads.www.ads-software.com/plugin/one-click-demo-import.3.3.0.zip…
Unpacking the update…
Installing the latest version…
Plugin update failed.
An error occurred while updating One Click Demo Import: Could not move the old version to the upgrade-temp-backup directory.
]]>I am getting the error below on my server PHP version 8.3+ when on the demo demo page wp-admin/admin.php?page=one-click-demo-import
Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in?\wp-includes\kses.php?on line?1805
]]>When trying to import the demo files of the NOVO theme via the OCDI plugin the import fails immediately. I already followed the instructions on the support page, increased the values in the PHP config and added the recommended lines in the functions.php of the theme. The debug file looks as follows:
[08-Sep-2024 10:10:40 UTC] PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/envato-market/inc/class-envato-market-github.php:160
Stack trace: 0 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/envato-market/inc/class-envato-market-github.php(160): strpos(Array, ‘//api.wordpress…’) 1 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-hook.php(324): Envato_Market_Github->update_check(Array, Array) 2 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) 3 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-http.php(234): apply_filters(‘http_request_ar…’, Array, Array) 4 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-http.php(638): WP_Http->request(Array, Array) 5 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/http.php(184): WP_Http->get(Array, Array) 6 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/Downloader.php(63): wp_remote_get(Array, Array) 7 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/Downloader.php(36): OCDI\Downloader->get_content_from_url(Array) 8 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/Helpers.php(84): OCDI\Downloader->download_file(Array, ‘demo-content-im…’) 9 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/OneClickDemoImport.php(330): OCDI\Helpers::download_import_files(Array) 10 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-hook.php(324): OCDI\OneClickDemoImport->import_demo_data_ajax_callback(”) 11 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 12 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 13 /var/www/vhosts/strzelecki.de/httpdocs/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_ocdi_im…’) 14 {main}
thrown in /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/envato-market/inc/class-envato-market-github.php on line 160
Can anyone help?
]]>Hi there,
when trying to import the demo data of the NOVO theme the import fails immediately returning an error 500. The error is shown in the box of the importer.
My debug.log writes as follows:
[06-Sep-2024 11:47:25 UTC] PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/envato-market/inc/class-envato-market-github.php:160
Stack trace: 0 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/envato-market/inc/class-envato-market-github.php(160): strpos(Array, ‘//api.wordpress…’) 1 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-hook.php(324): Envato_Market_Github->update_check(Array, Array) 2 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) 3 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-http.php(234): apply_filters(‘http_request_ar…’, Array, Array) 4 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-http.php(638): WP_Http->request(Array, Array) 5 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/http.php(184): WP_Http->get(Array, Array) 6 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/Downloader.php(63): wp_remote_get(Array, Array) 7 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/Downloader.php(36): OCDI\Downloader->get_content_from_url(Array) 8 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/Helpers.php(84): OCDI\Downloader->download_file(Array, ‘demo-content-im…’) 9 /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/one-click-demo-import/inc/OneClickDemoImport.php(330): OCDI\Helpers::download_import_files(Array) 10 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-hook.php(324): OCDI\OneClickDemoImport->import_demo_data_ajax_callback(”) 11 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 12 /var/www/vhosts/strzelecki.de/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 13 /var/www/vhosts/strzelecki.de/httpdocs/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_ocdi_im…’) 14 {main}
thrown in /var/www/vhosts/strzelecki.de/httpdocs/wp-content/plugins/envato-market/inc/class-envato-market-github.php on line 160
It seems a string is expected but an array is given. There’re two plugins involved in this issue, Envato and the One-Click Demo Import.
Who can help?
Thank you.
Best,
-Sebastian
]]>I want to import the demo data for the “Blazin Demo Import”. I am using WordPress 6.6.1 | PHP 8.2.18 | Apache | MySQL 8.0.35 and I get the following error trying to import the data:
[31-Aug-2024 14:49:45 UTC] PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-content/plugins/one-click-demo-import/inc/ImportActions.php:46
Stack trace: 0 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-content/plugins/one-click-demo-import/inc/ImportActions.php(46): array_key_exists(‘nav_menu’, ‘default’) 1 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-includes/class-wp-hook.php(324): OCDI\ImportActions->fix_custom_menu_widget_ids(‘default’) 2 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘default’, Array) 3 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-content/plugins/one-click-demo-import/inc/Helpers.php(686): apply_filters(‘ocdi/widget_set…’, ‘default’) 4 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-content/plugins/one-click-demo-import/inc/WidgetImporter.php(196): OCDI\Helpers::apply_filters(‘ocdi/widget_set…’, ‘default’) 5 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-content/plugins/one-click-demo-import/inc/WidgetImporter.php(74): OCDI\WidgetImporter::import_data(Object(stdClass)) 6 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-content/plugins/one-click-demo-import/inc/WidgetImporter.php(26): OCDI\WidgetImporter::import_widgets(‘/data/web/1/000…’) 7 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-content/plugins/one-click-demo-import/inc/ImportActions.php(71): OCDI\WidgetImporter::import(‘/data/web/1/000…’) 8 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-includes/class-wp-hook.php(324): OCDI\ImportActions->widgets_import(Array, Array, 0) 9 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 10 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 11 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-content/plugins/one-click-demo-import/inc/Helpers.php(714): do_action(‘ocdi/after_cont…’, Array, Array, 0) 12 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-content/plugins/one-click-demo-import/inc/OneClickDemoImport.php(389): OCDI\Helpers::do_action(‘ocdi/after_cont…’, Array, Array, 0) 13 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-includes/class-wp-hook.php(324): OCDI\OneClickDemoImport->import_demo_data_ajax_callback(”) 14 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 15 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 16 /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_ocdi_im…’) 17 {main}
thrown in /data/web/1/000/029/466/83503/htdocs/schreibkollegen/wordpress/wp-content/plugins/one-click-demo-import/inc/ImportActions.php on line 46
Could this be a PHP related error which needs to be fixed in the plugin?
I am using Version 3.2.1 of the demo import plugin.
Best,
Fabian
How can I export elementor global colors and Import using One Click Demo Importer?
]]>I get the 500 error.
It happens very quickly in the process (after less than half a minute).
Details: The content gets imported but media doesn’t. As if the process breaks on media.
The “cheap hosting” in the documentation isn’t helpful as I’m not on a cheap hosting (tested on localhost and two separate hostings I’ve used for years), I’ve used OCDI before and had no issues (other than the yellow warning for empty strings on previous plugin versions) and the demo data itself is relatively small test data with 4 pages, 4 posts and 12 products.
When I try WordPress’s own Import tool to import media it works fine.
Several repeated demo import attempts fail almost instantly (as if it flies over the already imported content, hits the media phase and fails).
]]>Hello, I have been trying for two hours to get the .xml and .dat files sent to me by the Weeland theme developer (ThemeForest) to upload. I managed to get the widgets file to upload, but I get two separate errors for the .xml and .dat: Error 524 for the .xml import and 403 for the .dat file. Initially, I tried to upload all three at once. Tried that several times before trying them singly. I did go into my php.ini file and increase upload max size just to be on the safe side, so it’s not that. Any advice?
]]>Hello,
When I import demo data using the OCDI plugin, all media files are being loaded from the theme’s original server, where the XML file was exported, rather than from my own server where I imported the demo data. How can I resolve this issue?
]]>Hi,
I would like to import the Slider Revolution demo templates along with the Theme demos. Is it possible with the OCDI? I’ve tried the following way, but it’s not working:
function ocdi_after_import_setup() {
$slider_files = array(
THEME_REMOTE_CONTENT . '/slider_templates/three.zip',
THEME_REMOTE_CONTENT . '/slider_templates/slider-2.zip',
THEME_REMOTE_CONTENT . '/slider_templates/slider-21.zip'
);
if ( class_exists( 'RevSlider' ) ) {
$slider = new RevSlider();
foreach ( $slider_files as $slider_file ) {
$slider->importSliderFromPost( true, true, $slider_file );
}
}
}
add_action( 'ocdi/after_import', 'ocdi_after_import_setup' );
Any advice would be appreciated.
Thanks!
]]>I tied several times to install and uninstall the plugin, but on each occasion either I do remove it or even disabled it I do get a permanent following WARNING MESSAGE in the dashboard:
UnfoldWP Import Companion is not effective. Please install & activate One click Demo Import plugin first.
Any suggestion to remove that message. Thanks in advance
I get an error anytime I try to import demo. All the time in both websites using different themes. Kindly assist
Whoops, there was a problem importing your content.
Error: Not Found (404)
]]>After I installed the plugin and activated it, it doesn’t show up in the Appearance
]]>Hi, I can’t import the demo content of my theme… I contacted my host and the author of the theme, and they couldn’t help me. Here are the logs I get:
PHP Fatal error: Uncaught TypeError: str_starts_with(): Argument #1 ($haystack) must be of type string, array given in /home/waleedh1/hinspiration.fr/wp-includes/kses.php:1709
Stack trace:
#0 /home/waleedh1/hinspiration.fr/wp-includes/kses.php(1709): str_starts_with(Array, 'https://')
#1 /home/waleedh1/hinspiration.fr/wp-includes/class-wp-http.php(269): wp_kses_bad_protocol(Array, Array)
#2 /home/waleedh1/hinspiration.fr/wp-includes/class-wp-http.php(637): WP_Http->request(Array, Array)
#3 /home/waleedh1/hinspiration.fr/wp-includes/http.php(168): WP_Http->get(Array, Array)
#4 /home/waleedh1/hinspiration.fr/wp-content/plugins/one-click-demo-import/inc/Downloader.php(65): wp_remote_get(Array, Array)
#5 /home/waleedh1/hinspiration.fr/wp-content/plugins/one-click-demo-import/inc/Downloader.php(36): OCDI\Downloader->get_content_from_url(Array)
#6 /home/waleedh1/hinspiration.fr/wp-content/plugins/one-click-demo-import/inc/Helpers.php(84): OCDI\Downloader->download_file(Array, 'demo-content-im...')
#7 /home/waleedh1/hinspiration.fr/wp-content/plugins/one-click-demo-import/inc/OneClickDemoImport.php(330): OCDI\Helpers::download_import_files(Array)
#8 /home/waleedh1/hinspiration.fr/wp-includes/class-wp-hook.php(324): OCDI\OneClickDemoImport->import_demo_data_ajax_callback('')
#9 /home/waleedh1/hinspiration.fr/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#10 /home/waleedh1/hinspiration.fr/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#11 /home/waleedh1/hinspiration.fr/wp-admin/admin-ajax.php(192): do_action('wp_ajax_ocdi_im...')
#12 {main} thrown in /home/waleedh1/hinspiration.fr/wp-includes/kses.php on line 1709
I tried to build a new site locally just in case, it doesn’t work either. Hope someone can help me, thanks in advance!
]]>I plan to create importable sites constructed with a main theme’s child theme that will also contain external styles and JS scripts together with a customized functions.php file and other included PHP files. Will the OCDI plugin allow me to do so and what’s the process?
]]>Hi dear,
I am using Glint theme. I can’t import demo data by one click or manually. It’s show Error: error (0). Can you please help me to solve this issue?
]]>No customization has been made to this plugin. On the local server it imports demo data in 7 Minutes, whereas on the hosting server it crashes in 8 Seconds with demo data imported such as titles and content but not featured images, it says import failed without error details, the crash screenshot url is as follows:
The same has been done for another theme which has customized this plugin according to their needs and it imports demo data on the local server in 23 Minutes and it also imports demo data on the same hosting server as above in 3 Minutes.
]]>Hi Support.,
I am encountering a problem with importing Elementor toolkit files without using Elementor’s “Tools” > “Import” feature. Is there a method available to integrate Elementor toolkit files with the one-click demo import plugin?
Method 1: I attempted to update the Elementor instance settings, but the data did not reflect the changes. I’ve attached a screenshot for reference:?https://prnt.sc/N1HDKozaq1Nr.
Method 2: I tried activating the kit using the update option method, but the changes were not reflected. Here’s a screenshot for reference:?https://prnt.sc/-azU_DnKWhZG.
Method 3: I also tried updating the kit data as a new entry in the database using the insert option method, but the changes didn’t show up.
Kindly let us know which method is suitable for importing Elementor kit data without the Elementor tool, or suggest some other method to implement this process.
]]>Hello! When I go to activate the plugin, I get an error message that says plugin could not be activate as it triggered a fatal error. What should I do to fix this?
]]>Hi. Something is wrong. I run the import, its working for few minutes then “Whoops, there was a problem importing your content.” and it just shows 0 where the error woudl be.
I am on a dedicated server and I have set all the following:
Screenshot: https://imgur.com/a/knT3EkF
]]>I have a multisite network and my sign-up form includes a choice of template. This plugin works perfectly when used manually, but I want to trigger it programmatically. I see there is WP-CLI functionality but I can’t see how that would work for a multisite subsite. Is there a function I can call to start an import?
]]>Hi Support.,
Great day and hope you’re doing well. I’ve installed and activated the plugin on my site. After importing the xml file content the demo content is not loading fine and it shows only unit test post page contents. Could you please let me know is that any other way to export / import the wordpress theme demo content. Else this plugin will work only on your own theme?
Hope I’m clear with above explanation. If my query is not cleared let me know I’ll add some screenshots of my issues here.
Thanks!!
]]>Great plugin, and love the reliability and simplicity.
We have tested with a custom block theme using site editor. It works great for layouts / designs that havent had any settings in the theme changed, like default colours and default fonts etc. But if we change the defaults colours and fonts, they do not get imported.
I originally thought that it was that the info wasnt in the original xml file, but it appears that it is.
I guess what im asking is, Is there anything on the roadmap for supporting block themes?
]]>Hi there,
When I initiate the import, I receive a 500 error. Here’s the error message I get: ‘PHP Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in wp-content/plugins/one-click-demo-import/vendor/awesomemotive/wp-content-importer-v2/src/WXRImporter.php:1906’. When I commented out this code [link] the import succeeded. I think this line in my demo content xml file is causing the error [link]. Please fix this in the next release.
]]>Trying to use One Click Demo Import with a Hermes Theme set up for the plugin. Keep getting “Failed to Open Page” error with “This may occur if you’re trying to open a page that is trying to open another page which then is redirected to open the previous page.”
Is it possible that the fact that I’m building this inside WP Staging Pro that might be contributing to this circular problem? Or is it something else?
]]>I am trying to import wp forms using OCDI plugin but after lot of hardwork I have not get any solution. Please let me now how I can import wpforms data with prebuilded forms using OCDI?
]]>