WordPress.org

Ready to get started?Download WordPress

Forums

Adhesive Plugin returning ALL posts (4 posts)

  1. blackc2004
    Member
    Posted 7 years ago #

    Hi, I just downloaded Adhesive 3.2, however it seems to be returning ALL posts when it is activated. Is anyone else having this problem, and how do I stop it!

    With over 2,000 posts it takes FOREVER and is killing my server!

  2. blackc2004
    Member
    Posted 7 years ago #

    Here's the generated query which is causing the problem:
    SELECT DISTINCT * FROM b2posts WHERE 1=1 AND post_date_gmt <= '2006-11-01 17:43:59' AND (post_status = "publish" OR post_author = 2 AND post_status != 'draft' AND post_status != 'static') AND post_status != "attachment" AND post_date >= '' GROUP BY b2posts.ID ORDER BY post_date DESC

    Notice the : post_date >= ''

  3. 4evrblu
    Member
    Posted 7 years ago #

    Yeah what about? Could you drop us a more vague reply.

    Whats wrong with the post date?

  4. blackc2004
    Member
    Posted 7 years ago #

    Notice that it's BLANK there should be a DATE in there.. What is the Adhesive plugin doing that it's breaking WP's post_date return function?

    It's not a vague reply if you are familiar with the WP code base.

Topic Closed

This topic has been closed to new replies.

About this Topic