• Resolved Josiah

    (@colewebdev)


    When I attempt to create a new restriction it fails.

    When the modal window is spawned I’m getting the console error below. I also cannot close the modal window. When I click the blue “Add” button the window closes and I’m redirected to the Settings page but with variables that look like they’re for creating the restriction: /wp-admin/options-general.php?title&who=logged_in&protection_method=redirect&custom_message&redirect_type=login&redirect_url

    settings-page.min.js?ver=1.1.4:3 Uncaught ReferenceError: tinyMCE is not defined
        at HTMLTextAreaElement.<anonymous> (settings-page.min.js?ver=1.1.4:3)
        at Function.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils&ver=5.7:2)
        at s.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils&ver=5.7:2)
        at s.fn.init.wp_editor (settings-page.min.js?ver=1.1.4:3)
        at HTMLTextAreaElement.<anonymous> (settings-page.min.js?ver=1.1.4:4)
        at Function.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils&ver=5.7:2)
        at s.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils&ver=5.7:2)
        at HTMLDocument.<anonymous> (settings-page.min.js?ver=1.1.4:4)
        at HTMLDocument.dispatch (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils&ver=5.7:2)
        at HTMLDocument.v.handle (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils&ver=5.7:2)

    I’ve already tried deactivating all plugins, and switching my theme. What’s odd is this is working on two other copies of my site hosted in the same environment (WPEngine)

    I’ve also tried deactivating and reactivating this plugin. Deleting and reinstalling, as well as trying the last version. No luck.

Viewing 1 replies (of 1 total)
  • Thread Starter Josiah

    (@colewebdev)

    FYI I solved this by installing the “Classic Editor” plugin by WordPress.

Viewing 1 replies (of 1 total)

The topic ‘Console Error / Unable to Create Restriction’ is closed to new replies.