js in laravel ?
Ok but cache make this issue like?
And controller?
What am I doing?
Can you send complete code?

this error for mix require
Thanks buddy
run npm i bulma-carousel
is run

NYC based software development consultancy focused on mobile, web, desktop and tv applications.
The only thing you need its how to Integrate vue with laravel, you can learn vue with a another course

recreate model
Ok but cache make this issue like?
{
auth()->user()->faq()->update($request->all());
return redirect()->route(‘faq.index’);
}


{
auth()->user()->faq()->update($request->all());
return redirect()->route(‘faq.index’);
}
This is my Controlller
Pretty sure you are using
$Guard = []
So it is trying to use every input in the request and _method is one of them.


return is not work
how echo arraye

is now echo array

this error
please help meππ½ππ½ππ½ππ½ππ½ππ½ππ½ππ½ππ½ππ½ππ½ππ½ππ½ππ½
just replace $products with $products[0] and you should be good. test if it works
maybe run composer dump autoload with proper backup
you have 2 ways i) specify table name in model by $table=”table_name” ii) create new model with complate different name and it will be work.
don’t forget to check table name in your Database……catefully
> SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘_method’ in ‘field list’ (SQL: update faqs set _method = PUT, _token = Kz2Wkgd44UA3nOVzmE8PhCGH66ywP296UqUQR8m6, title = q, body = q, faqs.updated_at = 2019-09-15 18:55:06 where faqs.user_id = 1 and faqs.user_id is not null)
FaqController.php
public function update(FaqRequest $request, Faq $faq)
{
auth()->user()->faq()->update($request->all());
return redirect()->route(‘faq.index’);
}
edit.blade.php
<form action=”{{ route(‘faq.update’, $faq->id ) }}” method=”post”>
@method(‘PUT’)
@csrf
@include(‘errors.validate’)
<div class=”form-group”>
<label for=”title”>title</label>
<input type=”text” class=”form-control col-md-3″ id=”title” name=”title” value=”{{ old(‘title’) ? : $faq->title }}”>
</div>
<div class=”form-group”>
<label for=”body”>body</label>
<textarea class=”form-control” rows=”10″ id=”body” name=”body”>{{ old(‘body’) ? : $faq->body }}</textarea>
</div>
<div class=”form-group”>
<button type=”submit” class=”btn btn-primary”>save</button>
</div>
</form>
User.php
public function faq()
{
return $this->hasMany(Faq::class);
}
Faq.php
class Faq extends Model
{
protected $table = ‘faqs’;
protected $guarded = [];
protected $fillable = [‘title’, ‘body’];
}
ππππππ