• Resolved philbee

    (@philbee)


    So yesterday a client site started breaking out of the blue – every time the post was saved, the Meta queries used to filter for event date (basically filtering for ongoing events, using the true and tested query_args PHP filter method for “todays_date”) had a backslash removed, breaking the filter and with it the query.

    "meta_key":"exhib_startdate","meta_value":"todays_date","meta_compare":"\u003c="

    changed to

    "meta_key":"exhib_startdate","meta_value":"todays_date","meta_compare":"u003c="

    whenever saved to the database.

    AQL or WP doesn’t understand the new, backslash-less meta_compare, and therefore changes “>=” to “=”.

    My guess is the backslash could be a PHP escape character, but why this removal happens (currently only on this specific system), I have no idea.

    I added a Bunny Stream video in an iframe using a HTML block to the site, so maybe that’s why it suddenly started doing this? Or is this a (new) function of AQL somehow?

    Currently I set the query to show manually selected posts, as I found no way to change anything on the page outside of directly manipulating the post entry in the database or use the revert to Revision function to get it to display posts in the query again; even removing the iframe HTML or exchanging it with an embedding video block didn’t bring the correct saving of the query back.

    • This topic was modified 6 months ago by philbee. Reason: added >= to =
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter philbee

    (@philbee)

    Found the culprit: the plugin FV Player 8 apparently filters the way content is saved to the DB, even when its just activated but not in use on any page or post.

    Plugin Author Ryan Welcher

    (@welcher)

    Hi @philbee and sorry for the late response here. It looks like you found the culprit so I will close this as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.