Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @sybrig,

    Sorry to hear of the problem you are having.

    The theme doesn’t delete or change any media files so not sure how it happened on your site.

    If you are getting blank page after activating dazzling child theme then it’s your child theme issue so could you please share me your child theme so that i can troubleshoot it?

    Also when you get blank page, Can you please try temporary enabling WP_DEBUG mode? To do this, just go to wp-config.php include this:

    define('WP_DEBUG',true);

    You might already have a line for WP_DEBUG, so just make sure it’s set to true.

    Let me know what errors if any you are getting when you face this issue.

    Best Regards,
    Movin

    Thread Starter [email protected]

    (@sybrigsybrigdoktercom)

    Hello,
    Thank you for your reply.
    Originally when I got the blank page and I contacted my host it said this:

    Y
    Jun 16 12:12:59 2016] [error] [client 127.0.0.1] PHP Fatal error:
    Cannot
    redeclare custom_excerpt_length() (previously declared in
    /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling-child/functions.php:2
    <https://archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling-child/functions.php:2>
    ) in
    /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling/functions.php
    <https://archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling/functions.php>
    on line 4
    [Thu Jun 16 12:13:05 2016] [error] [client 127.0.0.1] PHP Fatal error:
    Cannot redeclare custom_excerpt_length() (previously declared in
    /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling-child/functions.php:2
    <https://archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling-child/functions.php:2>
    ) in
    /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling/functions.php
    <https://archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling/functions.php>
    on line 4
    [Thu Jun 16 12:16:47 2016] [error] [client 127.0.0.1] PHP Fatal error:
    Cannot redeclare custom_excerpt_length() (previously declared in
    /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling-child/functions.php:2
    <https://archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling-child/functions.php:2>
    ) in
    /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling/functions.php
    <https://archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling/functions.php>
    on line 4, referer:
    https://archaeologicalbodies.org/wp-content/plugins/wp-mobile-
    detector/themes/wz-mobile/style.css
    [Thu Jun 16 12:40:40 2016] [error] [client 127.0.0.1] PHP Fatal error:
    Cannot redeclare custom_excerpt_length() (previously declared in
    /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling-child/functions.php:2)
    in
    /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-
    content/themes/dazzling/functions.php
    on line 4
    
    Then I uploaded the updated Dazzling file from colorlib and after some other changes I got this:
    
    Warning: include(/www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-settings.php on line 65
    
    Warning: include(): Failed opening '/www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/local/share/pear:/usr/local/bin') in /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-settings.php on line 65
    
    Fatal error: Cannot redeclare custom_excerpt_length() (previously declared in /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-content/themes/dazzling-child/functions.php:2) in /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-content/themes/dazzling/functions.php on line 4

    I did get the configuration window and tried to get in but although it is contacting the database etc it doesn’t show.
    I may have completely messed things up- I’m not sure.
    Where shall I send the child theme?

    regards
    Bregje

    Thread Starter [email protected]

    (@sybrigsybrigdoktercom)

    Of course I cannot take the step of activation through the dashboard.

    You appear to have an error in your child theme’s functions.php file.

    Thread Starter [email protected]

    (@sybrigsybrigdoktercom)

    The functions file is very brief:

    <?php
    function custom_excerpt_length( $length ) {
    return 55;
    }
    add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );
    ?>

    Thread Starter [email protected]

    (@sybrigsybrigdoktercom)

    my site is https://www.archaeologicalbodies.org
    sorry for not including clearly earlier

    We are resolving this issue on your following thread so let’s reply there to avoid duplication of threads.

    https://colorlib.com/wp/forums/topic/blank-page-dazzling-child-theme/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘blank page dazzling child theme’ is closed to new replies.