Notice: Undefined variable: thisSize in /var/www/piwigo-gallery/plugins/Preload/main.inc.php on line 197

Catchable fatal error: Argument 2 passed to DerivativeImage::__construct() must be an instance of SrcImage, string given, called in /var/www/piwigo-gallery/plugins/Preload/main.inc.php on line 197 and defined in /var/www/piwigo-gallery/include/derivative.inc.php on line 193