Error message when quick adding an existing species

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
Posts: 7900
Joined: Tue Sep 09, 2014 5:50 pm
I've donated: $40.00!
My articles: 4
My images: 88
My cats species list: 128 (i:38, k:46)
My aquaria list: 30 (i:13)
My BLogs: 37 (i:129, p:1918)
My Wishlist: 39
Spotted: 157
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton

Error message when quick adding an existing species

Post by bekateen »

Hi Jools,
I tried to add Hypostomus spiniger in response to Karsten's post about H. commersoni, but I received this error after pressing submit:
Fatal error: Uncaught Error: Using $this when not in object context in /home/webcat/ Stack trace: #0 /home/webcat/ add_species('Hypostomus spin...', true, 5) #1 /home/webcat/ quick_add_species->submit(Object(phpbb\db\driver\factory)) #2 /home/webcat/ arn_admin_guts('qas', Object(phpbb\db\driver\factory), Object(phpbb\user), '5.2.0') #3 {main} thrown in /home/webcat/ on line 110
Cheers, Eric
Would you like to buy my fish? Click HERE for prices.
Buying caves from Plecocaves is now sponsoring Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
User avatar
Posts: 15525
Joined: Mon Dec 30, 2002 3:25 pm
My articles: 195
My images: 941
My catfish: 239
My cats species list: 90 (i:0, k:2)
My BLogs: 7 (i:5, p:194)
My Wishlist: 21
Spotted: 1024
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.

Re: Error message when quick adding an existing species

Post by Jools »

This bug is fixed. Bit of an obscure one, the bug would only appear if you tried to "quick add" a species name that already existed but as a synonym of something else. Anyway, the whole thing now works as it should. Want to try it out?


Thanks for reporting,

Post Reply