Page 1 of 1

Error adding new species

Posted: 01 Jun 2021, 18:56
by bekateen
Hi Jools,

Today I tried to add a new Parotocinclus (from this description: viewtopic.php?f=14&t=50086), but received this message after submitting the new name using the "Add Recently or Undescribed Species" function:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function get_genus(), 1 passed in /home/webcat/planetcatfish.com/admin/classes/add_new_species.php on line 58 and exactly 2 expected in /home/webcat/planetcatfish.com/common/functions/get_genus.php:13 Stack trace: #0 /home/webcat/planetcatfish.com/admin/classes/add_new_species.php(58): get_genus(72) #1 /home/webcat/planetcatfish.com/admin/index.php(352): add_new_species->submit(Object(phpbb\db\driver\factory)) #2 /home/webcat/planetcatfish.com/admin/index.php(298): arn_admin_guts('ans', Object(phpbb\db\driver\factory), Object(phpbb\user), '5.2.1') #3 {main} thrown in /home/webcat/planetcatfish.com/common/functions/get_genus.php on line 13
Cheers, Eric

Re: Error adding new species

Posted: 01 Jun 2021, 21:48
by Jools
Ah, sorry a knock-on problem from something I was fixing at the weekend. Should be fixed now?

Cheers,

Jools

Re: Error adding new species

Posted: 01 Jun 2021, 22:29
by bekateen
Yes it works. Thanks! :-)

Cheers, Eric

Re: Error adding new species

Posted: 01 Jun 2021, 23:08
by Jools
Excellent, thanks as ever for your patience!

Jools