Framework: Class setEventDispatcher does not exist

Created on 26 Feb 2019  路  4Comments  路  Source: laravel/framework

  • Laravel Version: 5.8.0
  • PHP Version: 7.3.0
  • Database Driver & Version: MySQL 5.7.24

Description:

I have create a new laravel application and migrated the default migrations. I have also generated the default authentication scaffolding. However, when I go to register a user I get the following error message: Class setEventDispatcher does not exist

Steps To Reproduce:

  • Create a new laravel application from scratch
  • Set database details
  • Migrate the default migrations (php artisan migrate)
  • Generate the authentication scaffolding (php artisan make:auth)
  • Try to register a user

Image

Most helpful comment

https://github.com/laravel/framework/issues/27052

This is a known PHP 7.3.0 bug. You should update your PHP version (ideally to 7.3.2).

All 4 comments

I have tried restarting valet. However, I am still experiencing the same issue.

https://github.com/laravel/framework/issues/27052

This is a known PHP 7.3.0 bug. You should update your PHP version (ideally to 7.3.2).

That seemed to fix the problem @X-Coder264, thank you for your help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RomainSauvaire picture RomainSauvaire  路  3Comments

progmars picture progmars  路  3Comments

SachinAgarwal1337 picture SachinAgarwal1337  路  3Comments

PhiloNL picture PhiloNL  路  3Comments

kerbylav picture kerbylav  路  3Comments