Argument #1 ($pieces) must be of type array, string given
** CiviCRM 5.78.2, , Wordpress, PHP version 8.2.10-2ubuntu2.2**
PHP Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /var/www/html/public_html/wp-content/uploads/civicrm/ext/org.civicrm.module.cividiscount/cividiscount.php:564
Stack trace:
#0 /var/www/html/public_html/wp-content/uploads/civicrm/ext/org.civicrm.module.cividiscount/cividiscount.php(564): implode()
#1 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook.php(276): cividiscount_civicrm_postProcess()
#2 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook/WordPress.php(135): CRM_Utils_Hook->runHooks()
#3 (closed) /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/Civi/Core/CiviEventDispatcher.php(314): CRM_Utils_Hook_WordPress->invokeViaUF()
#4 (closed) /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Civi\Core\CiviEventDispatcher::delegateToUF()
#5 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
#6 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/Civi/Core/CiviEventDispatcher.php(263): Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
#7 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook.php(168): Civi\Core\CiviEventDispatcher->dispatch()
#8 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Utils/Hook.php(513): CRM_Utils_Hook->invoke()
#9 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(669): CRM_Utils_Hook::postProcess()
#10 (closed) /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(647): CRM_Core_Form->postProcessHook()
#11 (closed) /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Upload.php(153): CRM_Core_Form->mainProcess()
#12 (closed) /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Upload.php(120): CRM_Core_QuickForm_Action_Upload->realPerform()
#13 (closed) /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Upload->perform()
#14 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle()
#15 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(356): HTML_QuickForm_Page->handle()
#16 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Event/Page/Tab.php(93): CRM_Core_Controller->run()
#17 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Event/Page/Tab.php(151): CRM_Event_Page_Tab->edit()
#18 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(338): CRM_Event_Page_Tab->run()
#19 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(74): CRM_Core_Invoke::runItem()
#20 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(36): CRM_Core_Invoke::_invoke()
#21 /var/www/html/public_html/wp-content/plugins/civicrm/civicrm.php(1231): CRM_Core_Invoke::invoke()
#22 /var/www/html/public_html/wp-includes/class-wp-hook.php(324): CiviCRM_For_WordPress->invoke()
#23 (closed) /var/www/html/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#24 (closed) /var/www/html/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#25 /var/www/html/public_html/wp-admin/admin.php(259): do_action()
#26 {main}
thrown in /var/www/html/public_html/wp-content/uploads/civicrm/ext/org.civicrm.module.cividiscount/cividiscount.php on line 564, referer: wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fparticipant%2Fadd&reset=1&action=add&context=standalone&eid=629