WP CLI
-
Hi! thanks a lot for this amazing plugin. It is working fine using the back-office with Regenerate Thumbnails plugin. However when I try to use the command line with WP-CLI as recommended with the “Regenerate Thumbnails” It does not work.
I have 36k photos on my library. So I run the wp media regenerate, I can see the process lines (with an error):
2/37633 Regenerated thumbnails for “Jock” (ID 2796).
PHP Warning: array_reduce() expects parameter 1 to be array, string given in /var/www/vhosts/xxxx/httpdocs/wp-content/plugins/smart-image-resize/src/functions.php on line 237The process finish, I check my wp-upload folder, a few sizes are regenerated but not the ones we need. So it seems the wp media regenerate command works but does not detect your plugin settings.
Any suggestion?
THANKS!
The topic ‘WP CLI’ is closed to new replies.