str_split() in init.php on line 27

0

Hi. i'm trying to activate pods cms plugin, but WP dashboard gives me the next message:

Plugin could not be activated because it triggered a fatal error. Fatal error: Call to undefined function: str_split() in /(blahblah)/wp-content/plugins/pods/init.php on line 27

PHP version is 5.2.8 and i can't understand what could be a problem then.

asked Jun 7 '10 at 8:58

Fike

208

edited Jun 7 '10 at 8:58

add comment
enter at least 15 characters

6 Answers

1

http://wordpress.org/extend/plugins/phpinfo/ that plugin (i'm new with all the web stuff) tells me the next thing: PHP Version: 4.4.4-8+etch6 MySQL Version: 4.1.11-Debian_4sarge5-log

Do i get it right - my PHP version is 4.4.4 (i just don't understand what's come after this) and my hoster is simply lying to me about 5.2.8?

answered Jun 8 '10 at 5:22

Fike

208

Awesome job diagnosing. – logikal16 Jun 8 '10 at 9:27
add comment
enter at least 15 characters
1

I guess your host is lying to you... I would call them and chew them out for a minute for giving you incorrect information. Then ask them to upgrade the php version on your account immediately. There's no reason for any hosting account to still have php 4 running by default.

answered Jun 8 '10 at 7:04

clarinetlord

456

add comment
enter at least 15 characters
0

Are you absolutely sure you have PHP version 5.2.8? I've seen that exact error before, but only when Pods is installed over PHP 4. What does phpinfo() tell you?

answered Jun 7 '10 at 9:45

clarinetlord

456

add comment
enter at least 15 characters
0

thanks!

answered Jun 8 '10 at 9:20

Fike

208

add comment
enter at least 15 characters
0

Similar thing happened to me, and I just want to point out that with my host, although 5.2.8 was installed, there was an additional setting in the back-end to say 'Interpret the .php extension with:' and then a drop-down box to select PHP4 or PHP5. When I eventually found it, the drop-down was set to PHP4. I just had to change it. Amazing that it wasn't automatically set to PHP5. I thought I was losing my mind, because the control panel clearly said 'PHP version: 5.2.8' but I was getting PHP4 type errors.

answered Aug 2 '10 at 8:57

Simon

69

add comment
enter at least 15 characters
0

aw, i've never replied. i had a similar issue, php5 was installed, but it was needed to be activated by adding a line into .htaccess file.

answered Aug 3 '10 at 11:27

Fike

208

add comment
enter at least 15 characters