Version 2.0.9 is Incompatible with PHP 5.4
-
Version 2.0.9 is Incompatible with PHP 5.4
The current version of WP-Insert is incompatible with PHP 5.4
If causes the following error message to occur as stated below:
Deprecated: Function split() is deprecated in /home/hostingacct/public_html/website.com/wp-content/plugins/wp-insert/includes/common/status.php on line 79
The same error occurs for line 81.
These errors occur on a category page.The above error also occurs for line 95 on a single post page.
According to the PHP Manual as of PHP 5.3.0 this function has been deprecated and should be replaced with PCRE extension. However, listed under the Tips is the following suggestion:
“preg_split() is the suggested alternative to this function. If you don’t require the power of regular expressions, it is faster to use explode(), which doesn’t incur the overhead of the regular expression engine.”In checking the code it appears that this function is used for each type of page and would need to be changed in each occurrence, 8 places.
The topic ‘Version 2.0.9 is Incompatible with PHP 5.4’ is closed to new replies.