내 사이트에 플래시가있는 페이지가 하나 있지만 문제가 있습니다. 내가이 오류를 얻을 site.com/amfphp/gateway.php dircetly 파일을 실행하려고 할 때 : amfphp 파일을 실행할 때 오류가 발생합니다.
Fatal error: Uncaught exception 'VerboseException' with message 'Non-static method CharsetHandler::setMethod() should not be called statically, assuming $this from incompatible context' in ....
function service() {
//Set the parameters for the charset handler
CharsetHandler::setMethod($this->_charsetMethod); // the problem point here
CharsetHandler::setPhpCharset($this->_charsetPhp);
CharsetHandler::setSqlCharset($this->_charsetSql);
//Attempt to call charset handler to catch any uninstalled extensions
$ch = new CharsetHandler('flashtophp');
$ch->transliterate('?');
$ch2 = new CharsetHandler('sqltophp');
$ch2->transliterate('?');
가 어떻게이 문제를 해결할 수 있습니까?
각 개체의 메서드를 대신 호출 해보십시오. '$ ch-> setMethod ($ this -> _ charsetMethod);' –
나는 그것을 부를 것이지만, 어떤 매개 변수를 넣어야 할까? 012ch'$ ch = new ChasetHandler ('HERE'); –