cp6 / my-idlers

Web app for displaying, organizing and storing information about servers (VPS), shared hosting, reseller hosting, domains and more.
https://demo.myidlers.com
MIT License
249 stars 30 forks source link

Attempt to read property "name" on array #94

Closed Gamerboy59 closed 1 year ago

Gamerboy59 commented 1 year ago

This error occures on the providers, os and locations blade (general blade as well as component blade). It looks like the function e.g. OS::allOS(); returns a list of arrays which is accessed like an object instead as array.

This one here is just an example but almost all blades are effected: https://github.com/cp6/my-idlers/blob/6bbbc232bd081449a2fda45ccaa5a34ce5971478/resources/views/os/index.blade.php#L21

cp6 commented 1 year ago

Thank you for finding this

https://github.com/cp6/my-idlers/commit/ec2947936b4634162f07d602e5f3bceb2b99a468

Gamerboy59 commented 1 year ago

Components part solved by #95