Page 1 of 1

Error message when adding existing and new species

Posted: 23 Sep 2019, 22:49
by bekateen
Hi Jools,

Got another error for you:

I tried adding Microlepidogaster dimorpha and got this message.

Cheers, Eric

FOR EXISTING SPECIES
Fatal error: Uncaught Error: Call to undefined function add_species() in /home/webcat/planetcatfish.com/admin/quick_add_species.php:43 Stack trace: #0 /home/webcat/planetcatfish.com/admin/index.php(324): quick_add_species->submit(Object(phpbb\db\driver\factory)) #1 /home/webcat/planetcatfish.com/admin/index.php(271): arn_admin_guts('qas', Object(phpbb\db\driver\factory), Object(phpbb\user), '5.1.0') #2 {main} thrown in /home/webcat/planetcatfish.com/admin/quick_add_species.php on line 43
FOR UNDESCRIBED/NEW SPECIES
Fatal error: Uncaught Error: Call to undefined function check_name() in /home/webcat/planetcatfish.com/admin/add_new_species.php:61 Stack trace: #0 /home/webcat/planetcatfish.com/admin/index.php(324): add_new_species->submit(Object(phpbb\db\driver\factory)) #1 /home/webcat/planetcatfish.com/admin/index.php(271): arn_admin_guts('ans', Object(phpbb\db\driver\factory), Object(phpbb\user), '5.1.0') #2 {main} thrown in /home/webcat/planetcatfish.com/admin/add_new_species.php on line 61

Re: Error message when adding existing and new species

Posted: 24 Sep 2019, 20:35
by Jools
This is now fixed. I've refactored a tonne of admin code over the past couple of nights. It'll still keel over IF I've missed something but it's a racing snake compared to the old bloated badger it was. Much of it was really badly written (by me) but now it's a better at least for those attemping to work with it (also, me).

Sorry it broke, but should be easier to maintain going forward.

Jools

Re: Error message when adding existing and new species

Posted: 24 Sep 2019, 20:50
by bekateen
Thanks... And I love the metaphors. :))

Cheers, Eric