Laravel 5.8 blade, getting values from nested objects error

I am getting some weird error while working with blade.

It works just like it should when getting the data inside a dd(), but when calling it without a dd(), an error is thrown telling me that it can't find a field in my object.

In my blade file, this works just fine:


This doesn't:

<img src="" />

The error:

Undefined property: stdClass::$image (View: /home/vagrant/code/xxxxxx/resources/views/resources.blade.php)



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3kBtRQc
via IFTTT

تعليقات

المشاركات الشائعة من هذه المدونة

5 Free Black and White Social Media Icons Sets with CSS and HTML

How to Create Treeview with Bootstrap and jQuery

How to Change Apache and MySQL Port Number in XAMPP Localhost