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

    (@tigroumeow)

    Hi,

    It’s not really a bug, the plugin works normally perfectly right now. Something else is happening during the process. Can you have a look at the PHP Error Logs? The JSON crash just shows that there was a reply from the server which was unexpected.

    Thread Starter macarrier

    (@macarrier)

    here’s what I found in the error log:

    [Thu Feb 09 16:40:00.268991 2017] [cgi:error] AH01215: PHP Warning: rename(/home/divineessence/public_html/wp-content/uploads/wpmc-trash/2017/02/nutmeg-8-150×150.jpg,/home/divineessence/public_html/wp-content/uploads/2017/02/nutmeg-8-150×150.jpg): No such file or directory in /home/divineessence/public_html/wp-content/plugins/media-cleaner/media-cleaner.php on line 296, referer: https://divineessence.revival.protected.ca/wp-admin/upload.php?page=media-cleaner&s&view=deleted

    Plugin Author Jordy Meow

    (@tigroumeow)

    I know what’s happening. You have files registered in the metadata of your media which aren’t on your system anymore. So your metadata is broken and my plugin fails because of this. But this it’s a cleaner, it should ignore those files and continue its process. I will fix this tonight or tomorrow and push the update ??

    Thread Starter macarrier

    (@macarrier)

    thanks alot. would be most grateful.

    Plugin Author Jordy Meow

    (@tigroumeow)

    New version ?? Can you try?

    Thread Starter macarrier

    (@macarrier)

    Did, got his error now.

    [Fri Feb 10 12:48:15.629450 2017] [cgi:error] [pid 26403] [client 67.223.155.249:56297] AH01215: PHP Notice: Undefined index: dirname in /home/divineessence/public_html/wp-content/plugins/media-cleaner/media-cleaner.php on line 327, referer: https://divineessence.revival.protected.ca/wp-admin/upload.php?page=media-cleaner&s&view=deleted
    [Fri Feb 10 12:48:15.629554 2017] [cgi:error] [pid 26403] [client 67.223.155.249:56297] AH01215: PHP Warning: rename(/home/divineessence/public_html/wp-content/uploads/wpmc-trash/,/home/divineessence/public_html/wp-content/uploads/): Directory not empty in /home/divineessence/public_html/wp-content/plugins/media-cleaner/media-cleaner.php on line 302, referer: https://divineessence.revival.protected.ca/wp-admin/upload.php?page=media-cleaner&s&view=deleted

    Plugin Author Jordy Meow

    (@tigroumeow)

    Mmm. Best at this point is to delete the wpml-trash directory, then Reset the Media Cleaner database. There are entries in the database that shouldn’t be here now, I could also fix this, but that would be too many fixes for the same issue, what I did should avoid this to happen again actually ?? Can you try to do this and scan again? Then you can try with one useless file, it should work ??

    Thread Starter macarrier

    (@macarrier)

    thanks! that helped.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Cool ?? So everything works nicely? Where you able to clean a of megabytes?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘SyntaxError: JSON.parse: unexpected character at line 1 column 1’ is closed to new replies.