Page 1 of 1

Error adding new or undescribed species

Posted: 01 Oct 2023, 00:05
by bekateen
Hi Jools,

Today I attempted to add the new Diplomystes to the CLOG, but I received this error message when clicking the " Add recently or undescribed species" link in the Admin menu:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function select_family(), 2 passed in /home/webcat/planetcatfish.com/admin/classes/add_new_species.php on line 30 and exactly 3 expected in /home/webcat/planetcatfish.com/common/functions/_list_select.php:300 Stack trace: #0 /home/webcat/planetcatfish.com/admin/classes/add_new_species.php(30): select_family('admin_jump', Array) #1 /home/webcat/planetcatfish.com/admin/index.php(170): add_new_species->task(Object(phpbb\db\driver\factory)) #2 /home/webcat/planetcatfish.com/admin/index.php(131): arn_admin_guts('ans', '6.3.1, released...') #3 {main} thrown in /home/webcat/planetcatfish.com/common/functions/_list_select.php on line 300
I received similar error messages when I attempted to amend synonyms on another species, and as a test, I got a similar error with Amend common names and Amend occurrences, although I wasn't attempting to amend any common names today.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function select_family(), 2 passed in /home/webcat/planetcatfish.com/admin/classes/manage_synonyms.php on line 32 and exactly 3 expected in /home/webcat/planetcatfish.com/common/functions/_list_select.php:300 Stack trace: #0 /home/webcat/planetcatfish.com/admin/classes/manage_synonyms.php(32): select_family('synonyms', Array) #1 /home/webcat/planetcatfish.com/admin/index.php(170): manage_synonyms->task(Object(phpbb\db\driver\factory)) #2 /home/webcat/planetcatfish.com/admin/index.php(131): arn_admin_guts('msy', '6.3.1, released...') #3 {main} thrown in /home/webcat/planetcatfish.com/common/functions/_list_select.php on line 300
Fatal error: Uncaught ArgumentCountError: Too few arguments to function select_family(), 2 passed in /home/webcat/planetcatfish.com/admin/classes/manage_common_names.php on line 26 and exactly 3 expected in /home/webcat/planetcatfish.com/common/functions/_list_select.php:300 Stack trace: #0 /home/webcat/planetcatfish.com/admin/classes/manage_common_names.php(26): select_family('common_names', Array) #1 /home/webcat/planetcatfish.com/admin/index.php(170): manage_common_names->task(Object(phpbb\db\driver\factory)) #2 /home/webcat/planetcatfish.com/admin/index.php(131): arn_admin_guts('mcn', '6.3.1, released...') #3 {main} thrown in /home/webcat/planetcatfish.com/common/functions/_list_select.php on line 300
Fatal error: Uncaught ArgumentCountError: Too few arguments to function select_family(), 2 passed in /home/webcat/planetcatfish.com/admin/classes/manage_occurrences.php on line 29 and exactly 3 expected in /home/webcat/planetcatfish.com/common/functions/_list_select.php:300 Stack trace: #0 /home/webcat/planetcatfish.com/admin/classes/manage_occurrences.php(29): select_family('occurrences', Array) #1 /home/webcat/planetcatfish.com/admin/index.php(170): manage_occurrences->task(Object(phpbb\db\driver\factory)) #2 /home/webcat/planetcatfish.com/admin/index.php(131): arn_admin_guts('moc', '6.3.1, released...') #3 {main} thrown in /home/webcat/planetcatfish.com/common/functions/_list_select.php on line 300
Cheers,
Eric

Re: Error adding new or undescribed species

Posted: 01 Oct 2023, 09:19
by Jools
Hi Eric,

Sorry, I was halfway through updating all these yesterday and just got too tired. I am at the keyboard afresh this morning and hacking away at these. Should not be a long time.

Cheers,

Jools

Re: Error adding new or undescribed species

Posted: 01 Oct 2023, 11:19
by Jools
I think these are all now fixed.

Jools

Re: Error adding new or undescribed species

Posted: 01 Oct 2023, 13:20
by bekateen
Thanks!