• Resolved kryonos

    (@kryonos)


    Hello,

    I’m using the 1.1.6 version with WP media folder 5.0.1.
    I enabled the debug mode but it doesn’t create the debug.php in the plugin folder (I tried with 777 chmod just to check if it was a permission issue but it’s not).

    The queue seems to never be executed, I have 2 files in queue, small images.
    I check on my server (php 7.2) error log, nothing.

    Any idea?

    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author dbarrere

    (@dbarrere)

    Hi,

    Could you open your browser developer console (F12), then click on the console tab.
    Click on the orange dot, in the admin bar, it should launch the process.
    Then check if there is any error on the developer console.
    Also you can check in the network tab the result of XHR request and let me know.

    Best regards

    Thread Starter kryonos

    (@kryonos)

    Hi,

    It gives no error, in the console and the xhr answer I got a HTTP 200 with this json:

    {“queue_length”:2,”title”:”2 Attachments queued to be moved”}

    Plugin Author dbarrere

    (@dbarrere)

    Well, we’ll make a little test see where the process is stuck.

    Could you go in this page yourwebsite.com/wp-admin/options.php then search for wp-media-folders-token and copy the value of this field

    Then open a private browsing window and make sure you are not logged into your website on this session.
    And open the page yourwebsite.com/wp-admin/admin-ajax.php?action=wpmfs_proceed&wpmfs_token=THE_TOKEN_YOU_COPIED_PREVIOUSLY

    You can check now in your website if the files have been moved, you should see a 0 in the admin bar if all is ok.

    Best regards

    Thread Starter kryonos

    (@kryonos)

    Doing like this it works!
    How can I fix definitely?

    Thread Starter kryonos

    (@kryonos)

    Since I made your test it looks like it works normally again.
    Do you know what the problem was?

    Thank you!

    Plugin Author dbarrere

    (@dbarrere)

    Since it’s working correctly now, I suspect the behavior used to avoid multiple concurrent calls.
    It’s based on a timestamp saved into the options table.
    But I don’t know why this timestamp would have a wrong value.
    Did you migrate your site from a localhost to a server with a different timezone? Or anything related to time?

    Best regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Queue never executed’ is closed to new replies.