Support Forum

error – How do I fix this?

FI fiddlerman
fiddlerman
Member

February 11, 20149:59 am | spaErrError | 1 | database


file: /problem-with-post-edit-buttonome/fiddlerm/public_html/wp-content/sp-resources/forum-plugins/report-post/library/sp-report-post-components.php

line: 73

function: spdb_table

error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1

SELECT post_content FROM wp_sfposts WHERE post_id=

Thanks laugh

1 Answer

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Did this error happen when you were actually reporting a post – i.e., did you see the ‘Invalid Database Query’ message? Or get a report from another user?

I am guessing that someone ran an old url that had no POST variables. Yes – it would be best if we checked for those being empty and I can address that but it would be useful to know the circumstances of the error happening.