fatal error, allow for is_wp_error
-
also posted via contactform on https://equalserving.uservoice.com/
Please allow for
if ( is_wp_error( $response ) ) {
$error_string = $response->get_error_message();
echo ‘<div id=”message” class=”error”><p>’ . $error_string . ‘</p></div>’;
}BEFORE
$object = json_decode($response[“body”]);
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘fatal error, allow for is_wp_error’ is closed to new replies.