You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Call to undefined function split() in CRM_Eventhelper_Form_Search_FancyParticipantSearch->__construct() (line 43 of /sites/all/modules/civicrm_extensions/com.fountaintribe.eventhelper/CRM/Eventhelper/Form/Search/FancyParticipantSearch.php).
CiviCRM 5.11.0
If I change line 43 of /com.fountaintribe.eventhelper/CRM/Eventhelper/Form/Search/FancyParticipantSearch.php
The text was updated successfully, but these errors were encountered:
zkrebs
changed the title
Fancy Participant Search Throws Error
CiviCRM 5.x Fancy Participant Search Throws Error - 'Call to undefined function split()'
Aug 9, 2019
Error: Call to undefined function split() in CRM_Eventhelper_Form_Search_FancyParticipantSearch->__construct() (line 43 of /sites/all/modules/civicrm_extensions/com.fountaintribe.eventhelper/CRM/Eventhelper/Form/Search/FancyParticipantSearch.php).
CiviCRM 5.11.0
If I change line 43 of /com.fountaintribe.eventhelper/CRM/Eventhelper/Form/Search/FancyParticipantSearch.php
from
$tmp_cur = split('_' ,$curUserChoice );
to
$tmp_cur = explode('_' ,$curUserChoice );
Then it works. I believe split() was deprecated and removed in PHP 7.0
https://phppot.com/php/reasons-why-split-is-deprecated/
The text was updated successfully, but these errors were encountered: