wordpress保护主题安装错误

pobjuy32  于 2021-10-10  发布在  Java
关注(0)|答案(0)|浏览(200)

有人知道我如何解决这个问题吗?

2021-07-27T09:02:51+00:00 CRITICAL Uncaught Error: Call to undefined function wpcf_admin_import_data() in C:\xampp\htdocs\wordpress\wp-content\plugins\SecretLabInstaller\SecretLabInstaller.php:358
Stack trace:

# 0 C:\xampp\htdocs\wordpress\wp-content\plugins\SecretLabInstaller\SecretLabInstaller.php(226): SL_Installer->set_types()

# 1 C:\xampp\htdocs\wordpress\wp-content\plugins\SecretLabInstaller\SecretLabInstaller.php(241): secret_setup->run()

# 2 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(303): guard_theme_setup('')

# 3 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters('', Array)

# 4 C:\xampp\htdocs\wordpress\wp-includes\plugin.php(470): WP_Hook->do_action(Array)

# 5 C:\xampp\htdocs\wordpress\wp-admin\admin-ajax.php(187): do_action('wp_ajax_setup_t...')

# 6 {main}

  thrown in C:\xampp\htdocs\wordpress\wp-content\plugins\SecretLabInstaller\SecretLabInstaller.php on line 358

下面是一段代码

$data = $wp_filesystem->get_contents( get_template_directory() . '/import/types_plugin_settings.xml' );
wpcf_admin_import_data( $data, false, 'types-auto-import' );

echo '___<p><b>'.esc_attr__( 'Types Plugin Settings imported', 'the-seo' ).'</b></p>___';

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题