Error in core.php / v4.2.8
-
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: https://phtn.net/corona/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]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Error in core.php / v4.2.8’ is closed to new replies.