• Resolved TPF1

    (@tpf1)


    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 237

    The 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!

Viewing 1 replies (of 1 total)
  • Plugin Author Nabil Lemsieh

    (@nlemsieh)

    Hi @tpf1

    The warning has been removed in the latest version, but that shouldn’t be the reason, It’s likely you reached the limit of 150 images. You can check under WooCommerce > Smart Image Resize.

    Best,
    Nabil

Viewing 1 replies (of 1 total)
  • The topic ‘WP CLI’ is closed to new replies.