Getting rid of Creating default object from empty value
Posted: Tue Aug 27, 2013 1:50 am
After updating php, so many warning started to appear on one of the phpBB installations and I came to realise that those are actually simple things to sort out. However we can even smoothly turn off the warning. This is how you could do that.
Open common.php
Find:
Replace with:
Open common.php
Find:
Code: Select all
// Report all errors, except notices
error_reporting(E_ALL ^ E_NOTICE);
Code: Select all
// Report all errors, except notices
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);