wp imagify generate-missing-nextgen wp-content/uploads/2024/03
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Imagify\Bulk\Bulk::run_generate_nextgen(), 1 passed in /home/debxxxxxx/domains/domain.com/public_html/wp-content/plugins/imagify/classes/CLI/GenerateMissingNextgenCommand.php on line 19 and exactly 2 expected in /home/debxxxxxx/domains/domain.com/public_html/wp-content/plugins/imagify/classes/Bulk/Bulk.php:223
Stack trace:
#0 /home/debxxxxxx/domains/domain.com/public_html/wp-content/plugins/imagify/classes/CLI/GenerateMissingNextgenCommand.php(19): Imagify\Bulk\Bulk->run_generate_nextgen()
#1 [internal function]: Imagify\CLI\GenerateMissingNextgenCommand->__invoke()
#2 phar:///home/debxxxxxx/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
From the command line I am trying to generate the missing next generation images or AVIF. This as the generation via Dashboard hangs a lot.
But the page on usage at https://imagify.io/documentation/how-to-use-wp-cli-for-imagify/ is unclear and so when I run this it fails
What command should I use?