Support » Plugin: Auto Post Thumbnail » Database error triggered

  • Resolved zaharamh



    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!

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