Answer the question
In order to leave comments, you need to log in
Laravel. Why doesn't @comments directive work on hosting?
I use https://github.com/laravelista/comments
On local PHP7.4
. On php8 hosting
The code in the template:
@comments(['model' => $product])
in the first case (local) everything is displayed correctly, and on the host it displays the line
(['model' => $product])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question