Page 1 of 1

Unable to edit "my cats" info for CW102

Posted: 31 Oct 2023, 03:02
by Fallen_Leaves16
Tried to edit some info on my CW102 entry earlier, and got this error message. Doesn't seem to be an issue with other species, though I didn't check many.

Fatal error: Uncaught TypeError: Unsupported operand types: int + string in /home/webcat/planetcatfish.com/common/includes/my_fish_validate.php:33 Stack trace: #0 /home/webcat/planetcatfish.com/common/my_fish.php(179): require_once() #1 /home/webcat/planetcatfish.com/common/my_fish.php(53): arn_my_fish_guts(59514, '265', 'validate', 'all', 'Fallen_Leaves16', '') #2 {main} thrown in /home/webcat/planetcatfish.com/common/includes/my_fish_validate.php on line 33

Re: Unable to edit "my cats" info for CW102

Posted: 05 Nov 2023, 10:35
by Jools
It seems there is a specific thing you're typing into a field - maybe the "group size" field. Can you recall / tell me what that was you were trying to do?

Cheers,

Jools

Re: Unable to edit "my cats" info for CW102

Posted: 06 Nov 2023, 14:00
by Fallen_Leaves16
Jools wrote: 05 Nov 2023, 10:35 It seems there is a specific thing you're typing into a field - maybe the "group size" field. Can you recall / tell me what that was you were trying to do?

Cheers,

Jools
I unfortunately can't remember what I was trying to do- it may have been group size, but it also could've been the husbandry notes. Or both, in hindsight.
Oddly enough, I can't get the bug to appear again, despite re-updating several things. No clue how bugs and errors work, but maybe it was just a one-time thing?

Re: Unable to edit "my cats" info for CW102

Posted: 06 Nov 2023, 20:46
by Jools
I had a play around with it and I think the error will happen if you change a number in the gender ratio bit to just a space and then click submit. It should be more robust than this, so I will take a look at doing that.

Cheers,

Jools

Re: Unable to edit "my cats" info for CW102

Posted: 08 Nov 2023, 17:17
by Jools
This is now fixed.

Cheers,



Jools