str_split() in init.php on line 27
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.
edited Jun 7 '10 at 8:58
6 Answers
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?
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.
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?
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.
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.


