Page 1 of 1

Error message when adding new species.

Posted: 08 Apr 2023, 06:48
by bekateen
(EDIT: I realize this was reported about two weeks ago with the Glyptothorax irraoratus thread in the Science News thread)

Hi Jools,

I tried to add a newly described species and got this error:
Fatal error: Uncaught Error: Call to undefined function get_genus() in
/home/webcat/planetcatfish.com/admin/classes/add_new_species.php:68 Stack trace: #0
/home/webcat/planetcatfish.com/admin/index.php(173): add_new_species->submit(Object(phpbb\db\driver\factory)) #1
/home/webcat/planetcatfish.com/admin/index.php(132): arn_admin_guts('ans', '6.2.0, released...') #2 {main} thrown in
/home/webcat/planetcatfish.com/admin/classes/add_new_species.php on line 68
Cheers, Eric

Re: Error message when adding new species.

Posted: 11 Apr 2023, 20:55
by bekateen
Hi Jools, I know you're working on all this, so don't take this as urgency. But I thought I'd share that I tried again today and got a slightly different error message. Hopefully this offers more help.

Cheers, Eric
Fatal error: Uncaught Error: Call to undefined function genus_row_from_name() in /home/webcat/planetcatfish.com/admin/functions/add_species.php:101 Stack trace: #0 /home/webcat/planetcatfish.com/admin/classes/add_new_species.php(71): add_species('parauchenoglani...', false, NULL) #1 /home/webcat/planetcatfish.com/admin/index.php(173): add_new_species->submit(Object(phpbb\db\driver\factory)) #2 /home/webcat/planetcatfish.com/admin/index.php(132): arn_admin_guts('ans', '6.2.0, released...') #3 {main} thrown in /home/webcat/planetcatfish.com/admin/functions/add_species.php on line 101

Re: Error message when adding new species.

Posted: 12 Apr 2023, 09:33
by Jools
Thanks Eric, yes prioritising the login link problem, then the tooltips (which I think I've fixed, but don't want to commit until the login problem is fixed as they are linked) and then will have a look at the n. sp. problem.

However, I also need to get the CSG journal out, so I think that takes the top priority today!

Cheers,

Jools

Re: Error message when adding new species.

Posted: 15 Apr 2023, 13:14
by Jools
Fixed.

Jools