致命错误:未捕获错误:调用未定义的方法stdClass :: option();

时间:2019-02-26 09:57:27

标签: php wordpress apache xampp

 **Fatal error: Uncaught Error: Call to undefined method stdClass::option() in
 C:\xampp\htdocs\newtest\wordpress\wp-content\plugins\theme_support_meson\includes\helpers\taxonomies.php:19
 Stack trace: #0
 C:\xampp\htdocs\newtest\wordpress\wp-content\plugins\theme_support_meson\includes\loader.php(55):
 Bunch_Taxonomies->__construct() #1
 C:\xampp\htdocs\newtest\wordpress\wp-content\plugins\theme_support_meson\includes\loader.php(77):
 _load_plugins_class('taxonomies', 'helpers', false) #2 C:\xampp\htdocs\newtest\wordpress\wp-includes\class-wp-hook.php(286):
 _bunch_plugin_init('') #3 C:\xampp\htdocs\newtest\wordpress\wp-includes\class-wp-hook.php(310):
 WP_Hook->apply_filters(NULL, Array) #4
 C:\xampp\htdocs\newtest\wordpress\wp-includes\plugin.php(465):
 WP_Hook->do_action(Array) #5
 C:\xampp\htdocs\newtest\wordpress\wp-settings.php(505):
 do_action('init') #6
 C:\xampp\htdocs\newtest\wordpress\wp-config.php(90):
 require_once('C:\\xampp\\htdocs...') #7
 C:\xampp\htdocs\newtest\wordpress\wp-load.php(37):
 require_once('C:\\xampp\\htdocs.. in
 C:\xampp\htdocs\newtest\wordpress\wp-content\plugins\theme_support_meson\includes\helpers\taxonomies.php
 on line 19**

当我在WordPress帐户中包含新主题时,会发生此错误。那时我正在使用介子主题,并尝试包含新主题,突然出现此错误。所以指导我解决该问题的方法。

1 个答案:

答案 0 :(得分:0)

停用所有与上一个主题相关联的插件,我可以看到由 theme_support_meson 插件引起的错误,因此请确保将其停用然后删除。