Uncategorized

Fix White Screen of Death in WordPress (3.3.1?)

I haven’t updated WordPress for a while and I was getting the what is know as White Screen Of Death. Basically once I login on the admin panel, all the screens are white and I cannot click or do anything.

In the source of the pages, there is an error message like:

Fatal error: Access to undeclared static property: WP_Screen::$this in wp-admin/includes/screen.php on line 706

To fix this, you will need to access the files on the server, and modify the following file in your favorite text editor:

your-site/wp-admin/includes/screen.php

Go to line 706 and modify the line from:

<?php echo self::$this->_help_sidebar; ?>

to

<?php echo $this->_help_sidebar; ?>

In summary, remove the ‘self::‘ part.

Save it and re-login/refresh your WordPress admin panel.

Add or modify the IP address for Wireless Printer Brother MFC-J6920DW in Linux

If you set up the printer Brother MFC-J6920DW on the network and with their brsaneconfig4 utility in Linux, the value is hard-coded in a file, so if the router is reset and you lose the IP address associated with the printer, some of the functionalists (mainly scanner) will not work.

To fix this, you should edit the following file:

vi /etc/opt/brother/scanner/brscan4//brsanenetdevice4.cfg

Or if you prefer gedit

gedit /etc/opt/brother/scanner/brscan4//brsanenetdevice4.cfg

Modify the IP address at the end of the file to the new IP address that the printer has. To find the new IP address, check the settings on the printer or your router.

The line should look something like this:

DEVICE=MFC-J6920DW , "MFC-J6920DW" , 0x4f9:0x2f5 , IP-ADDRESS=192.168.1.4

If this file is empty, most likely you haven’t set up the scanner with the Brother’s tool (you can download it freely from their website), and if you like to set it up, run the following:

brsaneconfig4 -a name=MFC-J6920DW model=MFC-J6920DW ip=192.168.1.4

That should be it.

Go to Top