Notice: Undefined property: WP_Error::$title
-
Hi Evan
When, for whatever reason, you can’t access the URL for font-awesome.css, you get an error. You can reproduce the bug by simply, for example, changing to a bad URL to test.
The Error points to this line
wp_die( $response->get_error_message() , $response->title , array( ‘back_link’ => true ) );
You updated the plugin to check if the URL gives you a valid URL or a WP_Error. But when you get an error, $response obviously doesn’t have $response->title, it just have the WP_Error returned.
Minor bug, great plugin.
Thanks for all the work you do.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Notice: Undefined property: WP_Error::$title’ is closed to new replies.