• Resolved cristian.spiescu

    (@cristianspiescu)


    Hi,

    I just installed this plugin which seems a real time saver. Unfortunately I cannot use it: Media > Cleaner is empty, and I cannot do any operation.

    I tried Meow Apps > Dashboard > Debug> Display Error Log but got:

    The PHP Error Logs cannot be found. Please ask your hosting service for it.

    Tried the classic stuff: clear cache, open from Firefox / Chrome, looked into the JS console, switched to a default theme (“Twenty Nineteen”; I normally use a theme called “WP Knowledge Base”).

    
    plugin version: 5.6.1
    wordpress version: 5.1.4
    php version: 5.3.10-1ubuntu3.26
    

    I’m hosting myself the WordPress instance. But as it usually “just works”, I don’t have a lot of dexterity (places for error log files, etc.).

    Any hint to try to debug/fix this problem would be greatly appreciated!

    Best regards,
    Cristian

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

    (@tigroumeow)

    Hello,

    I forgot but indeed, there is a plugin that does remove the results from the Cleaner Dashboard, but not only, also this kind of results list in general. Can you tell me which plugins you are using?

    Thread Starter cristian.spiescu

    (@cristianspiescu)

    Thanks a lot for your reply!

    This is the list of installed plugins. I have just deactivated (but not deleted) all except “media-cleaner”. And had the same result. Does it matter if the plugins are still there, even if they are deactivated?

    
    akismet
    authldap
    better-search-replace
    clipboard-images-premium
    duplicate-post
    easy-bootstrap-shortcodes
    easy-theme-and-plugin-upgrades
    enlighter
    index.php
    media-cleaner
    post-types-order
    rest-api
    restricted-site-access
    syntaxhighlighter
    taxonomy-terms-order
    tinymce-code-element
    wordpress-html5-shower-presentation.git
    wp-add-mime-types
    wp-updates-acknowledger-plugin
    

    UPDATE: looking at /var/log/apache2/error.log, I notice:

    
    [Mon Mar 23 08:45:33 2020] [error] [client 192.168.100.201] PHP Parse error:  syntax error, unexpected '[' in /data/wordpress/wp-content/plugins/media-cleaner/views/menu-screen.php on line 16,
    

    This kind of error: I’ve seen quite often lately, while trying to install various plugins. “Unexpected [“. I thought maybe it comes from the fact that I have PHP 5.3? I tried w/o success to upgrade to 5.6. Will try again this week to reinstall in a Docker container, that will hopefully make my life easier when dealing w/ deps.

    It’s been a long time since I’ve written code in PHP. But looking at line 16, I don’t see new syntax or so, that would maybe not be supported by older PHP.

    Best regards,
    Cristian

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hello,

    Your version of PHP is 6 years old; it’s not really supported by WordPress anymore, and by most plugins. I could modify the plugin to make it work, but it’s not good to keep a plugin coded with old standards. Right now, PHP 7 is the way to go, and even though the plugin is fully compatible with PHP 5.6, in a few months, only PHP 7 will be supported (same with WordPress).

    I really encourage you to do everything you can to move to PHP 7 🙂 It’s much faster too.

    Thread Starter cristian.spiescu

    (@cristianspiescu)

    Thanks for your reply!

    Right as we speak I play w/ docker. I will try to create a new “home” for our server. And maybe thanks to docker, this will be more robust as years go by and PHP versions evolve.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Media > Cleaner page is empty’ is closed to new replies.