Title: [Plugin: WordPress SEO by Yoast] Deprecated: Function split()
Last modified: August 20, 2016

---

# [Plugin: WordPress SEO by Yoast] Deprecated: Function split()

 *  Resolved [Soprano](https://wordpress.org/support/users/soprano/)
 * (@soprano)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-deprecated-function-split/)
 * 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?
 * [http://wordpress.org/extend/plugins/wordpress-seo/](http://wordpress.org/extend/plugins/wordpress-seo/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [tnoguchi](https://wordpress.org/support/users/tnoguchi/)
 * (@tnoguchi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-deprecated-function-split/#post-2836096)
 * 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](https://wordpress.org/support/users/joostdevalk/)
 * (@joostdevalk)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-deprecated-function-split/#post-2836109)
 * 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.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Joost de Valk](https://wordpress.org/support/users/joostdevalk/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-deprecated-function-split/#post-2836109)
 * Status: resolved