简体   繁体   中英

ErrorException (E_NOTICE) Trying to get property of non-object

hello everyone could help me with the following problem, I am using laravel 5.5 and I am doing a system of incidents.

I get this error could help me please to see what is wrong thanks

error:

在此处输入图片说明

There is no ProjectUser record that matches your query and that's why $projectUser is null and this is causing the error.

Add conditional to check if $projectUser exists.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM