Support » Fixing WordPress » Fatal Error in P2 – line 352

  • Resolved warebloke

    (@warebloke)


    Hi guys

    I have looked through the forums and this appears to be a new P2 error:-

    Fatal error: Call to undefined function: str_split() in /nfs/c03/h03/mnt/55103/domains/newsdesk.thedailydust.co.uk/html/wp-content/themes/p2/functions.php on line 352

    I am running WP 2.7.1
    And P2 Version P2 1.0.4

    I added around 7 posts this am, but this error suddenly displayed. Any help or fixes would be great, thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • warebloke

    (@warebloke)

    I just re-installed WP to check if that was the problem, but nothing changed. Any thoughts?

    tjeastmond

    (@tjeastmond)

    What version of PHP are you running? I believe str_split() is a PHP 5 exclusive function.

    warebloke

    (@warebloke)

    It was using PHP 4 on Media Temple, changed it to PHP 5 and hey presto works!

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error in P2 – line 352’ is closed to new replies.