Support » Plugin: Admin Menu Editor » “Save Changes” doesn’t work

  • Resolved ephrael


    I can’t figure out why this useful plugin doesn’t let me save changes anymore.
    When I click on “Save Changes”, the link “/options-general.php?page=menu_editor&sub_section=editor&noheader=1” opens and this page appears:
    (two links needed to capture the entire page)

    Thank you for your help.

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


    In most cases, this kind of a problem happens when a security tool such as a web application firewall incorrectly flags the menu data as potentially malicious and blocks it. As a result, the plugin receives a request with no data. It’s not designed to handle situations like that, so it produces the broken page that you saw.

    Could you please check if your server is running ModSecurity, Suhosin or anything similar? Take a look at the relevant logs to see if the security software has detected or blocked any suspicious requests to the menu editor settings page. If you can’t access the logs yourself, you might need to ask your hosting provider to do this for you. Depending on what exactly caused the problem, you might need to either disable a specific firewall rule, whitelist the plugin, or increase request size limits.

    Hi Janis,
    thanks for your answer.
    I’ve asked my new hosting provider (I recently changed it) and yes, my server is using ModSecurity… but it wasn’t the culprit. Apparently, my hosting provider defines an unusual temporary folder: /home/myusername/php_sessions/ instead of /home/myusername/tmp/ or /home/myusername/public_html/wp-content/temp/.
    As soon as I created “php_sessions”, “save changes” started to work again.

    Thank you again for your help.
    Have a nice day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.