framework: Illegal offset type in isset or empty (version: 5.7)

Url: “/password/email”

ErrorException …/vendor/laravel/framework/src/Illuminate/Support/NamespacedItemResolver.php25

// If we've already parsed the given key, we'll return the cached version we
// already have, as this will save us some processing. We cache off every
// key we parse so we can quickly return it on all subsequent requests.
if (isset($this->parsed[$key])) {
    return $this->parsed[$key];
}

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 29 (11 by maintainers)

Most upvoted comments

You have to adjust the signature of ResetPasswordController::sendResetResponse():

protected function sendResetResponse(Request $request, $response)

This has been changed in Laravel 5.7 (upgrade guide).

@dalexhd You have to apply the same change to ResetPasswordController::sendResetLinkResponse().

hello guys I’m facing this issue Illegal offset type in isset or empty (version: 8.19) on Laravel 8 kindly suggest me this problem solution.

same problem, and solved , dut to changed in laravle new update 5.7

protected function sendResetResponse(Request $request, $response)

thank you !!!