Title: BUG:syndicationdataqueries.class.php
Last modified: August 20, 2016

---

# BUG:syndicationdataqueries.class.php

 *  [pjf02536](https://wordpress.org/support/users/pjf02536/)
 * (@pjf02536)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/)
 * Line 97
 * Current:
    $search .= ” AND ({$wpdb->postmeta}.meta_key = ‘”.$query->get(‘meta_key’).”‘
   AND **wp_postmeta.meta_value** = ‘”.$query->get(‘meta_value’).”‘) — ‘”;
 * Should Be:
    $search .= ” AND ({$wpdb->postmeta}.meta_key = ‘”.$query->get(‘meta_key’).”‘
   AND **{$wpdb->postmeta}.meta_value** = ‘”.$query->get(‘meta_value’).”‘) — ‘”;
 * [http://wordpress.org/extend/plugins/feedwordpress/](http://wordpress.org/extend/plugins/feedwordpress/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Thread Starter [pjf02536](https://wordpress.org/support/users/pjf02536/)
 * (@pjf02536)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3349886)
 * Found it because I have a custpm prefix on my tables
 *  [Jerome](https://wordpress.org/support/users/market4android/)
 * (@market4android)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350123)
 * Testing this now, as I’ve cleared 100MB of error logs from this joke in the past
   few days.
 * Any fix coming from the developer on this one??
 *  Thread Starter [pjf02536](https://wordpress.org/support/users/pjf02536/)
 * (@pjf02536)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350124)
 * No I just edited the file, and things cleared up.
    I wonder if there are any 
   others in there though (logs so far are not reporting any)
 *  [Jerome](https://wordpress.org/support/users/market4android/)
 * (@market4android)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350158)
 * Well, I eliminated the problem on one of my domains, (thank you SO much for the
   fix). I’ve got another domain that I need to fix this bug for, but other than
   that, I’d love to see an actual release fix from the developer so I am not bothered
   to do this on every site I run FWP on (which is dozens, mind you). I always use
   custom prefixes on db tables to enhance security, and this is the first time 
   that’s shot me in my foot.
 *  [jugoretz](https://wordpress.org/support/users/jugoretz/)
 * (@jugoretz)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350195)
 * WOW, thatnks pjf02536 for that fix. That error was driving me crazy and I could
   not figure out how to take care of it.
 * Small and simple fix, so I’m very grateful, but yes, I agree with Jerome. It 
   would be nice to see a new release from the developer with the fix!
 *  [shabicht](https://wordpress.org/support/users/shabicht/)
 * (@shabicht)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350196)
 * You could fix this in the codebase:
    [https://github.com/radgeek/feedwordpress/blob/master/syndicationdataqueries.class.php](https://github.com/radgeek/feedwordpress/blob/master/syndicationdataqueries.class.php)
   if the project allows for it.
 *  [ThorsDad](https://wordpress.org/support/users/thorsdad/)
 * (@thorsdad)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350210)
 * Thanks pjf02536, that seems to have fixed the problem!
 *  [epawel](https://wordpress.org/support/users/epawel/)
 * (@epawel)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350226)
 * Thanks! It was extremly useful…
 *  Thread Starter [pjf02536](https://wordpress.org/support/users/pjf02536/)
 * (@pjf02536)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350228)
 * I made a codebase fix and submitted for author pull/aproval.
 * Hopefully this will forever end this particular issue (assuming the author does
   anything)
 *  [dmsspb](https://wordpress.org/support/users/dmsspb/)
 * (@dmsspb)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350260)
 * thank’s!
 *  [Dirty Bill](https://wordpress.org/support/users/dirty-bill/)
 * (@dirty-bill)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350276)
 * Now to find and revert what they did with the correct “Source Permalink” for 
   previewing feed articles. We curate our feed and since this went away it’s a 
   real hassle.
 *  [Gwyneth Llewelyn](https://wordpress.org/support/users/gwynethllewelyn/)
 * (@gwynethllewelyn)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350286)
 * Excellent! Well spotted! I’ve fixed this manually on three websites which were
   getting the unusual error
 * Unknown column ‘wp_postmeta.meta_value’ in ‘where clause’
 * because I had custom prefixes…

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘BUG:syndicationdataqueries.class.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/feedwordpress_a6a79a.svg)
 * [FeedWordPress](https://wordpress.org/plugins/feedwordpress/)
 * [Support Threads](https://wordpress.org/support/plugin/feedwordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/feedwordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feedwordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feedwordpress/reviews/)

 * 12 replies
 * 9 participants
 * Last reply from: [Gwyneth Llewelyn](https://wordpress.org/support/users/gwynethllewelyn/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/bugsyndicationdataqueriesclassphp/#post-3350286)
 * Status: not resolved