• Resolved firebrandllc

    (@firebrandllc)


    Just updated to 40.1 yesterday, ran a broadcast today and 10 minutes later it had managed to delete every single image on a client’s production website.

    Please contact me and I’ll set you up a development environment and provide logs, we have isolated and reproduced the issue, just need help finding a fix.

    2017-10-05 16:56:54.1507222614.8355 ThreeWP_Broadcast: Calculator. Basic setup: 90 seconds
    2017-10-05 16:56:54.1507222614.8371 ThreeWP_Broadcast: Calculator. 0 attachments @ 60 seconds = 0 seconds
    2017-10-05 16:56:54.1507222614.8375 ThreeWP_Broadcast: Calculator. Post update only costs 10 %.
    2017-10-05 16:56:54.1507222614.8398 ThreeWP_Broadcast: Calculator. Time saved for this post: 9 seconds
    2017-10-05 16:56:54.1507222614.8683 ThreeWP_Broadcast: Deleting existing attachment: 14335
    2017-10-05 16:56:54.1507222614.8831 ThreeWP_Broadcast: 1430 attachments to remove.
    2017-10-05 16:56:54.1507222614.8895 ThreeWP_Broadcast: Deleting existing attachment: 14338
    2017-10-05 16:56:54.1507222614.8947 ThreeWP_Broadcast: Queue: Broadcast complete. Return value: 1
    2017-10-05 16:56:54.1507222614.8954 ThreeWP_Broadcast: Queue: Items in queue: 2
    2017-10-05 16:56:54.1507222614.9135 ThreeWP_Broadcast: Deleting existing attachment: 14337
    2017-10-05 16:56:54.1507222614.9155 ThreeWP_Broadcast: Deleting existing attachment: 14336
    2017-10-05 16:56:54.1507222614.9508 ThreeWP_Broadcast: Deleting existing attachment: 14335
    2017-10-05 16:56:55.1507222615.0245 ThreeWP_Broadcast: Intercepted wp_delete_post on blog 1, post 14335
    2017-10-05 16:56:55.1507222615.045 ThreeWP_Broadcast: Intercepted wp_delete_post on blog 1, post 14335
    2017-10-05 16:56:55.1507222615.0486 ThreeWP_Broadcast: Deleting existing attachment: 14334
    2017-10-05 16:56:55.1507222615.1223 ThreeWP_Broadcast: Intercepted wp_delete_post on blog 1, post 14334
    2017-10-05 16:56:55.1507222615.1328 ThreeWP_Broadcast: Deleting existing attachment: 14334
    2017-10-05 16:56:55.1507222615.1372 ThreeWP_Broadcast: Deleting existing attachment: 14333
    2017-10-05 16:56:55.1507222615.2143 ThreeWP_Broadcast: Intercepted wp_delete_post on blog 1, post 14333
    2017-10-05 16:56:55.1507222615.2383 ThreeWP_Broadcast: Deleting existing attachment: 14333
    2017-10-05 16:56:55.1507222615.2493 ThreeWP_Broadcast: Deleting existing attachment: 14332
    2017-10-05 16:56:55.1507222615.342 ThreeWP_Broadcast: Deleting existing attachment: 14332

    etc etc etc

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    You’re welcome to contact me at [email protected]

    Thread Starter firebrandllc

    (@firebrandllc)

    Hey. This was actually the fault of another plugin which was causing queries to run on the wrong blog. Nonetheless Edward spent several days working with our development team to help track down the problem.

    Great plugin, great support.

    Thanks for the excellent help on this!

    • This reply was modified 7 years, 5 months ago by firebrandllc.
    Ced

    (@cedriccharles)

    Hi Firebrandllc !

    It seems that we have the same issue here. Could you please tell my which plugin was causing the issue ? And how you managed to resolve this ?? ?

    Thank you in advance ?? !

    Thread Starter firebrandllc

    (@firebrandllc)

    The plugin that was causing the conflict was an internal plugin which was incorrectly calling switch_to_blog without always calling restore_current_blog on post update, which was causing broadcast to get some unexpected results in a query, which exhibited the bug.

    However, if you are on the most up to date version of the broadcast plugin, this
    particular issue should not occur, as the developer added stricter type-checking in subsequent versions.

    If you are still having this issue, I would suggest turning on debug mode in the broadcast plugin and replicating the issue on a development site, and posting your results in a new support thread, that way we can best help you figure out what’s going on!

    Thanks for reaching out Cédric!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Broadcast deleted every attachment in media library on production’ is closed to new replies.