没有 I18n\Translator 模块的 HeadTitle 查看器出现致命错误
Fatal Error on HeadTitle viewer without I18n\Translator module
通过安装骨架启动 zend framework 3,当我 运行 应用程序崩溃并给出以下致命错误时:-
Fatal error: Method Zend\View\Helper\HeadTitle::__toString() must not throw an exception, caught
Zend\I18n\Exception\ExtensionNotLoadedException: Zend\I18n\Translator component requires the intl PHP
extension in C:\xampp\htdocs\sample-crud\module\Application\view\layout\layout.phtml on line 0
我想我错过了一些扩展,我不知道如何解决?
留言说清楚了:
Zend\I18n\Translator component requires the intl PHP
extension
所以你需要enable intl PHP extension.
通过安装骨架启动 zend framework 3,当我 运行 应用程序崩溃并给出以下致命错误时:-
Fatal error: Method Zend\View\Helper\HeadTitle::__toString() must not throw an exception, caught
Zend\I18n\Exception\ExtensionNotLoadedException: Zend\I18n\Translator component requires the intl PHP
extension in C:\xampp\htdocs\sample-crud\module\Application\view\layout\layout.phtml on line 0
我想我错过了一些扩展,我不知道如何解决?
留言说清楚了:
Zend\I18n\Translator component requires the intl PHP extension
所以你需要enable intl PHP extension.