Notice: Undefined variable: thisSize in /home/u843758261/public_html/plugins/Preload/main.inc.php on line 197
Fatal error: Uncaught TypeError: Argument 2 passed to DerivativeImage::__construct() must be an instance of SrcImage, string given, called in /home/u843758261/public_html/plugins/Preload/main.inc.php on line 197 and defined in /home/u843758261/public_html/include/derivative.inc.php:194 Stack trace: #0 /home/u843758261/public_html/plugins/Preload/main.inc.php(197): DerivativeImage->_construct(NULL, 'medium') #1 /home/u843758261/public_html/include/functions_plugins.inc.php(279): Preload_populate_images() #2 /home/u843758261/public_html/include/page_header.php(29): trigger_notify('loc_begin_page...') #3 /home/u843758261/public_html/picture.php(1035): include('/home/u84375826...') #4 {main} thrown in /home/u843758261/public_html/include/derivative.inc.php on line 194
Bug when installing on version 2.9.0 of piwigo.
Notice: Undefined variable: thisSize in /home/u843758261/public_html/plugins/Preload/main.inc.php on line 197
Fatal error: Uncaught TypeError: Argument 2 passed to DerivativeImage::__construct() must be an instance of SrcImage, string given, called in /home/u843758261/public_html/plugins/Preload/main.inc.php on line 197 and defined in /home/u843758261/public_html/include/derivative.inc.php:194 Stack trace: #0 /home/u843758261/public_html/plugins/Preload/main.inc.php(197): DerivativeImage->__construct(NULL, 'medium') #1 /home/u843758261/public_html/include/functions_plugins.inc.php(279): Preload_populate_images() #2 /home/u843758261/public_html/include/page_header.php(29): trigger_notify('loc_begin_page_...') #3 /home/u843758261/public_html/picture.php(1035): include('/home/u84375826...') #4 {main} thrown in /home/u843758261/public_html/include/derivative.inc.php on line 194
<!-- github-sync-id:226889529 -->
I had the same problem. I'm not sure if this is a fix or a workaround :), but install the Automatic Size plugin. The error goes away.
I had the same problem. I'm not sure if this is a fix or a workaround :), but install the Automatic Size plugin. The error goes away.
<!-- github-comment-id:312897394 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bug when installing on version 2.9.0 of piwigo.
Notice: Undefined variable: thisSize in /home/u843758261/public_html/plugins/Preload/main.inc.php on line 197
Fatal error: Uncaught TypeError: Argument 2 passed to DerivativeImage::__construct() must be an instance of SrcImage, string given, called in /home/u843758261/public_html/plugins/Preload/main.inc.php on line 197 and defined in /home/u843758261/public_html/include/derivative.inc.php:194 Stack trace: #0 /home/u843758261/public_html/plugins/Preload/main.inc.php(197): DerivativeImage->_construct(NULL, 'medium') #1 /home/u843758261/public_html/include/functions_plugins.inc.php(279): Preload_populate_images() #2 /home/u843758261/public_html/include/page_header.php(29): trigger_notify('loc_begin_page...') #3 /home/u843758261/public_html/picture.php(1035): include('/home/u84375826...') #4 {main} thrown in /home/u843758261/public_html/include/derivative.inc.php on line 194
No comments, let alone a resolution, yet??
I had the same problem. I'm not sure if this is a fix or a workaround :), but install the Automatic Size plugin. The error goes away.
Thanks for the tip, jambrosino. I worked around the issue by getting rid of the Preload Module.