WordPress.org

Ready to get started?Download WordPress

Forums

Auto Post Thumbnail
[resolved] Database error triggered (2 posts)

  1. zaharamh
    Member
    Posted 1 year ago #

    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/

  2. tariquesani
    Member
    Plugin Author

    Posted 1 year ago #

    version 3.3.3 has resolved this

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.