• Resolved BruceHalpern

    (@brucehalpern)


    Trying out Media Cleaner for the first time. Start Scan. It stops at Preparing posts (85 posts)…

    php error log shows no errors.

    I ran it first with the Advanced settings at default.

    I tried doing Reset several times.

    I then changed them to try to fix this to Medias Buffer 50, Posts Buffer 1, Analysis Buffer 10, Delay 3000.

    Stops at 86 posts. I assume before it displayed 85 because it was doing 5 at a time. When I switched it to 1 at a time, it stops at 86.

    Scanning has the following checked: Posts, Post Meta, Widgets, Logs.

    Number of posts on website: 237. Media Library contains 8,733 items.

    php version 7.1.4.

    With the Logs box checked, I don’t know where to find the internal log file, as it doesn’t say.

    Thank you in advance for your help.

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    It should be no problem with your settings, and you don’t even have so many posts at all. Is your PHP Error Logs totally empty? Because that’s suspicious, maybe an indication that they don’t log anything.

    The internal cleaner doesn’t log errors, just what it does, so I am not sure it would help. But when it’s checked, and you analyzed something, it adds a link to the file (under the option).

    Thread Starter BruceHalpern

    (@brucehalpern)

    No, the php log is not empty. In fact, there was a Media Cleaner error because the database user did not have full access (normally it is only Alter, Create, Delete, Insert, Select, Update for security reasons). However, I gave the database user full privileges and reset and reran Media Cleaner and from that point on no errors were recorded while running Media Cleaner.

    If I understand what you are saying, the plugin log only logs what it does and since it never got to the point of doing anything, that log would not exist.

    Thanks for your reply. Please let me know what further information I can provide.

    UPDATE: Just to make clear, it still stops at 86 posts with full database user privileges. Just no error logged after that.

    • This reply was modified 7 years, 1 month ago by BruceHalpern.
    • This reply was modified 7 years, 1 month ago by BruceHalpern.

    Mine is stopping at 60 posts. I have tried a few different modifications of the settings and have had as high as 65 posts scanned.

    Screenshot – https://goo.gl/uoTbaz

    Error Log – 5 items like this:
    [Wed Feb 14 20:03:12.592267 2018] [:error] [pid 18935] [client 91.200.12.50:43984] preventing possible attempt to enumerate users, referer: https://westcoat.com/?author=5

    • This reply was modified 7 years, 1 month ago by koskow.

    UPDATE:
    My host has a long process killer. They disabled that temporarily for me. Didn’t fix the issue. They said there are no error logs related to this. The couldn’t offer any additional idea about why this is hanging.

    Plugin Author Jordy Meow

    (@tigroumeow)

    “preventing possible attempt to enumerate users” -> that’s not related.

    But strange that it hangs without a reason. Can be a proxy or anything in between too, I guess. With Post Buffer = 1 it should work easily though.

    Have a look at the Chrome Developers Tool (Network tab).

    Thread Starter BruceHalpern

    (@brucehalpern)

    Updated Media Cleaner to the new version today (version 4.5.6). Disabled several other plugins in the hopes it was one of them causing the issue with a conflict. Noticed that the Media Cleaner Advanced Settings appears to be missing in the new version.

    Still sticks at “Preparing posts (86 posts)…”.

    Could you tell me what order it prepares the posts and therefore, which post it is stuck on? I could then examine that post to see if there is something different about that post. I also could delete that post. So when it is at that point, is it working on the 86th post or the 85th or 87th? And how does it number them?

    As for “Chrome Developers Tool (Network tab)”, do you want me to use that in some way? If so, please describe exactly how I should use it to gather data.

    Thank you again for your help.

    • This reply was modified 7 years, 1 month ago by BruceHalpern.

    Here is the log from the dev tools console. This error doesn’t pop up until after it starts hanging. Meaning, we are all clear until hitting 60 posts – then this pops up.

    https://drive.google.com/file/d/14ITIbDpIPzHhfDWDbk7kfFaF0GwEXe0A/view?usp=sharing

    Thanks.

    P.S. –> @brucehalpern
    With the updated plugin (pro version) the settings are in their own section in the left nav – no longer under settings.

    I see this is marked as resolved, but I don’t see how.

    I, too am having this problem, but in my case it gets to 810 posts before stopping.

    I’m eagerly waiting to see if the logs that @koskow provided offer any solutions.

    Plugin Author Jordy Meow

    (@tigroumeow)

    @koskow If there is an error/warning happening, very often because of another plugin doing an action from time to time, the process might fail. So if you want to debug more easily, try to disable all the plugins before scanning.

    I can also provide fresh installs of WordPress if you need.

    Thread Starter BruceHalpern

    (@brucehalpern)

    With the updated plugin (pro version) the settings are in their own section in the left nav – no longer under settings.

    I don’t have the pro version and I don’t see any setting section under Meow Apps or Media in the left nav.

    The issue for me may be another plugin. I’m going to see if I can disable as many as I can and try again. However, the setting is stuck at 1 post at a time since the disappearance of the Media Cleaner Advanced Settings for me, so it will take a while.

    Update: I de-activated all my plugins and went from 60 to 40 scanned files before freezing. Then I changed my theme from the custom developed theme to the 2016 theme. It worked perfectly…

    Except that because 2016 theme doesn’t use all the same files and icons, when I run the program it identifies tons of images that are in use on my custom theme.

    Jordy – can you help me? How can I contact you offline?

    Thanks!

    Kevin

    Thread Starter BruceHalpern

    (@brucehalpern)

    Ok, I’ve actually got some data. WooCommerce log shows some errors:

    2018-02-15T10:05:47+00:00 CRITICAL Uncaught Error: Call to a member function log() on null in /DIRECTORY_NAME_REMOVED_FOR_SECURITY/wp-content/plugins/media-cleaner/wpmc_admin.php:283
    Stack trace:
    #0 /DIRECTORY_NAME_REMOVED_FOR_SECURITY/wp-admin/includes/template.php(1378): Meow_WPMC_Admin->admin_debuglogs_callback(Array)
    #1 /DIRECTORY_NAME_REMOVED_FOR_SECURITY/wp-admin/includes/template.php(1337): do_settings_fields(‘wpmc_settings-m…’, ‘wpmc_settings’)
    #2 /DIRECTORY_NAME_REMOVED_FOR_SECURITY/wp-content/plugins/media-cleaner/wpmc_admin.php(172): do_settings_sections(‘wpmc_settings-m…’)
    #3 /DIRECTORY_NAME_REMOVED_FOR_SECURITY/wp-includes/class-wp-hook.php(286): Meow_WPMC_Admin->admin_settings(”)
    #4 /DIRECTORY_NAME_REMOVED_FOR_SECURITY/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #5 /DIRECTORY_NAME_REMOVED_FOR_SECURITY/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #6 /DIRECTORY_NAME_REMOVED_FOR_SECURITY/wp-admin/admin.php(224): do_action(‘meow-apps_page_…’)
    #7 {main}
    thrown

    Plugin Author Jordy Meow

    (@tigroumeow)

    @brucehalpern For this, it is a bug. Disable the logs. Wait for the new version ??

    amymattian

    (@amymattian)

    Hi,
    I also get stuck but in 960… When do you think the next version will be available? I have the pro version.

    Anne

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    If you are Pro, it’s better to contact me directly. The current version works perfectly, the freezing is the most common issue and comes from timeout when an install is too huge and the server not powerful enough, it’s not really “a bug”.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Scan Stops’ is closed to new replies.