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
213 stars 30 forks source link

Attempt to read property "name" on array #94

Closed Gamerboy59 closed 10 months ago

Gamerboy59 commented 10 months 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 10 months ago

Thank you for finding this

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

Gamerboy59 commented 10 months ago

Components part solved by #95