D
D
devilsD2021-07-22 19:04:11
Laravel
devilsD, 2021-07-22 19:04:11

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 question

Ask a Question

731 491 924 answers to any question