• Resolved rogue386

    (@rogue386)


    I am unable to work on our new site I was staging. Anytime I go to open a page or edit, I get a blank white page with the following info.

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the all-in-one-wp-security-and-firewall 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 /home2/censystech/public_html/excelsior/wp-includes/functions.php on line 6114

    Warning: Cannot modify header information – headers already sent by (output started at /home2/censystech/public_html/excelsior/wp-includes/functions.php:6114) in /home2/censystech/public_html/excelsior/wp-includes/pluggable.php on line 1435

    Warning: Cannot modify header information – headers already sent by (output started at /home2/censystech/public_html/excelsior/wp-includes/functions.php:6114) in /home2/censystech/public_html/excelsior/wp-includes/pluggable.php on line 1438

    I posted a similar thread last week but was asked to repost with Debug code.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor alaasalama

    (@alaasalama)

    Hi @rogue386
    This is something related to “all-in-one-wp-security-and-firewall” plugin, specifically happens after the recent WordPress update.

    Anyway, you can hide these warnings and edit the page normally by disabling WP_DEBUG mode, try first to add this in wp-config.php file of the staging site:

    define( 'WP_DEBUG', false );

    if this doesn’t work, then add these:
    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    Let me know how it goes,
    Thanks,
    Alaa

    Thread Starter rogue386

    (@rogue386)

    I am doing this on the browser and cannot even access the Theme File Editor. If I should be adding this code to a different spot, please let me know.

    Plugin Contributor alaasalama

    (@alaasalama)

    You need to edit wp-config.php file of the staging site, that’s in the root directory of the staging site, not in the theme folder. And you need to do this by connecting to your site via FTP, using a software like FileZilla for example, check this guide.

    If you don’t know how to do this, please reach out to your hosting provider and share my reply above with them, and they should be able to do it for you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Debug Code: wpstg-wTXIWjuU-82910’ is closed to new replies.