页面Visual Editor模式与官方性能插件Performance Lab不兼容报错

赵老师 发布于 分类:其他

开启Wordpress官方性能优化插件Performance Lab  后,Visual Editor模式编辑网页不兼容报错。

Snipaste_2024-05-27_03-59-16.jpg

 

Snipaste_2024-05-27_03-59-39.jpg

wordpress官方performance-lab管理插件开启后报错,关闭performance-lab插件后Visual Editor模式正常使用

https://wordpress.org/plugins/performance-lab/

WordPress 6.5.3

Performance-lab 3.1.0

PHP 8.2

JustNews 6.17

nginx 错误日志如下:

 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: perflab_admin_pointer(): Argument #1 ($hook_suffix) must be of type string, null given, 
called in /wordpress/wp-includes/class-wp-hook.php on line 324 and defined in /wordpress/wp-content/plugins/performance-lab/includes/admin/load.php:81
#1 /wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wordpress/wp-admin/admin-header.php(118): do_action()
#4 /wordpress/wp-content/themes/justnews/themer/core/visual-editor.php(37): require_once('...')
#5 /wordpress/wp-includes/class-wp-hook.php(324): WPCOM_Visual_Editor->page_init()...

1个回复

  • Lomu
    Lomu

    感谢反馈,此问题已经核实确实存在,这边会在后续版本进行优化处理的。

微信咨询
QQ咨询
扫码关注

扫码关注微信

关注我们获取最新资讯 关注微信公众号 立即扫码关注我们