Okay
  Public Ticket #3788369
Amelia code in the plugin or theme running too early
Open

Comments

  • Johnny Rivera started the conversation

    I was unable to login from the WordPress admin area. The error is now resolved, the issue is with one of the plugins because I renamed the entire plugins folder to something like plugins-disabled thru cPanel.

    I was able to Isolate the Problem Plugin which is Amelia. I was able to identify it because of the error message on top of the screen before I was able to login:

    Notice: Function _load _textdomain just in _time was called incorrectly. Translation loading for the wpamelia 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/metafo6/public_html/wp-includes/functions.php on line 6114
    Notice: tk_ai cookie cannot be set - headers already sent by /home/metafo6/public_html/wp-includes/functions.php on line 6114 in /home/metafo6/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1120
    Warning: Cannot modify header information - headers already sent by (output started at /home/metafo6/public_html/wp-includes/functions.php:6114) in /home/metafo6/public_html/wp-admin/includes/misc.php on line 1438
    Warning: Cannot modify header information - headers already sent by (output started at /home/metafo6/public_html/wp-includes/functions.php:6114) in /home/metafo6/public_html/wp-includes/functions.php on line 7137
    Warning: Cannot modify header information - headers already sent by (output started at /home/metafo6/public_html/wp-includes/functions.php:6114) in /home/metafo6/public_html/wp-admin/admin-header.php on line 9

    Now I need help to identify what to do next. Do I stop using Amelia completely or do I troubleshoot?

  •  754
    Stefan replied
     

    Hi Johnny,

    Thank you for reaching out to us. This is not an issue with Amelia; unfortunately, it has been caused by the latest WordPress update. The issue is also occurring with other plugins, not just Amelia. I see that you've found a workaround, but what we usually recommend is disabling the debug mode in the WP config. If you’d like to check it out, here’s the link to the article.

    Kind Regards, 

    Stefan Petrov
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables