Skip to content

Commit

Permalink
SyndicatedLink / PHP Warning in Categories and Tags setting - Trying …
Browse files Browse the repository at this point in the history
…to get property of non-object in [...]/wp-content/plugins/feedwordpress/syndicatedlink.class.php on line 58
  • Loading branch information
Rad Geek committed Dec 13, 2016
1 parent 810ca33 commit 6ecb4a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions syndicatedlink.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ public function __construct( $link ) {
$this->link = get_bookmark($link);
endif;

if (strlen($this->link->link_rss) > 0) :
$this->get_settings_from_notes();
if (is_object($this->link)) :
if (strlen($this->link->link_rss) > 0) :
$this->get_settings_from_notes();
endif;
endif;

add_filter('feedwordpress_update_complete', array($this, 'process_retirements'), 1000, 1);
Expand Down

0 comments on commit 6ecb4a4

Please sign in to comment.