spacebase / spacebasenz

Website for SpaceBase New Zealand
http://dev-spacebasenz.pantheonsite.io/
GNU General Public License v2.0
0 stars 0 forks source link

TypeError in SpaceBaseCore.php #390

Closed treasuretron closed 4 years ago

treasuretron commented 4 years ago

In GitLab by @richbodo on Aug 19, 2019, 22:19

Just looking at the error message, it looks like someone was doing something with a group, and a null got passed as an argument instead of a group object. SpaceBaseCore should probably validate that input - it could just be bots passing in random stuff.

Here: https://spacebase.co/admin/reports/dblog/event/189158

treasuretron commented 4 years ago

In GitLab by @richbodo on Aug 19, 2019, 22:33

This happens almost every 20 minutes on the nose, so some cron job that wants to do something with groups is probably at fault.

treasuretron commented 4 years ago

In GitLab by @richbodo on Aug 19, 2019, 22:54

Ah, looks like a fix was prepared by James on branch 369-php-errors (branch 369-php-errors)

Sigh. In the merge queue with some other important-looking stuff and WIPs that probably need testing.

treasuretron commented 4 years ago

In GitLab by @richbodo on Aug 19, 2019, 23:01

I'm going to close this one and leave James old ticket open.

treasuretron commented 4 years ago

In GitLab by @richbodo on Aug 19, 2019, 23:01

closed