terrylinooo / githuber-md

Markdown editor plugin for WordPress.
GNU General Public License v3.0
604 stars 88 forks source link

无法启用插件 #341

Closed MellowOrchid closed 6 months ago

MellowOrchid commented 8 months ago

問題或臭蟲

插件自动更新后,网站崩溃;禁用插件后恢复访问;但无法再次启用该插件。

如何重現

請告知重現此問題的步驟回何:

  1. 禁用该插件,
  2. 再次启用该插件。

預期的行為或結果

能够启用该插件。

畫面截圖

  1. 問題發生時的截圖 Snipaste_2023-12-17_08-35-10

伺服器環境

用戶端環境

其它說明

  1. 页面提示:无法启用插件,因为它引起了一个致命错误(fatal error)。
  2. DEBUG:
    • [17-Dec-2023 00:54:00 UTC] PHP Fatal error: Cannot redeclare disable_emojis_tinymce() (previously declared in /var/www/wp/wp-content/themes/kratos-4.2.1/inc/theme-article.php:355) in /var/www/wp/wp-content/plugins/wp-githuber-md/githuber-md.php on line 183
MellowOrchid commented 8 months ago

与此同时,我的站点使用的主题是 kratos-4.2.1

MellowOrchid commented 8 months ago

当我禁用了 Emojify 功能后,可以正常运作。 顺带一提,如果我在某一行使用了 Emoji,那么这一行的光标将不可用。

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] commented 6 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.