PHP 8 Errors
-
Our web host recently upgraded to PHP 8.0. Now, we get an error when we try to upload a spreadsheet. Here’s the message from the error log:
PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /public/wp-content/plugins/ymm-search/Model/Db/CsvImportHandler.php:57
Stack trace:
#0 /public/wp-content/plugins/ymm-search/Model/Db/CsvImportHandler.php(57): implode(Array, ‘”,”‘)
#1 /public/wp-content/plugins/ymm-search/Controller/Adminhtml/Ymm/Selector.php(38): Pektsekye_Ymm_Model_Db_CsvImportHandler->importFromCsvFile(Array, ‘add_new’)
#2 /public/wp-includes/class-wp-hook.php(308): Pektsekye_Ymm_Controller_Adminhtml_Ymm_Selector->execute(”)
#3 /public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#4 /public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /public/wp-settings.php(617): do_action(‘init’)
Is there something I can do to correct this?
Thanks!
- The topic ‘PHP 8 Errors’ is closed to new replies.