laravel / jetstream

Tailwind scaffolding for the Laravel framework.
https://jetstream.laravel.com
MIT License
3.97k stars 822 forks source link

Unable to register a new user on fresh Jetstream installation. #516

Closed vwmoose closed 3 years ago

vwmoose commented 3 years ago

Description:

Currently I'm unable to register a new user on a fresh Jetstream installation with Teams. The following error occurs:-

ErrorException Non-static method App\Models\User::create() should not be called statically

Illuminate\Foundation\Bootstrap\HandleExceptions::handleError app/Actions/Fortify/CreateNewUser.php:31

Steps To Reproduce:

Install Laravel with Jetstream and Teams. Click Register (top right) Fill in registration form and submit.

driesvints commented 3 years ago

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.

vwmoose commented 3 years ago

@driesvints did you even look at this issue? This is a problem that did not occur on v1.4 and now does on v1.6. This is not my code and is an issue, I believe, with a file shipped with the library.

joelbutcher commented 3 years ago

@vwmoose Do you have any code references to backup this issue report? Just done a clean v1.6 install and not had an issue

vwmoose commented 3 years ago

I'm going to have to eat humble pie, seems as if it may be attributable to a trait applied on the User model by a package I'm developing! Sorry for the inconvenience!