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?
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
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.
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.