• In the function search() the variable $record is never defined and throws a notice when it’s used in the FeedWordPress::diagnostic() function. Fixed by simply commenting out line 93, or checking status of $record on line 93:

    FeedWordPress::diagnostic(
      'syndicated_posts:categories:test',
      'CHECKED familiarity of term '
        .json_encode($this->term)
        .' across '.json_encode($this->tax)
        // RP - $record never defined and throws a PHP notice when used here.
        .' with result: '.json_encode(isset($record) ? $record : '')
    );

    https://wordpress.org/plugins/feedwordpress/

The topic ‘Undefined variable $record in syndicatedpostterm.class.php on line 93’ is closed to new replies.