• Resolved mrsilly

    (@mrsilly)


    If i enable

    $wpdb->show_errors();
    $wpdb->print_error();

    The following is showing up:
    WordPress database error: []
    SELECT wp_posts.ID, wp_posts.post_content FROM wp_posts INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) WHERE (( wp_postmeta.meta_key = ‘wbcr_inp_snippet_scope’ AND wp_postmeta.meta_value = ‘auto’)) AND wp_posts.post_type = ‘wbcr-snippets’ AND ((wp_posts.post_status = ‘publish’))

    I assume it is to do with Woody due to the wbcr_snippets reference.
    I have disabled the two lines to show the errors at the moment but am also getting strange SQL results on the same page, i call a stored procedure and the results returned are wrong so am wondering if it is related.

    Thanks

    Mark

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Temyk

    (@webtemyk)

    Hello.

    I executed this query in the WordPress database and no errors occurred. Try running it in your database.

    Thread Starter mrsilly

    (@mrsilly)

    Hi,

    I get 0 rows returned when i run it in MySQL workbench. So the query is not the problem.

    As i said my stored procedure is getting strange (corrupted?) results back too.

    Mark

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possible Woody problem’ is closed to new replies.