PHP7-Fehlerbehandlung, Problemlösung.
阿神
阿神 2017-07-03 11:41:02
0
1
703
Uncaught TypeError: Argument 1 passed to base_exception_handler::report() must be an instance of Exception, instance of TypeError given, called in 
阿神
阿神

闭关修行中......

Antworte allen(1)
学霸

已经提示的很清楚了,base_exception_handler::report()第一个参数必须是Exception实例,而你传入的是TypeError实例

附上PHP对于ExceptionTypeError类型的说明:
http://php.net/manual/en/clas...
http://php.net/manual/en/clas...

Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage