-
Notifications
You must be signed in to change notification settings - Fork 110
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
[Admin module?] PHP Error with Wordpress 6.7 in the admin: Translation loading for the qtranslate domain was triggered too early #1422
Comments
Having that problem after updated WP TO 6.7, and i ended changing (src/init.php) qtranxf_load_plugin_textdomain(); TO JUST: add_action( 'init', function(){ And for now, everything is working ok. I hope! |
At the moment I can't see any error messages with WP 6.7 and QTX 3.15.2. |
I confirm that replacing https://github.com/qtranslate/qtranslate-xt/blob/3.15.2/src/init.php#L112-L117
with
fixes the issue. |
If using (in wp-config.php) It totally breaks logging into wp-admin, with the error message:
If WP_DEBUG not defined, admin loads just fine. |
Same here |
Describe the bug
With Wordpress 6.7, this PHP error appears in PHP logs:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No PHP error should appear.
Screenshots
Debug info
Edit: This issue is not related to the string that were not translated, and to the Slug module, so I have updated the bug description.
The text was updated successfully, but these errors were encountered: