Extra Form
PHP PHP 5.6
CMS XpressEngine
홈페이지에 접속하면 간헐적으로 500에러가 나와 PHP 로그를 보니
PHP Fatal error:  Call to a member function getModuleActionXml() on null in D:\classes\module\ModuleHandler.class.php on line 327

상단 에러 메세지는 몇초마다 계속 나오고 있습니다.

327라인은 붉은색 부분입니다.

function procModule()

{

$oModuleModel = getModel('module');

 

// If error occurred while preparation, return a message instance

if($this->error)

{

$this->_setInputErrorToContext();

$type = Mobile::isFromMobilePhone() ? 'mobile' : 'view';

$oMessageObject = ModuleHandler::getModuleInstance('message', $type);

$oMessageObject->setError(-1);

$oMessageObject->setMessage($this->error);

$oMessageObject->dispMessage();

if($this->httpStatusCode)

{

$oMessageObject->setHttpStatusCode($this->httpStatusCode);

}

return $oMessageObject;

}

 

// Get action information with conf/module.xml

 

$xml_info = $oModuleModel->getModuleActionXml($this->module);

문구가 뜨면서 에러 메세지가 뜨네요.

근데 새로 고침을 눌러주면 다시 정상적인 홈페이지로 들어갑니다...

매번 이런식으로 반복이 됩니다.

그래서 AWS를 이용중인데 서버를 몇번을 내렸다 올리면 정상적으로 돌아오구요..

최근에 봇을 이용한 사이트 접근이 많은거 같긴한데요..

이거 때문에 사이트가 죽는경우가 있나요?

이게 아니라면 cache 문제인가 해서 지워봐도 마찬가지 입니다.

고수님들의 답변 부탁드리겠습니다.

감사합니다.