Undefined property: > stdClass error when using date type column on Laravel. How can I solve it?
According to the Error message, you are call the attributes named $solicitacao_data
in the solicitacoes.blade.php,
Your stdClass $sol
have no attribute solicitacao_data
, so the error occurs.
Make sure to select the column solicitacao_data
by query,
and don't put this field in model's $hidden
.