• Resolved Soprano

    (@soprano)


    WordPress Version: 3.4
    Wordpress SEO version: 1.2.3

    Deprecated: Function split() is deprecated in /home/public_html/l*****.com/wp-content/plugins/wordpress-seo/inc/wpseo-functions.php on line 306
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/l*****.com/wp-content/plugins/wordpress-seo/inc/wpseo-functions.php:306) in /home/public_html/l*****.com/wp-includes/pluggable.php on line 881

    I’m getting this error everytime I save a draft (or sometimes preview) in my post since I updated to 3.4.

    Any ideas?

    https://www.ads-software.com/extend/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I encountered the same error, basically the PHP function “split” has been deprecated in PHP vers. 5.3.

    To fix this error you’ll have to edit the above file “wpseo-functions.php”

    Find line 306 and replace split with explode:

    //$clean_slug_array = array_diff ( split( " ", $clean_slug ), wpseo_stopwords() );
    
      $clean_slug_array = array_diff ( explode( " ", $clean_slug ), wpseo_stopwords() );
    Plugin Contributor Joost de Valk

    (@joostdevalk)

    Ah will fix this for the next release, thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Deprecated: Function split()’ is closed to new replies.