Page 1 of 1

New error message when attempting to edit a CLOG data sheet

Posted: 15 Sep 2023, 23:01
by bekateen
Hi Jools,

Here's another. Today I attempted to edit a CLOG page and I received this message when I pressed the "Edit this Data Sheet" link:
Fatal error: Uncaught ValueError: explode(): Argument #1 ($separator) cannot be empty in /home/webcat/planetcatfish.com/common/functions/web_fetcher/fibber.php:47 Stack trace: #0 /home/webcat/planetcatfish.com/common/functions/web_fetcher/fibber.php(47): explode('', '') #1 /home/webcat/planetcatfish.com/common/functions/web_fetcher/fibber.php(53): Fibber->get_xml_array('chaetostoma aff...') #2 /home/webcat/planetcatfish.com/common/functions/get_data_from_web.php(9): Fibber->transform_species_data('chaetostoma aff...') #3 /home/webcat/planetcatfish.com/core/data_sub.php(28): get_data_from_web('chaetostoma aff...') #4 {main} thrown in /home/webcat/planetcatfish.com/common/functions/web_fetcher/fibber.php on line 47
Cheers, Eric

Re: New error message when attempting to edit a CLOG data sheet

Posted: 16 Sep 2023, 11:24
by Jools
This is now resolved, thanks for reporting.

Cheers,

Jools
Note to self: in php8, you can't explode a variable without a separator. https://www.php.net/manual/en/function.explode.php