Tag: ReportingErrorHandler.php
-
Post Views: 16 1. In Laravel Framework 6.20.44, Nuwave/Lighthouse V5.52.1, an error is reported: Argument 1 Passed to App\\Exceptions\\Handler::report() must be an instance of exception, instance of error given, called in E:\WWRoot\\Object\Vendor\\nuwave\Lighthouse\src\execution\\reportingErrorHandler.php on line 39. as shown in Figure 1 2. Reference:https://www.shuijingwanwq.com/en/2022/01/26/9945/. The root cause is that the framework is not compatible with the extended version. However, it is now…
-
Post Views: 19 1. In Laravel Framework 6.20.44, Nuwave/Lighthouse V5.52.1, an error is reported: Argument 1 Passed to App\\Exceptions\\Handler::report() must be an instance of exception, instance of error given, called in E:\WWRoot\\Object\Vendor\\nuwave\Lighthouse\src\execution\\reportingErrorHandler.php on line 39. as shown in Figure 1 2. Reference:https://www.shuijingwanwq.com/en/2022/01/26/9945/. The root cause is that the framework is not compatible with the extended version. However, it is now…
-
Post Views: 16 1. Error: Argument 1 Passed to App\\Exceptions\\Handler::report() must be an instance of exception, instance of typeError given, called in E:\WWRoot\\Object\Vendor\\nuwave\Lighthouse\src\execution\\reportingErrorHandler.php on line 40. as shown in Figure 1 2. Reference URL:https://www.shuijingwanwq.com/en/2022/01/26/9945/. Caused by version compatibility issues. Edit /vendor/nuwave/lighthouse/src/execution/reportingErrorHandler.php. Print $error. Message: Argument 1 Passed to Nuwave\Lighthouse\Schema\TypeRegistry::get() must be of the type string, array given, Called in E:\WwWroot\Object\Vendor\NuWave\Lighthouse\src\Schema\Typeregistry.php…