[Plugin: wpMandrill] Bug: array_replace() only defined in PHP 5.3
The plugin did not work on my server which likely has PHP 5.2 ( HostMonster hosting ) . As stated on http://php.net/manual/en/function.array-replace.php , array_replace() was introduced in PHP 5.3 . Since WP supports >=5.2.4 ( http://wordpress.org/about/requirements/ ), I suggest either changing the code to not use array_replace, or defining a fallback using if ( ! function_exists( ‘array_replace’ ) ) …
I used http://php.net/manual/en/function.array-replace.php#105280 to define fallback.
Thank you for sharing your software!
- The topic ‘[Plugin: wpMandrill] Bug: array_replace() only defined in PHP 5.3’ is closed to new replies.