• Resolved jkkenzie

    (@jkkenzie)


    1. The Editor links like “Insert Shortcode”, “edit published date” , “edit visibility” and “edit status” all the link create an error on js console as follows:
      post.php?post=11653&action=edit:1063 Uncaught ReferenceError: SUG is not defined at HTMLButtonElement.onclick (post.php?post=11653&action=edit:1063:5) onclick @ post.php?post=11653&action=edit:1063
    2. The editor text was white. Then i changed the color to black on wp-includes/css/editor….css. (Solved) (All the other options of wp-config, clear cache did not work)
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi @jkkenzie – thanks for the report.

    I wasn’t able to replicate any of these issues with the following testing conditions:

    PHP 8.0.22
    WordPress 6.1.1
    Classic Editor active
    No other plugins active
    Twenty Twenty-Three theme

    Could you please provide the following information to help better understand how to replicate the issue:

    • What version of WordPress are you using?
    • What version of PHP is your server running?
    • Is the issue present with all plugins temporarily deactivated, except Classic Editor? You can use the Health Check plugin‘s troubleshooting mode for this, which will not change your live site. If the problem goes away, reactivate your plugins one by one (while still in troubleshooting mode) to find the culprit.
    • Is the issue present with a default theme like Twenty Twenty-Three? Again, you can use the Health Check plugin for this.

    Further to this – I’m not seeing any “Insert Shortcode” option on the standard Classic Editor toolbar, which makes me suspect an additional plugin might be adding this. Here are the default buttons:

    Let me know how it goes.

    Thread Starter jkkenzie

    (@jkkenzie)

    You are right one old plugin was causing the problem. It was not compatible with php 8.1. Revert to php 7.4 and it worked.

    thelmachido a11n

    (@thelmachido)

    You are right one old plugin was causing the problem. It was not compatible with php 8.1. Revert to php 7.4 and it worked.

    @jkkenzie That’s great news and thank you for providing an update on the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SUG is not defined when links are clicked’ is closed to new replies.