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
Unable to edit "my cats" info for CW102
- Fallen_Leaves16
- Posts: 65
- Joined: 09 Sep 2022, 17:04
- My cats species list: 30 (i:15, k:16)
- Spotted: 34
- Location 1: Charlotte, NC
- Location 2: United States of America
Unable to edit "my cats" info for CW102
"If it looks like a duck, and quacks like a duck, then it's probably some sort of mutated goose, in today's day and age..."
- Jools
- Expert
- Posts: 16001
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 946
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My BLogs: 7 (i:7, p:202)
- My Wishlist: 23
- Spotted: 448
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Unable to edit "my cats" info for CW102
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
Cheers,
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Fallen_Leaves16
- Posts: 65
- Joined: 09 Sep 2022, 17:04
- My cats species list: 30 (i:15, k:16)
- Spotted: 34
- Location 1: Charlotte, NC
- Location 2: United States of America
Re: Unable to edit "my cats" info for CW102
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?
"If it looks like a duck, and quacks like a duck, then it's probably some sort of mutated goose, in today's day and age..."
- Jools
- Expert
- Posts: 16001
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 946
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My BLogs: 7 (i:7, p:202)
- My Wishlist: 23
- Spotted: 448
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Unable to edit "my cats" info for CW102
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
Cheers,
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- Jools
- Expert
- Posts: 16001
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 946
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My BLogs: 7 (i:7, p:202)
- My Wishlist: 23
- Spotted: 448
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Unable to edit "my cats" info for CW102
This is now fixed.
Cheers,
Jools
Cheers,
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.