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
I replaced split() with explode() and it worked. Is this legacy code or have I changed something that could have a knock on effect for other functions? it's in the processRawFieldData function so shouldn't affect anything further down the line no?
Symphony Deprecated Warning: Function split() is deprecated
An error occurred in C:\wamp\www\website\extensions\multilingual_tag_field\fields\field.multilingual_tag.php around line 230
225 $result = array();
226 $field_data = $data;
227
228 $max_lang_tags = 0;
229 foreach( $field_data as $value ){
230 $a = split(',', $value);
231 $max_lang_tags = (count($a) > $max_lang_tags ? count($a) : $max_lang_tags);
232 }
233
234 foreach( FLang::getLangs() as $lc ){
Is there a work around for this?
The text was updated successfully, but these errors were encountered: