spliti함수에 의한 에러
CMS/프레임워크 | XE 1.x |
---|---|
개발 언어 | PHP 7.3 |
수동으로 소셜EX google 수정된것 받아서 설치했습니다. 로그인 성공 후 500에러가 납니다.
에러로그를 가져왔는데 spliti()함수에서 에러가 났다네요.
deprecated된거라 딴거로 대체를 해줘야 할거 같은데.. 뭘 어떻게 수정해야할지 모르겠습니다. 파일위치만 알아도 어떻게 해보겠는데..
preg_split ( string $pattern
, string $subject
[, int $limit
= -1 [, int $flags
= 0 ]] ) : array
cache 폴더에 있는 compiled.php 말고 템플릿 코드 어딘가에 있는걸 수정해야할거같은데.. 음.........
도움부탁드립니다
[03-Oct-2019 11:51:19 UTC] PHP Fatal error: Uncaught Error: Call to undefined function spliti() in /x1/files/cache/template_compiled/5f624833a8697fed6b68018764b8b98b.compiled.php:37
Stack trace:
#0 /x1/classes/template/TemplateHandler.class.php(430): include()
#1 /x1/classes/template/TemplateHandler.class.php(197): TemplateHandler->_fetch('file:///home/id...')
#2 /x1/files/cache/template_compiled/61a8bc5fed9579e4ab3f2a565ecb5ae1.compiled.php(104): TemplateHandler->compile('layouts/basic_t...', 'header.html')
#3 /x1/classes/template/TemplateHandler.class.php(430): include('/home/idgameus/...')
#4 /x1/classes/template/TemplateHandler.class.php(197): TemplateHandler->_fetch('file:///home/id...')
#5 /x1/modules/layout/layout.view.php(227): TemplateHandler->compile('./layouts/basic...', 'layout', '')
#6 /x1/classes/module/ModuleObject.class.php(443): la in /x1/files/cache/template_compiled/5f624833a8697fed6b68018764b8b98b.compiled.php on line 37
댓글 2
인걸 보아 사용하시는 레이아웃의 header.html 파일에서 에러난 것입니다.
spliti을 -> explode으로 수정해보세요.
https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-function-split/
참고링크