B
B
Blud732014-03-04 17:04:49
Laravel
Blud73, 2014-03-04 17:04:49

Laravel - how to limit output errors?

How to make Laravel stop giving errors about Undefined variable: ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
hbuser, 2014-03-05
@Blud73

Try setting the debug directive to false in config/app.php.
In general, as they said, you need to pass a variable or check its existence before using it.

A
Alexey, 2014-03-05
@xelam

So, maybe you just need to pass a variable to the template?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question