Hello,
I am trying to import the demo for the SimClick Pro theme with the Catch Themes Demo Import plugin. Whenever I click Import it runs for several seconds and then gives: Error: Not Found (404).
The SimClick Pro theme has been purchase, installed, and activated.
Wordpress 5.7.2
Catch Themes Demo Import 1.4.9
PHP 7.2 (Highest supported by hosting service)
Other plugins should be up to date.
Thank you!
]]>I bought Bold Photography pro from catch themes which ships with this plugin on board. Everytime I try to run it it crashes my site. I have raised the problem with my hosts and they say – the full ERROR MESSAGE is at the bottom of this message.
It seems this plugin is throwing a Fatal Error on the site. I’ve tested it on a clone and deactivating the plugin immediately brings the site up. I’ve checked if it could be a PHP version incompatibility but I’ve tested 7.2, 7.3, and 7.4 and none worked.
This is the error message that we see:
[22-Jun-2020 11:56:42 UTC] PHP Fatal error: Uncaught Error: Class ‘CatchThemes\WPContentImporter2\WPImporterLoggerCLI’ not found in /www/wp-content/plugins/catch-themes-demo-import/inc/Logger.php:10
Stack trace:
#0 /www/flywheel-config/plugins/flywheel/php-compatibility-checker/vendor/composer/ClassLoader.php(444): include()
#1 /www/flywheel-config/plugins/flywheel/php-compatibility-checker/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile(‘/www/wp-content…’)
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass(‘CTDI\\Logger’)
#3 /www/wp-content/plugins/catch-themes-demo-import/inc/CatchThemesDemoImport.php(548): spl_autoload_call(‘CTDI\\Logger’)
#4 /www/wp-includes/class-wp-hook.php(287): CTDI\CatchThemesDemoImport->setup_plugin_with_filter_data(”)
#5 /www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#6 /www/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#7 /www/wp-settings.php(521): do_action(‘after_setup_the…’)
#8 /www/wp-config.php(86): require_once(‘/www/wp-setting…’)
#9 /www/ in /www/wp-content/plugins/catch-themes-demo-import/inc/Logger.php on line 10
Can you please reach the plugin developers with the above error message to see if they have any suggestions?
Notice: Undefined index: CatchThemes\WPContentImporter2\ in /www/flywheel-config/plugins/flywheel/php-compatibility-checker/vendor/composer/ClassLoader.php on line 383 Fatal error: Uncaught Error: Class ‘CatchThemes\WPContentImporter2\WPImporterLoggerCLI’ not found in /www/wp-content/plugins/catch-themes-demo-import/inc/Logger.php:10 Stack trace: #0 /www/flywheel-config/plugins/flywheel/php-compatibility-checker/vendor/composer/ClassLoader.php(444): include() #1 /www/flywheel-config/plugins/flywheel/php-compatibility-checker/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile(‘/www/wp-content…’) #2 [internal function]: Composer\Autoload\ClassLoader->loadClass(‘CTDI\\Logger’) #3 /www/wp-content/plugins/catch-themes-demo-import/inc/CatchThemesDemoImport.php(548): spl_autoload_call(‘CTDI\\Logger’) #4 /www/wp-includes/class-wp-hook.php(287): CTDI\CatchThemesDemoImport->setup_plugin_with_filter_data(”) #5 /www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #6 /www/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /www/wp-settings.php(521): do_action(‘after_setup_the…’) #8 /www/wp-config.php(82): require_once(‘/www/wp-setting…’) #9 /www/ in /www/wp-content/plugins/catch-themes-demo-import/inc/Logger.php on line 10
There has been a critical error on your website. Please check your site admin email inbox for instructions.
Hi,
I have tested your plug-in, but i couldn’t able to see the predefined demos in the plug-in settings. i have followed your instruction.
function ctdi_import_files() {
return array(
array(
‘import_file_name’ => ‘Demo 1’,
‘local_import_file’ => trailingslashit( get_template_directory() ) . ‘demo/style1/demo1-content.xml’,
‘local_import_widget_file’ => trailingslashit( get_template_directory() ) . ‘demo/style1/demo1-widgets.wie’,
‘local_import_customizer_file’ => trailingslashit( get_template_directory() ) . ‘demo/style1/demo1-customizer.dat’,
‘import_preview_image_url’ => trailingslashit( get_template_directory_uri() ) . ‘demo/style1/style1_preview.png’,
‘import_notice’ => __( ‘After you import this demo’, ‘my-domin’ ),
‘preview_url’ => ‘https://mysite.com/demo1/’,
),
array(
‘import_file_name’ => ‘Demo 1’,
‘local_import_file’ => trailingslashit( get_template_directory() ) . ‘demo/style2/demo2-content.xml’,
‘local_import_widget_file’ => trailingslashit( get_template_directory() ) . ‘demo/style2/demo2-widgets.wie’,
‘local_import_customizer_file’ => trailingslashit( get_template_directory() ) . ‘demo/style2/demo2-customizer.dat’,
‘import_preview_image_url’ => trailingslashit( get_template_directory_uri() ) . ‘demo/style2/style2_preview.png’,
‘import_notice’ => __( ‘After you import this demo’, ‘my-domin’ ),
‘preview_url’ => ‘https://mysite.com/demo2/’,
),
);
}
add_filter( ‘cp-ctdi/import_files’, ‘ctdi_import_files’ );