Archive for July, 2015
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:
Go to line 706 and modify the line from:
<?php echo self::$this->_help_sidebar; ?>
<?php echo $this->_help_sidebar; ?>
In summary, remove the ‘self::‘ part.
Save it and re-login/refresh your WordPress admin panel.
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:
Or if you prefer gedit
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.