You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xhgui配置好以后,浏览器访问报错如下,大神帮忙指点一下,感谢。
xhgui deployed done! i got the error when i visit it in the browser!
Fatal error: Uncaught TypeError: Return value of XHGui\ServiceProvider\ServiceProvider::setupPaths() must be an instance of XHGui\ServiceProvider\void, none returned in /home/xhgui/src/ServiceProvider/ServiceProvider.php:21 Stack trace: #0 /home/xhgui/src/ServiceProvider/ServiceProvider.php(13): XHGui\ServiceProvider\ServiceProvider->setupPaths(Object(XHGui\Application)) #1 /home/xhgui/vendor/pimple/pimple/src/Pimple/Container.php(297): XHGui\ServiceProvider\ServiceProvider->register(Object(XHGui\Application)) #2 /home/xhgui/src/Application.php(17): Pimple\Container->register(Object(XHGui\ServiceProvider\ServiceProvider)) #3 /home/xhgui/webroot/index.php(9): XHGui\Application->__construct() #4 {main} thrown in /home/xhgui/src/ServiceProvider/ServiceProvider.php on line 21
The text was updated successfully, but these errors were encountered:
xhgui配置好以后,浏览器访问报错如下,大神帮忙指点一下,感谢。 xhgui deployed done! i got the error when i visit it in the browser!
Fatal error: Uncaught TypeError: Return value of XHGui\ServiceProvider\ServiceProvider::setupPaths() must be an instance of XHGui\ServiceProvider\void, none returned in /home/xhgui/src/ServiceProvider/ServiceProvider.php:21 Stack trace: #0 /home/xhgui/src/ServiceProvider/ServiceProvider.php(13): XHGui\ServiceProvider\ServiceProvider->setupPaths(Object(XHGui\Application)) #1 /home/xhgui/vendor/pimple/pimple/src/Pimple/Container.php(297): XHGui\ServiceProvider\ServiceProvider->register(Object(XHGui\Application)) #2 /home/xhgui/src/Application.php(17): Pimple\Container->register(Object(XHGui\ServiceProvider\ServiceProvider)) #3 /home/xhgui/webroot/index.php(9): XHGui\Application->__construct() #4 {main} thrown in /home/xhgui/src/ServiceProvider/ServiceProvider.php on line 21
i fing the reason ,it's my fault . i use a php with version 7.0. shoud 7.2 or 8.0.
xhgui配置好以后,浏览器访问报错如下,大神帮忙指点一下,感谢。
xhgui deployed done! i got the error when i visit it in the browser!
Fatal error: Uncaught TypeError: Return value of XHGui\ServiceProvider\ServiceProvider::setupPaths() must be an instance of XHGui\ServiceProvider\void, none returned in /home/xhgui/src/ServiceProvider/ServiceProvider.php:21 Stack trace: #0 /home/xhgui/src/ServiceProvider/ServiceProvider.php(13): XHGui\ServiceProvider\ServiceProvider->setupPaths(Object(XHGui\Application)) #1 /home/xhgui/vendor/pimple/pimple/src/Pimple/Container.php(297): XHGui\ServiceProvider\ServiceProvider->register(Object(XHGui\Application)) #2 /home/xhgui/src/Application.php(17): Pimple\Container->register(Object(XHGui\ServiceProvider\ServiceProvider)) #3 /home/xhgui/webroot/index.php(9): XHGui\Application->__construct() #4 {main} thrown in /home/xhgui/src/ServiceProvider/ServiceProvider.php on line 21
The text was updated successfully, but these errors were encountered: