WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Function split is() deprecated (3 posts)

  1. elbeomar
    Member
    Posted 2 years ago #

    When I try to upload an image I get this message:

    Server Response:<br/ <b>Deprecated</br>:
    Fucntion split() is deprecated in <b>/home/elbeomar/public_html/wp/wp/content-themes/fresh_trailer/uploadify.php<b/> on line <b>34<b/>1

    Is there someone who knows what this means and how to fix it?

  2. vtxyzzy
    Member
    Posted 2 years ago #

    I think you want to replace this:

    $typesArray = split('\|',$fileTypes);

    with this:

    $typesArray = explode('|',$fileTypes);
  3. elbeomar
    Member
    Posted 2 years ago #

    That worked perfectly...thanks,
    vtxyzzy

Topic Closed

This topic has been closed to new replies.

About this Topic