qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
546 stars 103 forks source link

Error 404 when trying to save menu #1318

Open jericobgs opened 1 year ago

jericobgs commented 1 year ago

The error exists in qtranslate, qtranslatex and qtranslatext most recent version. Came up to the conclusion its qtranslate related as i disabled every other plugin and the issue exists as long as qtranslate is activated.

Tried enabling/disabling legacy options, changing/saving permalinks, clearing cache, changing themes, increasing max vars and max execution time, converting the records in db from legacy to the new type of structured data, recreating htaccess and every single thing i found on the internet. Also tried every version i found o qtranslate, qtranslatex and xt + the master version. The error in the console is POST /wp-admin/nav-menus.php 404

The only way i can make it work is by saving waiting to be redirected to 404 page then clicking the back button so i go back to menu editing window and quickly click save and it does save, but by that way there is a 0% chance to save an item. The error exists both edits and no edits on the nav. PLEASE HELP :/

herrvigg commented 1 year ago

POST /wp-admin/nav-menus.php 404

The URL is correct, the 404 is not. First time I read something similar. I don't think this comes from qTranslate, though you only see it with qTranslate. It must come from the web server, your WP configuration or related to network security. Is it a local web server or online?

Try this with chrome: