[ad_1]
Hi, after the update to 4.2.8 I’m getting the following error on
https://phtn.net/corona/galerie/
[Sun Nov 27 14:18:42.016529 2022] [php7:emerg] [pid 21985] [...] PHP Parse error: syntax error, unexpected ')' in /.../plugins/meow-gallery/classes/builders/core.php on line 87, referer:
which is this code
if ( empty( $image_size ) || $image_size === 'srcset' ) {
$imgSrc = wp_get_attachment_image( $id, $this->size, false,
$this->layout === 'carousel' ?
[ 'class' => 'skip-lazy' ] :
[ 'class' => 'wp-image-' . $id ],
);
}Removing the extra “,” after “$id ]” fixes the problem.
The page I need help with: [log in to see the link]
