我们团队的一台(mac)机器上只有一个超级奇怪的错误。它适用于其他人。
系统设置:
操作系统:Mac OS X Mojave 10.14.6
浏览器:铁
php 7.4.3
通过浏览器访问http://127.0.0.1:8000curl http:127.0.0.1:8000 -o output.html
时的错误或者如下(两者相同):
3/3) UnsupportedMediaTypeHttpException
Format 'html' not supported, handler must be implemented
in ViewHandler.php line 313
at ViewHandler->handle(object(View))
in ExceptionController.php line 72
at ExceptionController->showAction(object(Request), object(BadRequestHttpException), object(Logger))
in HttpKernel.php line 151
at HttpKernel->handleRaw(object(Request), 2)
in HttpKernel.php line 68
at HttpKernel->handle(object(Request), 2, false)
in ExceptionListener.php line 61
at ExceptionListener->onKernelException(object(ExceptionEvent))
in ExceptionListener.php line 41
at ExceptionListener->onKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
in WrappedListener.php line 126
at WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
in EventDispatcher.php line 260
这会(1/3) SuspiciousOperationException, Untrusted Host "127.0.0.1"和任何人一起敲响警钟吗?系统上没有安装特定的其他软件,这可能会导致这种干扰(至少我们是这样认为的)
慕妹3242003