White Screen on WP-Admin only

Hi,

On four of my X Theme websites I suddenly can’t login to the Wordpress admin area, I just get a blank screen. The actual websites are operating okay, I just can’t login to any of them.

I enabled debug briefly on this site: https://beauty-barn.co.uk/wp-admin and got this:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Translation_Entry has a deprecated constructor in /home/theoryun/public_html/beauty-barn.co.uk/wp-includes/pomo/entry.php on line 14

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_Reader has a deprecated constructor in /home/theoryun/public_html/beauty-barn.co.uk/wp-includes/pomo/streams.php on line 12

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_FileReader has a deprecated constructor in /home/theoryun/public_html/beauty-barn.co.uk/wp-includes/pomo/streams.php on line 120

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_StringReader has a deprecated constructor in /home/theoryun/public_html/beauty-barn.co.uk/wp-includes/pomo/streams.php on line 175

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_CachedFileReader has a deprecated constructor in /home/theoryun/public_html/beauty-barn.co.uk/wp-includes/pomo/streams.php on line 221

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; POMO_CachedIntFileReader has a deprecated constructor in /home/theoryun/public_html/beauty-barn.co.uk/wp-includes/pomo/streams.php on line 236

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_Widget_Factory has a deprecated constructor in /home/theoryun/public_html/beauty-barn.co.uk/wp-includes/widgets.php on line 544

Deprecated: Function create_function() is deprecated in /home/theoryun/public_html/beauty-barn.co.uk/wp-content/plugins/page-scroll-to-id/includes/class-malihu-pagescroll2id-widget.php on line 58

Deprecated: Function create_function() is deprecated in /home/theoryun/public_html/beauty-barn.co.uk/wp-content/plugins/revslider/inc_php/framework/functions_wordpress.class.php on line 240

Fatal error: Uncaught Error: [] operator not supported for strings in /home/theoryun/public_html/beauty-barn.co.uk/wp-content/plugins/revslider/inc_php/framework/base_admin.class.php:73 Stack trace: #0 /home/theoryun/public_html/beauty-barn.co.uk/wp-content/plugins/revslider/revslider_admin.php(237): UniteBaseAdminClassRev::addMetaBox('Revolution Slid...', Object(UniteSettingsAdvancedRev), Array, NULL) #1 /home/theoryun/public_html/beauty-barn.co.uk/wp-content/plugins/revslider/revslider_admin.php(68): RevSliderAdmin->addSliderMetaBox() #2 /home/theoryun/public_html/beauty-barn.co.uk/wp-content/plugins/revslider/revslider_admin.php(40): RevSliderAdmin->init() #3 /home/theoryun/public_html/beauty-barn.co.uk/wp-content/plugins/revslider/revslider.php(147): RevSliderAdmin->__construct('/home/theoryun/...') #4 /home/theoryun/public_html/beauty-barn.co.uk/wp-settings.php(215): include_once('/home/theoryun/...') #5 /home/theoryun/public_html/beauty-barn.co.uk/wp-config.php(85): require_once('/home/theoryun/...') #6 /home/theory in /home/theoryun/public_html/beauty-barn.co.uk/wp-content/plugins/revslider/inc_php/framework/base_admin.class.php on line 73

Please help!
Many thanks,
Matt

Hey Matt,

The error is coming from Slider Revolution. It needs to be deactivated so your site will be left without a slider temporarily. Before doing anything, please first ask your host to backup your files and database so you have something to revert to in case something breaks during the process.

To deactivate it, login to your server and go to wp-content/plugins and rename revslider to revslider-bug. You will be able to login to your WordPress Admin after this. Delete Slider Revolution from WP Admin > Plugins and then go to WP Admin > X > Validation and install Slider Revolution again.

If that does not help, please try downgrading PHP to version 7. You’re probably using PHP 7.1. Higher PHP version is generally recommended but if that does not work for your setup, you’ll need to stay using an older version until software in your site are updated.

Thanks.

Hi Christian,

Thanks for that. I’ve disabled Rev Slider by changing the name on the folder, but it still doesn’t allow me to login.

I’ve checked the PHP number and it’s 7.2 and I can’t downgrade it. What can I do now?

Thanks,
Matt

Hello Matt,

Thanks for updating the thread.

I also tried to rename Theme and plugins but that’s not resolving the issue. In that regards issue might be related with PHP version that you have 7.2. Please try to downgrade to PHP 7 and see how it goes.

I also suggest you to copy the website to a staging server having PHP 7 and test the case over there. Here’s a article that you can take a look for some more options:

Please let us know how it goes.

Thanks.

Hi Prasant,

Okay thanks for that. I’ve asked the server people to downgrade to PHP 7, I’ll let you know how that goes.

If they can’t, or won’t, what options do I have?

Thanks,
Matt

Hey Matt,

They should be able to upgrade your PHP version. And if they don’t, just send them the requirements (https://wordpress.org/about/requirements/) to run the latest WordPress.

Here’s a letter you can send to your host; copy and paste!

Hey There,

I’m interested in running the open-source WordPress https://wordpress.org/ web software and I was wondering if my account supported the following:

PHP 7.2 or greater
MySQL 5.6 or greater OR MariaDB 10.0 or greater
Nginx or Apache with mod_rewrite module
HTTPS support

Thanks!

Please let us know how it goes.

Hi RueNel,

The servers are already running PHP 7.2, and that is what has caused the current admin login error. I had no such error when they were on PHP 7.

So I asked the server people if they could downgrade the PHP to 7 and they said no:

Thank you for contacting UK2.net Support! I will be glad to help you out with this issue.

Our servers will not allow PHP versions older than PHP 7.2 because those versions of PHP will officially not be supported after the end of this year.

If the theme you’re using is not compatible with PHP 7.2 I would recommend speaking with the theme provider to find out why their theme is not compatible with the latest version of PHP.

As always, please feel free to let me know if you have any questions or concerns and I will be able to assist.

So what can I do now? I can’t log into Wordpress to update it or anything else, and the servers can’t be downgraded.

Please help!
Thanks,
Matt

Hi Matt,

The problem here is not just the slider, but the entire site and you just provided one of many errors. It has outdated theme and plugins that are needed to be updated to make it work for PHP 7.2

Examples

  1. The installed Revolution Slider is 4.6 but the recommended version is 5.4.

  2. And your Wordpress version is still 4.2, which the recommended version is 4.9. And the 4.2 was released last 2015 https://codex.wordpress.org/Version_4.2.2

Then there is X theme which is still in 4.0, and cornerstone too, and other plugins are still old too. It’s not a theme issue, but because you haven’t updated them while they upgraded their PHP version. I recommend contacting your host and see if they can update them for you. Again, it’s not just the theme but the whole site is affected because they aren’t updated.

Thanks!

Hi Rad,

Okay, so the front-end of the websites are all perfectly fine and working as they should be, so if it’s only the admin login that isn’t working, surely it can’t be that big of an issue, isn’t there some kind of work around to get me into the backend?

If I disabled all the plugins and X theme, is there a way to upgrade Wordpress manually?

Thanks for your help,
Matt

Hi Matt,

The only solution that I could see is manually uploading the files of the latest versions of Wordpress, theme, and plugins. Even if you’re able to deactivate them, you’ll not able to update them through admin since they needed to be active for them to contact the update server.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.