WooCommerce从2.6更新到3.5后出错

时间:2019-01-13 作者:Justas

致命错误:未捕获错误:对/home/elaiu/domains/elfai中的字符串调用成员函数get\\u breadcrumb()。lt/public\\u html/assets/plugins/woocommerce/includes/class-wc结构化数据。php:321堆栈跟踪:#0/home/elaiu/domains/elfai。lt/public\\u html/wp包括/class wp hook。php(286):WC\\u Structured\\u Data->generate\\u breadcrumblist\\u Data(“”)1/home/elaiu/domains/elfai。lt/public\\u html/wp包括/class wp hook。php(310):WP\\u Hook->apply\\u filters(“”,Array)#2/home/elaieu/domains/elfai。lt/public\\u html/wp包含/插件。php(453):WP\\u Hook->do\\u action(Array)#3/home/elaieu/domains/elfai。lt/public\\u html/assets/themes/Elfai/woocommerce。php(6):do\\u action(\'woocommerce\\u bre…\')\\4/home/elaieu/domains/elfai。lt/public\\u html/wp包含/模板加载器。php(74):包括(\'/home/elaieu/do…\')#5/home/elaieu/domains/elfai。lt/public\\u html/wp博客标题。php(19):require\\u once(\'/home/elaieu/do…\')\\6/home/elaieu/domains/elfai。lt/public\\u html/index。php(17):require(\'/home/elaieu/do…\')#7{main}抛出/home/elaieu/domains/elfai。lt/public\\u html/assets/plugins/woocommerce/includes/class-wc结构化数据。php在线321

1 个回复
SO网友:Arvind Singh

这可能是因为插件冲突,您是否可以停用所有插件并尝试逐个启用,以找出导致问题的插件。此外,请检查您的PHP版本(建议为7.2)。

谢谢