_load_textdomain_just_in_time issues!
-
[02-Nov-2025 15:48:27 UTC] PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>mollie-payments-for-woocommerce</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6121
[02-Nov-2025 15:48:27 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/functions.php:6121) in /var/www/html/wp-includes/functions.php on line 7144
[02-Nov-2025 15:48:27 UTC] PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>mollie-payments-for-woocommerce</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6121
[02-Nov-2025 15:48:27 UTC] PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>mollie-payments-for-woocommerce</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6121
[02-Nov-2025 15:48:27 UTC] PHP Notice: wc_ajax_headers cannot set headers - headers already sent by /var/www/html/wp-includes/functions.php on line 6121 in /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 98
[02-Nov-2025 15:48:27 UTC] PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>mollie-payments-for-woocommerce</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6121
[02-Nov-2025 15:48:28 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/functions.php:6121) in /var/www/html/wp-includes/pluggable.php on line 1450
[02-Nov-2025 15:48:28 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/functions.php:6121) in /var/www/html/wp-includes/pluggable.php on line 1453
[02-Nov-2025 15:48:39 UTC] PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>mollie-payments-for-woocommerce</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6121You really need to fix this translation issue. Even with debug off and this causes a malformed <head></head> tag.
I tested this with a new database and only the WooCommerce plugin installed, and the error still appears.
I performed this test after checking my current setup with a default theme and only WooCommerce and Mollie active, to rule out any issues caused by my own plugins or themes and they are not the cause.
On the shopping cart page, the <head> section becomes completely malformed, affecting what is loaded there. This happens regardless of whether debug mode or display errors are turned on or off. The issue occurs in both development and production environments (where debug is off by default). All other pages, including the main shop page, are fine their <head> sections appear as expected in the source code.
This issue remains unresolved and is causing serious problems in production.
Running PHP 8.3, the latest WordPress version, the latest WooCommerce version, and the latest Mollie version.
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.