DD() prints value but return statement ‘non-object’

Published

I am using data tables for package for Laravel API
enter image description here

enter image description here

in there can’t return foreign value
when I return foreign value its says

"error": "Exception Message:nnTrying to get property 'zoomname' of non-object"

like below image
enter image description here

then I used dd() function it working properly
enter image description here

enter image description here

when I use dump($time_tables->zoom->zoomname)
enter image description here

any one can you help me???

Source: Laravel

Published
Categorised as datatables, laravel Tagged ,

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq