• Resolved crystalfyre

    (@crystalfyre)


    Hello.

    I’ve been developing a plugin for a client of mine, and are using and want to continue using JetPack (“to track their data and security”, which they aren’t using at the moment).

    My plugin runs once a day to collect offsite Real Estate data to import to their website, by creating a new “Property” post for each piece of data. Then, once every 10 minutes, it will run through a batch job to insert this data into their website.

    Unfortunately, whenever my plugin runs, it ends up getting interrupted by JetPack and ends up hanging.

    When I developed it on my local server, it actually could run for hours at a time without issue, but whenever I install it on a server with JetPack, it ends up dying. In fact, I had to switch to the every 10 minute batch jobs because I thought their server couldn’t handle the code and would hang, but now I know it seems to be a conflict with JetPack.

    I check the error logs when it hangs, and it’s blasted by 72 lines of errors all in ONE SECOND saying that “WordPress database error Commands out of sync; you can’t run this command now for query“, all about JetPack ( made by shutdown_action_hook, do_action(‘shutdown’) ).

    I have no clue why this is happening, and I want to fix it so my client can be happy.

    JetPack is completely outside of my area of expertise, and I have no clue why it’s doing this.

    I’ve read other support topics about similar issues, and all that was mentioned was that it “may occur when the MySQL data is left in an inconsistent state“, however that is really really vague. It can really mean anything.

    Please help.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin CRON conflict with JetPack’ is closed to new replies.