I have a lot images on one website and many of them are deleted from server. I want to set default image with .htaccess using this code:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(jpe?g|png|gif)$ /images/slike/11/defaultimage.jpg [L,NC]
It worked on PHP 8.1 but in PHP 8.2 does not. It gives error
ERROR 0 - Call to undefined method ismartresimgRedim::flushImages() in /home/xxxx/public_html/plugins/content/smartresizer/smartresizer.php:556
Error is shown only on blog view where smartresizer is enabled. In article view there is no error.