我有一个有 Gutenberg 的网站,它是其中非常重要的一部分,问题是.. 当我进入页面并尝试保存它时,我得到错误 500,在控制台中我在控制台中有这个错误
POST https://myDomain/wp-json/wp/v2/pages/5950 500 ()
POST https://myDomain/wp-admin/post.php?post=5950&action=edit&classic-editor=1&meta_box=1 500 ()
以及我的错误日志中的这个错误
[12-Sep-2018 09:46:18 UTC] PHP Fatal error: Uncaught Exception: Invalid page template. in /usr/www/users/foodno/v32/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-duplication.class.php:99
Stack trace:
#0 /usr/www/users/myDomain/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(4219): WPML_Post_Duplication->make_duplicate(5950, 'he')
#1 /usr/www/users/myDomain/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-synchronization.class.php(84): SitePress->make_duplicate(5950, 'he')
#2 /usr/www/users/myDomain/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-translation.class.php(248): WPML_Post_Synchronization->sync_with_duplicates(5950)
#3 /usr/www/users/myDomain/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-admin-post-actions.class.php(113): WPML_Post_Translation->after_save_post('535', Array, 'en', NULL)
#4 /usr/www/users/myDomain/wp-includes/class-wp-hook.php(288): WPML_Admin_Post_Actions->save_post_actions('5950', Objec in /usr/www/users/foodno/v32/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-duplication.class.php on line 99
我也在使用 WPML 插件,保存时插件卡住了截图
加载程序在循环中...
问题是,它保存了编辑的内容,但仍然返回错误 500,我尝试调试并没有得到任何结果
我当然在问之前用谷歌搜索过,我发现这些已知的古腾堡问题之前发生过......这些都没有帮助......有没有人有任何建议或解决方案?
https://github.com/WordPress/gutenberg/issues/5675 https://github.com/WordPress/gutenberg/issues/8410
提前致谢