Here's a bug fix for your wpMandrill for PHP 7
-
You are using a deprecated function and it looks like you’ve tried to prevent errors by redefining the function if it doesn’t exist – unfortunately you got the name of the function wrong in this section.
If you look at line 545 in the mandrill.class.php file you’ll see a call to the function set_magic_quotes_runtime($value).
In the previous few lines you’ve tried to redefine set_magic_quotes (i.e. you’re missing the _runtime suffix)
Here’s the extra code to fix your problem:
if ( !function_exists(‘set_magic_quotes_runtime’) ) {
function set_magic_quotes_runtime($value) { return true;}
}
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Here's a bug fix for your wpMandrill for PHP 7’ is closed to new replies.