Hi @andrews32,
Thanks for your message.
What version of PHP are you using?
Oh, so quickly! I`m very pleased.
Just udated WP to latest.
PHP was 5.6 until this minute (changed to 7.1, and the “Plugins” dashboard section became overloaded by PHP errors…
First I have to fix all the other plugins bugs “at least adding “@”).
But, your plugin shows some bus too (I cannot activate it right now – no “Activate” link, xoxo, just error messages):
Warning: count(): Parameter must be an array or an object that implements Countable in /wp-admin/includes/class-wp-list-table.php on line 546
Warning: Invalid argument supplied for foreach() in /wp-admin/includes/class-wp-list-table.php on line 562
1st fatal error solved (“workaround” method. “crutch” in my language):
public function showDeactivationModal(){
//if(basename(($_SERVER[‘SCRIPT_FILENAME’] ?? ”), ‘.php’) !== ‘plugins’){return;}
$basename = basename( ($_SERVER[‘SCRIPT_FILENAME’]), ‘.php’ );
if($basename !== ‘plugins’){return;}
…
But the next bug appeared:
Parse error: syntax error, unexpected ‘?’ in /wp-content/plugins/webp-converter-for-media/app/Loader/Passthru.php on line 73
Please install PHP version 7.0 or higher. The plugin does not support PHP 5.6.
Thank you!
To install PHP 7+, I have to fix too many other installed plugins bugs…
I`d better find another Webp convert plugin.
Closed ticket.
Just update them. Plugins should have been supporting PHP 7.0 for a long time.
gave me the same error. php 7
I have the same error.
WP version: 5.7
Plugin version: 2.4.0
PHP version: 7.4.15