WordPress.org

Ready to get started?Download WordPress

Forums

p2 Theme + Audio Player plugin (3 posts)

  1. bhull
    Member
    Posted 5 years ago #

    Wow...so close on this one. I'm testing using this theme with the Audio Player plugin, but no go. It works at first, but just as soon as you refresh the page...you get an error.

    Fatal error: Call to undefined function: str_split() in /home/brandonh/public_html/quick/wp-content/themes/p2/functions.php on line 352

    When I remove the post with the link to the audio, the error message goes away. So HAVING the plugin installed is not an issue. Adding a post that links to an mp3 is an issue, apparently.

    Any ideas, anyone? Not a coder here, but I could fix something if someone's able to help me...

  2. designsimply
    Member
    Posted 4 years ago #

    What version of PHP are you running? str_split function is a PHP 5 function.

    If you are running PHP 4, tjeastmond posted a workaround here.

  3. bhull
    Member
    Posted 4 years ago #

    Thanks for the help. I'm running 5.2.9.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags