Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #980176
    eshooman
    Participant

    I added the child theme to my site, and now my site is blank. Even when I attempt to login via the /wp-admin/ URL, the page returns blank in Safari. In Chrome I receive a 500 error. What went wrong? Thank you for your help.

    #980238
    Thai
    Moderator

    Hi There,

    Sorry to hear your website’s having the issue.

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #980342
    eshooman
    Participant
    This reply has been marked as private.
    #980718
    Rue Nel
    Moderator

    Hello There,

    Regretfully we could not connect to your ftp. Please double check it. For the meantime, a white screen usually means there is a fatal PHP error. Can you please enable WP_DEBUG mode? You can do this by opening wp-config.php and adding
    define( 'WP_DEBUG' , true ); just above /* That's all, stop editing! Happy blogging. */ For example:

    define('WP_DEBUG', true);
    
    /* That's all, stop editing! Happy blogging. */

    When you revisit the page with the white screen, you should have some error output describing the issue in more detail.

    Please let us know how it goes.

    #981411
    eshooman
    Participant
    This reply has been marked as private.
    #981682
    Rue Nel
    Moderator

    Hello There,

    Are you sure you are giving us the access to right folder? I went on to fixed the issue which happen to be an invalid php code in your child theme’s functions.php file. Even if I made some changes, the error is still displaying. I even made sure that the contents of the functions.php file has the original content and removed the code you added but then again, there is no changes on the site. Please do check this.

    By the way, in your child theme’s functions.php file, you have inserted an invalid. It seems that you are trying to add a Google Remarking Tag. The correct way of doing it is by using this code instead:

    // Add Google Tag Manager Code
    // =============================================================================
    function add_google_tag_manager_code(){
    ?>
    
    <!-- Google Tag Code starts here -->
    
    <!-- your code here -->
    
    <!-- Google Tag Code ends here -->
    
    <?php 
    }
    add_action( 'x_before_site_begin', 'add_google_tag_manager_code' );
    // End Add Google Tag Manager Code
    // =============================================================================

    Hope this helps.

    #983173
    eshooman
    Participant
    This reply has been marked as private.
    #983563
    Christopher
    Moderator

    You’re welcome

  • <script> jQuery(function($){ $("#no-reply-980176 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>