laravel 8 Call to a member function middleware() on array [closed]

Published

I have a problem with a middleware as following:

the error is:

Call to a member function middleware() on array

Route::post('/pictures', [PictureController::class,'store']->middleware('AppHttpMiddlewareReact'));

if someone have an idea….
thanks

Source: Laravel

Published
Categorised as laravel, php Tagged ,

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq