[Plugin: Ambrosite Next/Previous Post Link Plus] Post Type Bug
-
I’m getting this DB error: WordPress database error: [Unknown column ‘staffmembers’ in ‘where clause’]
The SQL:
AND p.post_type IN (staffmembers) AND
I simply went into line 190 in the plugin and added single quotes to the query –
AND p.post_type IN ('$post_type') AND
This seems to have fixed the problem. If other people are having post type problems, this is probably why.
http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: Ambrosite Next/Previous Post Link Plus] Post Type Bug’ is closed to new replies.