WordPress.org

Support

Support » Plugins and Hacks » Auto Post Thumbnail » [Resolved] Database error triggered

[Resolved] Database error triggered

  • Hello,

    This is just something minor as it does not affect the plugin’s functionality (which is good!), but I thought I’d mention it.

    Running the plugin in a WordPress installation with WP_DEBUG set to TRUE while developing, the following error was returned when modifying a Menu:

    WordPress database 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 * FROM wp_posts WHERE id =
     Notice: Undefined offset: 0 in **/wordpress/wp-content/plugins/auto-post-thumbnail/auto-post-thumbnail.php on line 289 Notice: Trying to get property of non-object in **/wordpress/wp-content/plugins/auto-post-thumbnail/auto-post-thumbnail.php on line 289

    Maybe it has an easy fix?

    Thanks for the plugin!

    http://wordpress.org/extend/plugins/auto-post-thumbnail/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Database error triggered’ is closed to new replies.
Skip to toolbar