• Resolved Shane

    (@shanemarsh28)


    We have has an issue with an old site that has recently been upgraded to PHP8.2. If gallery_height in the shortcode is set to “auto” the page exits with a fatal error. This appears to be a backwards compatibility issue..

    PHP message: PHP Fatal error: Uncaught TypeError: Unsupported operand types: string / string in …/nextgen-gallery/src/DisplayTypes/Slideshow.php:76

    Reproducible when the short code is written like this:
    [ngg src=”galleries” ids=”34″ display=”basic_slideshow” gallery_width=”800″ gallery_height=”auto” show_thumbnail_link=”0″]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Slideshow.php line 76: Uncaught TypeError’ is closed to new replies.