Plugin Author
Nikel
(@nikelschubert)
Hi,
unfortunately I can not reproduce this issue. Do you have some more information? A callstack would be nice? It seems as if in your case something else, like a plugin or a them already logs or echoes something before the cookie handler. We tried to make the cookie handle jump in as early as possible. Do you have maybe other logs or error which are caused by other plugins? Does this error occur with all other plugins deactivated, too?
Regards
Hi @nikelschubert, thank you for the answer. Unfortunately, no more traceback was provided 🙁 Those are all the messages shown when WP_DEBUG is enabled:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the debug-bar 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 init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/***/domains/***/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-product-addon 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 init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/***/domains/***/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check 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 init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/***/domains/***/public_html/wp-includes/functions.php on line 6114
Warning: Cannot modify header information - headers already sent by (output started at /home/***/domains/***/public_html/wp-includes/functions.php:6114) in /home/***/domains/***/public_html/wp-content/plugins/beautiful-and-responsive-cookie-consent/class/class-nsc_bar_cookie_handler.php on line 261
Warning: Cannot modify header information - headers already sent by (output started at /home/***/domains/***/public_html/wp-includes/functions.php:6114) in /home/***/domains/***/public_html/wp-content/plugins/beautiful-and-responsive-cookie-consent/class/class-nsc_bar_cookie_handler.php on line 261
Plugin Author
Nikel
(@nikelschubert)
Hi,
I think this is because the other trigger an error. This error is then causing the “headers already sent” issue.
Can you try deactivating the plugin or fixing the other issues: debug-bar, woocommerce-product-addon and health-check. I am pretty sure, that then the “headers already sent” does not occur anymore.
Plugin Author
Nikel
(@nikelschubert)
Since we haven’t heard back from you in a while, we’ll go ahead and close this ticket for now. If you still need assistance or have any updates, feel free to reopen it or create a new one: we’re always happy to help!