Simplevcard error message after upgrading PHP

If you get this error messages:

t3lib_error_Exception PHP : Function split() is deprecated

in /.../.../typo3conf/ext/simplevcard/class.tx_simplevcard_markers.php line 44

for simplevcard after upgrading PHP

comment out in class.tx_simplevcard_vcard.php on line 44

// $arrFields = split(",", $conf['linkTitleFields']);

and add this

$arrFields = explode(",", $conf['linkTitleFields']);

[Update: 2011.03.10] There are more deprecated calls further on

PHP : Function split() is deprecated in 
/../../typo3conf/ext/simplevcard/class.tx_simplevcard_vcard.php line 209
PHP : Function split() is deprecated in 
/../../typo3conf/ext/simplevcard/class.tx_simplevcard_vcard.php line 212
PHP : Function split() is deprecated in 
/../../typo3conf/ext/simplevcard/class.tx_simplevcard_vcard.php line 329

You could solve this like written in example above. Thanks to Barmann [/Update]

Teilen: