Support » Plugin: WP Media folders » wpmfs_queue table not created

  • Hi, we have the “WP media folder” plugin from JoomUnited installed and had all media imported via the plugin. Now we are trying to get the virtual folder structure into real folder structur on the server. But after activating the “WP media folderS” plugin we get a message that table “wp_wpmfs_queue” is missing.
    After looking into the code, the only place this table is created is in the “runUpgrades” methode.
    if ($version === WP_MEDIA_FOLDERS_VERSION) {
    return;
    }
    if (version_compare($version, ‘1.1.0’) === -1) { … }

    It seems like the activation of the plugin or the handling is not working properly. It also seems the table is only installed if current version is below “1.1.0”!? Wy?

    Next issue: after installing and starting Synchronize media with WP Media Folder, we get entries in wp_wpmfs_queue but all on “date_done=NULL” and “status=0” and nothing is happening any more since hours!? There are no error messages or logs created! just nothing happens!

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

    (@dbarrere)

    Hi,

    The part of the code you describe only install the table if the plugin has not already been installed.
    In this case $version will be equal to 0.0.0 and it will be < 1.1.0, it will then install the table.
    Something went wrong during the installation, do you have any error that could have shown up during the install process?

    Could you enable the debug in the plugin settings.
    What is the point color and count in the admin menu bar like here https://drive.google.com/file/d/1cFEXLqAgdqz3fu6Qw4XvEBmSICcqlPU7/view?usp=sharing

    If it’s orange please click on it and then check the debug log in the plugin folder.

    Also you could open you developer tools console (F12) and see if there is any javascript error during this process.

    Best regards

    Hi,

    thanks for the responce.
    1.) Version check is not working if the plugin was installed and un-installed before. There seems to be a vaiable that is not reseted after disable/un-install.
    No error messages here.

    2.) The point color is orange and the queue count is 3002.
    if i click on it, nothing happens. Just a ajax request in the background.
    Response is {“queue_length”:3002,”title”:”3002 Attachments queued to be moved”}.
    And thats it! nothing more is happening even while debugging is enabled. Error log = nothing!

    Plugin Author dbarrere

    (@dbarrere)

    Could you look at your website page http://yourwebsite.com/wp-admin/options.php and look for a “wp-media-folders-token” options in the list?

    Thanks

    HI,

    yes, there is a toke given for “wp-media-folders-token”.
    I afraid a other plugin is the problem. I already disabled plugins that could interfer with your plugin. But i cant find the problem or any errors.

    Thanks alot!

    Plugin Author dbarrere

    (@dbarrere)

    Hi,

    It will be difficult to debug in this case.
    I would recommend to use the https://wordpress.org/plugins/health-check/ plugin, it helps to only enable a plugin at once for the admin.
    But I’m not sure it will help you, as processing requests are made in an asynchronous way, it means that these requests will be done as a normal user and would not be detected as admin by the health check plugin.
    In any case you could give a try it won’t hurt.

    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.