Problem when upgrading to php 5.4

Hello,

When using php 5.4, there are many errors messages like:

[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB/common.php on line 2200, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB/common.php on line 1217, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB/common.php on line 1666, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB.php on line 1387, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB/common.php on line 1683, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically in /var/www/html/admin/libraries/sql.functions.php on line 24, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB/common.php on line 2200, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB/common.php on line 1217, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB/common.php on line 1666, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB.php on line 1387, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB/common.php on line 1683, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically in /var/www/html/admin/libraries/sql.functions.php on line 24, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB/common.php on line 2200, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB/common.php on line 1217, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB/common.php on line 1292, referer: http://192.168.1.7/html/admin/config.php?display=index
[Wed Apr 29 18:07:33 2015] [error] [client 192.168.1.76] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/DB.php on line 1387, referer: http://192.168.1.7/html/admin/config.php?display=index

It seems to be possible to change the error_reporting level but it is not the solution.

When will you make the modifications to the code?

Regards

FreePBX testing is still done on PHP 5.3 since that is what EL6 still includes by default. As you find issues please open bug reports at issues.freepbx.org

Thanks for the answer. Ok I will post on issues.freepbx.org