Hello,
After a recent installation, the above error appears when I attempt to access any of my galleries. Is anybody familiar with it? If not, which additional information is necessary for proper troubleshooting?
This is the full content of the error detail:
Fatal error: Uncaught TypeError: Argument 2 passed to DerivativeImage::__construct() must be an instance of SrcImage, string given, called in /var/www/html/heviifoto/plugins/Preload/main.inc.php on line 197 and defined in /var/www/html/heviifoto/include/derivative.inc.php:193 Stack trace: #0 /var/www/html/heviifoto/plugins/Preload/main.inc.php(197): DerivativeImage->__construct(NULL, 'medium') #1 /var/www/html/heviifoto/include/functions_plugins.inc.php(279): Preload_populate_images() #2 /var/www/html/heviifoto/include/page_header.php(29): trigger_notify('loc_begin_page_...') #3 /var/www/html/heviifoto/picture.php(1042): include('/var/www/html/h...') #4 {main} thrown in /var/www/html/heviifoto/include/derivative.inc.php on line 193
Piwigo 2.9.1
Operating system: Linux
PHP: 7.0.20 (Show info) [2017-07-03 15:54:51]
MySQL: 5.5.5-10.1.24-MariaDB [2017-07-03 15:54:51]
Graphics Library: ImageMagick 6.9.3-0
Last edited by heviifoto (2017-07-03 22:06:06)
Offline
RESOLVED.
The preload module appears to be "sick". Once I removed it, all was well again.
Offline