#1287 Static Constants Needing Fixed

XOOPS_2.5.x
pending
Michael Beck
None
1
2013-09-14
2013-08-01
No

The following errors occure with 2.5.6 and Php 5.4 with the following error checking error_reporting(E_ERROR | E_STRICT);

Routine need to be declared Public Static.

Errors:

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in Q:\@websites@\coop\labs\dev1\include\common.php on line 49

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in Q:\@websites@\coop\labs\dev1\class\xoopsload.php on line 71

Strict Standards: Non-static method XoopsLoad::loadCoreConfig() should not be called statically in Q:\@websites@\coop\labs\dev1\class\xoopsload.php on line 91

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in Q:\@websites@\coop\labs\dev1\class\preload.php on line 28

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in Q:\@websites@\coop\labs\dev1\class\xoopsload.php on line 71

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in Q:\@websites@\coop\labs\dev1\class\preload.php on line 29

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in Q:\@websites@\coop\labs\dev1\class\xoopsload.php on line 71

Strict Standards: Non-static method XoopsPreload::getInstance() should not be called statically in Q:\@websites@\coop\labs\dev1\include\common.php on line 50

Strict Standards: Non-static method XoopsCache::read() should not be called statically, assuming $this from incompatible context in Q:\@websites@\coop\labs\dev1\class\preload.php on line 85

Strict Standards: Non-static method XoopsCache::getInstance() should not be called statically, assuming $this from incompatible context in Q:\@websites@\coop\labs\dev1\class\cache\xoopscache.php on line 263

Strict Standards: Declaration of XoopsCacheFile::write() should be compatible with XoopsCacheEngine::write($key, &$value, $duration) in Q:\@websites@\coop\labs\dev1\class\cache\file.php on line 308

Strict Standards: Non-static method XoopsLoad::load() should not be called statically, assuming $this from incompatible context in Q:\@websites@\coop\labs\dev1\class\cache\file.php on line 110

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically, assuming $this from incompatible context in Q:\@websites@\coop\labs\dev1\class\xoopsload.php on line 71

Strict Standards: Non-static method XoopsFile::getHandler() should not be called statically, assuming $this from incompatible context in Q:\@websites@\coop\labs\dev1\class\cache\file.php on line 111

Strict Standards: Non-static method XoopsFile::load() should not be called statically, assuming $this from incompatible context in Q:\@websites@\coop\labs\dev1\class\file\xoopsfile.php on line 108

Strict Standards: Non-static method XoopsLoad::load() should not be called statically, assuming $this from incompatible context in Q:\@websites@\coop\labs\dev1\class\file\file.php on line 105

Strict Standards: Non-static method XoopsFile::getHandler() should not be called statically, assuming $this from incompatible context in Q:\@websites@\coop\labs\dev1\class\file\file.php on line 106

Strict Standards: Non-static method XoopsFile::load() should not be called statically, assuming $this from incompatible context in Q:\@websites@\coop\labs\dev1\class\file\xoopsfile.php on line 108

Strict Standards: Non-static method XoopsLists::getFileListAsArray() should not be called statically, assuming $this from incompatible context in Q:\@websites@\coop\labs\dev1\class\preload.php on line 89

Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method ProtectorCorePreload::eventCoreIncludeCommonStart() should not be called statically in Q:\@websites@\coop\labs\dev1\class\preload.php on line 140

Strict Standards: Non-static method Protector::getInstance() should not be called statically in Q:\@websites@\coop\labs\dev1\xoops_lib\modules\protector\include\precheck_functions.php on line 12

Strict Standards: Non-static method XoopsUserUtility::getIP() should not be called statically in Q:\@websites@\coop\labs\dev1\modules\xortify\include\functions.php on line 197

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in Q:\@websites@\coop\labs\dev1\include\common.php on line 60

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in Q:\@websites@\coop\labs\dev1\class\xoopsload.php on line 71

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in Q:\@websites@\coop\labs\dev1\include\common.php on line 68

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in Q:\@websites@\coop\labs\dev1\class\xoopsload.php on line 71

Strict Standards: Non-static method XoopsLoad::load() should not be called statically in Q:\@websites@\coop\labs\dev1\include\common.php on line 75

Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in Q:\@websites@\coop\labs\dev1\class\xoopsload.php on line 71

Strict Standards: Non-static method XoopsLogger::getInstance() should not be called statically in Q:\@websites@\coop\labs\dev1\include\common.php on line 76

Discussion

  • Michael Beck
    Michael Beck
    2013-09-14

    • status: open --> pending
    • assigned_to: Michael Beck