묻고답하기
xe 이전 php버전업 Strict Standards: Non-static method 에러
2015.06.29 10:47
Strict Standards: Declaration of ModuleObject::setMessage() should be compatible with Object::setMessage($message = 'success') in /host/home2/ks051/html/classes/module/ModuleObject.class.php on line 344
Strict Standards: Declaration of Mail::addAttachment() should be compatible with PHPMailer::AddAttachment($path, $name = '', $encoding = 'base64', $type = 'applicatio...') in /host/home2/ks051/html/classes/mail/Mail.class.php on line 17
Strict Standards: Redefining already defined constructor for class Validator in /host/home2/ks051/html/classes/validator/Validator.class.php on line 24
Strict Standards: Non-static method Context::getInstance() should not be called statically in /host/home2/ks051/html/index.php on line 48
Strict Standards: Non-static method FileHandler::hasContent() should not be called statically, assuming $this from incompatible context in /host/home2/ks051/html/classes/context/Context.class.php on line 1385
Strict Standards: Non-static method FileHandler::hasContent() should not be called statically, assuming $this from incompatible context in /host/home2/ks051/html/classes/context/Context.class.php on line 1385
Strict Standards: Non-static method ModuleHandler::getModuleInstance() should not be called statically in /host/home2/ks051/html/config/func.inc.php on line 91
Strict Standards: Non-static method ModuleHandler::getModulePath() should not be called statically in /host/home2/ks051/html/classes/module/ModuleHandler.class.php on line 635
Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /host/home2/ks051/html/classes/module/ModuleHandler.class.php on line 636
Strict Standards: Non-static method FileHandler::getRealPath() should not be called statically in /host/home2/ks051/html/classes/module/ModuleHandler.class.php on line 660
Strict Standards: Non-static method Context::getLang() should not be called statically, assuming $this from incompatible context in /host/home2/ks051/html/classes/object/Object.class.php on line 57
Strict Standards: Non-static method Context::getLang() should not be called statically, assuming $this from incompatible context in /host/home2/ks051/html/classes/object/Object.class.php on line 57
Strict Standards: Non-static method Context::loadLang() should not be called statically in /host/home2/ks051/html/classes/module/ModuleHandler.class.php on line 673
Strict Standards: Non-static method Context::getInstance() should not be called statically in /host/home2/ks051/html/classes/context/Context.class.php on line 477
Strict Standards: Non-static method Context::getDefaultUrl() should not be called statically, assuming $this from incompatible context in /host/home2/ks051/html/modules/module/module.model.php on line 71
Strict Standards: Non-static method Context::getDBInfo() should not be called statically, assuming $this from incompatible context in /host/home2/ks051/html/classes/context/Context.class.php on line 307
Strict Standards: Non-static method Context::getInstance() should not be called statically, assuming $this from incompatible context in /host/home2/ks051/html/classes/context/Context.class.php on line 288
웹 호스팅을 사용중이라 php 버전을 낮출수가 없는데요 소스상 변경하여 에러 제거 방법은 없을까요??
웹 호스팅 버전은 PHP Version 5.5.25 입니다. ㅠ
config 폴더의 config.inc.php 맨 위에 Strict 에러는 나오지 않도록 하는 명령이 있는데요...
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING ^ E_STRICT);
어떤 이유에서인지 이 명령이 누락되었거나 효과를 발휘하지 못하고 있는 것 같습니다.
해당파일을 확인해 보시고, 누락되었다면 넣어주세요.