Support » Plugin: Admin Menu Editor » Jquery Error After Saving

  • Resolved infoaltea



    I can install the plugin ok, and see the Menu Edit page, I can play around, but after saving I get a page with no css loaded and nothing saves if I relaod the admin panel.

    Firebug says: ReferenceError: jQuery is not defined
    [Stop on this error]

    Here is the code:

    ‘<div id=”ws-pro-version-notice”>’ +
    Upgrade to Pro‘ +
    })(jQuery); == ERROR!

    Any help!!¿¿

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Janis Elsts


    It sounds like the menu data might be getting stripped out by something. What URL do you see in the address bar after you click “Save Changes”?

    Plugin Author Janis Elsts


    Yes, it appears that something strips the menu data before the plugin can save it. There are several things that could cause this:

    – A security system like mod_security2 or similar is running on your server and blocking menu data because it contains “suspicious” keywords. Other users have encountered similar problems where it turned out that mod_security was preventing them from saving the menu because menu settings contained words like “update” and “set” (as part of “Settings”).

    Solution: Ask your hosting provider if mod_security2 or something similar is installed on the server. If so, tell them to add an exception for this plugin, or to disable the offending configuration rule.

    – The server discards menu data because it exceeds the post_max_size limit set in PHP.ini.

    Solution: Set post_max_size to a higher value (at least 1MB).

    Suhosin is installed on your server and strips out the menu data because it exceeds the configured maximum size of values sent via a POST request.

    Solution: Increase and suhosin.request.max_value_length to at least 300000. If you don’t know how to edit Suhosin’s configuration, ask your hosting provider to do it for you. issue…!!

    Thx for guiding me in the right direction,…. Didnt think about checking the apache error log 😉

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Jquery Error After Saving’ is closed to new replies.