You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think you forgot to add the $id parameter to the html() methode of the Grav\Common\Page\Medium\ThumbnailImageMedium.php file, which raises an exception for images with the ?lightbox parameter. For example, [](blue_sky.jpg?lightbox) produces the error:
Declaration of Grav\Common\Page\Medium\ThumbnailImageMedium::html() should be compatible with Grav\Common\Page\Medium\Medium::html($title = NULL, $alt = NULL, $class = NULL, $id = NULL, $reset = true)
I manually added the $id parameter (lines 58-61 of ThumbnailImageMedium.php), and I don't have the error anymore.
I think you forgot to add the
$id
parameter to thehtml()
methode of theGrav\Common\Page\Medium\ThumbnailImageMedium.php
file, which raises an exception for images with the?lightbox
parameter. For example,[](blue_sky.jpg?lightbox)
produces the error:Declaration of Grav\Common\Page\Medium\ThumbnailImageMedium::html() should be compatible with Grav\Common\Page\Medium\Medium::html($title = NULL, $alt = NULL, $class = NULL, $id = NULL, $reset = true)
I manually added the $id parameter (lines 58-61 of ThumbnailImageMedium.php), and I don't have the error anymore.
The text was updated successfully, but these errors were encountered: