Unable to edit "my cats" info for CW102

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
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

Post 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
"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..."
User avatar
Jools
Expert
Posts: 15993
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
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

Post 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
User avatar
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

Post 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?
"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..."
User avatar
Jools
Expert
Posts: 15993
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
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

Post 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
User avatar
Jools
Expert
Posts: 15993
Joined: 30 Dec 2002, 15:25
My articles: 197
My images: 944
My catfish: 238
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:7, p:202)
My Wishlist: 23
Spotted: 447
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

Post by Jools »

This is now fixed.

Cheers,



Jools
Post Reply

Return to “All Resolved Issues”