blank page dazzling child theme

Hi!
Some weeks ago I discovered my site http://www.archaeologicalbodies.com stopped being visible. It used a Dazzling Child theme. Today I uploaded the update of the dazzling theme directly through ftp with the result that yes it is now visible again but totally scrambled, it has lost links with the media library i some cases and all posts of 2015 are gone.
What can I do to change this?
I already had problems earlier this year when the site completely changed. presumably after an update of the dazzling theme. I had to pay someone to rectify it. To have this happening again is very irritating.

Really grateful for any help!

Any help please?

Changed the site back to where it was before I updated it through FTP.
It is back to its ‘blank page’ state.

I presume more people then me had this problem : what did you do?

Hi @bregje,

Sorry to hear of the problem you are having.

I have tested it on my test site and it’s working fine for me using latest version of Dazzling theme.

Actually the Dazzling theme doesn’t delete or manipulate any data so if it’s happening on your site then it must be by any user or hacker or plugin but not theme. Please troubleshoot it accordingly and also improve your site security as described here http://codex.wordpress.org/Hardening_WordPress

If you have configured your child theme settings and change your theme to Dazzling parent theme then you have to reconfigure it.

If the Dazzling theme is working fine on your site after configuring it and you are only getting blank page after activating the child theme then it’s your child theme issue so please share me your child theme so that i can troubleshoot it.

Also when you get blank page then 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

Thank you for your help.
I am fairly new at this- so how do I reconfigure the child theme with ftp?

You have to configure the child theme from site admin area same as Dazzling theme as described on the below page.

Also please try doing what i described in my previous reply.

This what I got earlier:

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
<http://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
<http://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
<http://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
<http://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
<http://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
<http://archaeologicalbodies.org/public_html/wp-
content/themes/dazzling/functions.php>
on line 4, referer:
http://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

But then after reloading the dazzling theme and trying to configure through ftp:

21 june

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

After uploading the dazzling theme again
And deleting the user

Warning: mysqli_real_connect(): (HY000/1045): Access denied for user ‘wrdprs@a113142’@‘s447.loopia.se’ (using password: YES) in /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-includes/wp-db.php on line 1386

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-includes/wp-db.php on line 1416

Warning: mysql_connect(): Access denied for user ‘wrdprs@a113142’@‘s447.loopia.se’ (using password: YES) in /www/webvol3/5e/ug1x9268oy38ub1/archaeologicalbodies.org/public_html/wp-includes/wp-db.php on line 1416

I cannot do anything through the admin so hardening etc is for later.

regards

don’t know how it got there but of course it is www.archaeologicalbodies.org

It’s happening because of the error message generated from your child theme due to declaring the function custom_excerpt_length multiple times so please fix this issue by renaming functions.

All others are simple PHP warnings and most of the time it doesn’t affect functionality of site so it is nothing to worry about!

Do you have WP_DEBUG set to true in your wp-config.php file?

If you do then please set it to false.
This will hide the warning messages and you will be able to use your site normally.

Nothing of the above helped. IN the end I got to a request to install, which I did,. So now I have a clean wordpress installation but all the rest gone.
From the former administrator I did get a according to him working copy of the site plus database.
But I am not sure if I should upload that as a whole because that may just lead to a repetition of the problems.
Should I download the dazzling theme and do an adjusted upload of the content and child theme somehow?

If you share me your child theme then i can troubleshoot it on my test site and resolve the issue.

I will send the one that is on the site now-
after install and update and the one that I have from 29 05

I used your shared child theme on my test site and saw many coding issues in it.

I have resolved those issues and attached the updated child theme to this reply so please try using this updated child theme.

Thank you Movin for your help with the Dazzling Child theme. It still didn’t work; the site did not connect to the database. In the end I did a clean install of wordpress, uploaded an older database, edited the wp-config.php and updated all plugins.
I can reach the dashboard and see the pages and posts. But some images are not showing up.
I don’t see the logo either. In the mean time my mail program stopped working so I have to attend to that - ironic- its all happens at once.

The issues that you have posted in above reply is not theme related issues but the issues with your WordPress install so if you are not a developer then you can consider hiring a WordPress developer to resolve these issues for you. You can hire a developer from any freelance site. Colorlib recommends the developer https://www.upwork.com/freelancers/~011652ffec8865c6d5