Recent Update Error: fatal error.
-
Hi, I updated the plugin yesterday (everything worked fine before update) and now receive this error message: I’ve had to disable the plugin manually as it breaks the site.
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘:’ in /var/sites/c/mysite/public_html/wp-content/plugins/bad-plugin-menu-image/menu-image.php on line 574And this is the code within menu-image.php
public function menu_item_custom_fields( $item_id, $item, $depth, $args ) { ?> <div class="field-image hide-if-no-js wp-media-buttons"> <?php echo $this->wp_post_thumbnail_html( $item_id ?: $item->ID ) ?> </div> <?php }
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Recent Update Error: fatal error.’ is closed to new replies.