IPrice minimart
powerfull & flexible online Store, price-lists and catalogs for Joomla
Welcome, Guest
Username: Password: Remember me

TOPIC: ERROR 0 imagedestroy(): Argument #1 ($image) must be of type GdImage, bool given

ERROR 0 imagedestroy(): Argument #1 ($image) must be of type GdImage, bool given 5 months 3 weeks ago #4950

  • Nidzo
  • Nidzo's Avatar
  • Offline
  • Новый участник
  • Posts: 10
  • Karma: 0
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.
Login or register to post message.
Moderators: support

Subscribe



Subscribe to our newsletter and social networks to be updated with the latest updates.

Login