wordpress - 我如何在 wordpress 上解决这个问题
问题描述
Stack trace:
#0 /home/bonusfunnel.com/public_html/wp-content/plugins/master-popups-lite/includes/class-functions.php(549): implode()
#1 /home/bonusfunnel.com/public_html/wp-content/plugins/master-popups-lite/includes/class-popups.php(272): MasterPopups\Includes\Functions::url_google_fonts()
#2 /home/bonusfunnel.com/public_html/wp-content/plugins/master-popups-lite/includes/class-popups.php(247): MasterPopups\Includes\Popups->get_link_google_fonts()
#3 /home/bonusfunnel.com/public_html/wp-includes/class-wp-hook.php(303): MasterPopups\Includes\Popups->add_popups_to_admin_footer()
#4 /home/bonusfunnel.com/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#5 /home/bonusfunnel.com/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
#6 /home/bonusfunnel.com/public_html/wp-admin/admin-footer.php(78): do_action()
#7 /home/bonusfunnel.com/public_html/wp-admin/post.php(369): require_once('...')
#8 {main}
thrown
解决方案
generate_do_element_classes() 是 GP 2.2 中的一个新函数。
如果您的子主题正在使用它,您需要确保您的父主题至少运行 2.2。
在这种情况下,应该定义函数:https ://github.com/tomusborne/generatepress/blob/2.2.1/inc/markup.php#L20
也许您的服务器具有仍在为旧文件提供服务的缓存?
让我知道这是否有帮助?
推荐阅读
- java - JPA Spring 存储库 findAll() 返回一个空列表
- python - 为什么我无法在请求中获取成功但在浏览器中成功打开
- java - MYSQL SELECT from Two Tables,收入减去费用=总收入
- javascript - JavaScript Canvas 问题理解对象移动
- reactjs - Node 尝试编译 SVG 文件
- reactjs - 在 react.js 中将数据动态绑定到 InnerHTML
- javascript - Jquery window.resize(event) => {} 适用于检查元素,但不适用于调整 chrome(或边缘)窗口的大小
- python - 运行 python 可执行文件时没有名为“请求”的模块,即使它已安装
- python - 如何在 min 函数中使用条件语句
- python - 如何在 matplotlib 中旋转条形图?