Page 1 of 1

Error message when "Quick adding" a known species

Posted: 28 May 2020, 20:48
by bekateen
Hi Jools,

I just attempted to add some Pseudauchenipterus to the CLOG using the "Quick add described species" tool. I received this error and the species were not added using this option. So I used the "Add recently or undescribed species" tool to work around this and was able to add the species (obviously not ideal to do it this way).

Cheers, Eric




Fatal error: Uncaught Error: Call to undefined method Coffee::species_data() in /home/webcat/planetcatfish.com/admin/functions/add_species.php:18 Stack trace: #0 /home/webcat/planetcatfish.com/admin/classes/quick_add_species.php(43): add_species('Pseudauchenipte...', true) #1 /home/webcat/planetcatfish.com/admin/index.php(349): quick_add_species->submit(Object(phpbb\db\driver\factory)) #2 /home/webcat/planetcatfish.com/admin/index.php(296): arn_admin_guts('qas', Object(phpbb\db\driver\factory), Object(phpbb\user), '5.1.2') #3 {main} thrown in /home/webcat/planetcatfish.com/admin/functions/add_species.php on line 18

Re: Error message when "Quick adding" a known species

Posted: 31 May 2020, 19:39
by Jools
OK, thanks for reporting, I'll have a look at it.

Jools

Re: Error message when "Quick adding" a known species

Posted: 04 Jun 2020, 11:04
by Jools
This is now fixed. "Coffee" is a group of functions that looks up Catalog of Fishes for a view on the validity of a species, I'd been doing some work on modernising it and didn't hook it back up to the quick add species admin function.

Cheers,

Jools

Re: Error message when "Quick adding" a known species

Posted: 04 Jun 2020, 13:10
by bekateen
Thank you, Jools! Will give it a test later this week.

Cheers, Eric

Re: Error message when "Quick adding" a known species

Posted: 04 Jun 2020, 15:33
by bekateen
Tried to add a number of old species in Bagrus, Silurus, and other genera (below). No error messages, but none of the species were found. Not what I expected.

Here's four examples:
Kryptopterus baramensis
Kryptopterus hesperius
Kryptopterus lumholtzi

Pseudobagarius nitidus

Sorry,
Eric

Re: Error message when "Quick adding" a known species

Posted: 04 Jun 2020, 16:32
by Jools
Sorry Eric, didn't have time to test before. Have fixed the other problem and also checked by adding the first species on your list.

Cheers,

Jools

Re: Error message when "Quick adding" a known species

Posted: 04 Jun 2020, 18:41
by bekateen
Thank you. Works well now! :-)

Cheers, Eric