-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error editing fields #935
Comments
This field should never be missing when you update some translations from the admin side. If it's missing, it means something broke before posting the data. Can you describe the operations to reproduce this? |
The error happens in that file /plugins/qtranslate-xt/admin/qtx_admin_utils.php on line 209. That worked again! return isset( $_COOKIE['qtrans_edit_language'] ) ? $_COOKIE['qtrans_edit_language'] : $q_config['language']; |
It can't be handled like that, it's not passed in a cookie but in the POST data. The question is how to reproduce the problem. Can you describe what you were doing to trigger this error? |
I did all the normal procedure, installed the plugin and activated it. But whenever I update some content, it generates this error that I mentioned |
That sounds very surprising. If you go in settings / languages (qTranslate) / troubleshooting, can you give me the content of versions to list the plugins you are using? |
Follow the information { |
Do you see errors in the console? |
Hello, it took me a while but I did what you asked. I highlighted all the plugins and realized that the conflict was happening with the acf-qtranslate. Thank you for your support |
Can you give more details? Please provide all the steps to reproduce the problem. |
I am using WP 5.6 "QTX_VERSION": "3.9.1"
Fatal error: Uncaught InvalidArgumentException: Missing "qtranslate-edit-language" field in $_REQUEST! in /Applications/MAMP/htdocs/interfruit/site/wp-content/plugins/qtranslate-xt/admin/qtx_admin_utils.php:209 Stack trace: #0 /Applications/MAMP/htdocs/interfruit/site/wp-content/plugins/qtranslate-xt/admin/qtx_admin.php(90): qtranxf_getLanguageEdit() #1 /Applications/MAMP/htdocs/interfruit/site/wp-includes/class-wp-hook.php(287): qtranxf_collect_translations_posted('') #2 /Applications/MAMP/htdocs/interfruit/site/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /Applications/MAMP/htdocs/interfruit/site/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /Applications/MAMP/htdocs/interfruit/site/wp-settings.php(420): do_action('plugins_loaded') #5 /Applications/MAMP/htdocs/interfruit/site/wp-config.php(98): require_once('/Applications/M...') #6 /Applications/MAMP/htdocs/interfruit/site/wp-load.php(37): require_once('/Applications/M...') #7 /Applications/MAMP/htdocs/interfruit/site/wp-admin/a in /Applications/MAMP/htdocs/interfruit/site/wp-content/plugins/qtranslate-xt/admin/qtx_admin_utils.php on line 209
The text was updated successfully, but these errors were encountered: