Blank Dashboard
-
I’m putting this here in the hope that it might save other users some digging through old posts.
I was making some changes to my (child) theme when I suddenly was unable to preview changes to a post. The post still updated and my blog appeared to be displaying the way I wanted it, just no preview — a blank page instead. Then I started getting blank pages on my dashboard.
I used FTP and thought I had undone all the changes to my theme, getting it back to where it worked. I was still getting blank pages on my dashboard. I read through 8 or 10 posts here, some of which were a few years old, with all the usual suggestions of reverting to default theme and disabling all plug-ins.
When I reverted to the default theme I got my dashboard back, so I looked more carefully at the changes I had made. Turns out, I had an error in the functions.php for my child theme. I had an extra php call, so it was like:
<?php /***** Load parent css *****/ code code code /***** Changes to parent functions *****/ code code code ?> <?php /***** More changes to parent functions *****/ code code code ?>
When I took out those extra closing/opening tags in the middle it all started working again.
- The topic ‘Blank Dashboard’ is closed to new replies.