Fatal Error
[2048] Non-static method PEAR_ErrorStack::singleton() should not be called statically (@line 983 in file /usr/share/php/PEAR/ErrorStack.php).
Debug Backtrace
I've solved this problem.
This error was caused by php version. High version php check 'static' more strictly. So, there are two solutions:
a) downgrade php version
b) modify the declaration of function PEAR_ErrorStatck::singleton(), make it 'static'.
That cant be the only solution to change some PEAR files. That error should be fixed inside the svnmanager project?!
Log in to post a comment.
Fatal Error
[2048] Non-static method PEAR_ErrorStack::singleton() should not be called statically (@line 983 in file /usr/share/php/PEAR/ErrorStack.php).
Debug Backtrace
1 ErrorStack.php:983 -- pradoErrorHandler(...)
2 ErrorStack.php:983 -- PEAR_ErrorStack::singleton()
3 UserPrivilegesEditPage.php:4 -- require_once(...)
4 prado.php:156 -- require_once(...)
5 TApplication.php:630 -- pradoImportClass(...)
6 TApplication.php:482 -- TApplication->loadPage(...)
7 index.php:5 -- TApplication->run()
I've solved this problem.
This error was caused by php version. High version php check 'static' more strictly. So, there are two solutions:
a) downgrade php version
b) modify the declaration of function PEAR_ErrorStatck::singleton(), make it 'static'.
That cant be the only solution to change some PEAR files. That error should be fixed inside the svnmanager project?!
Last edit: Mr. Eko 2014-11-16