Error [500]

Attempt to assign property "slug" on bool
.../components/com_weblinks/src/View/Weblink/HtmlView.php:62
57         $this->item   = $this->get('Item');
58         $this->state  = $this->get('State');
59         $this->params = $this->state->get('params');
60         // Create a shortcut for $item.
61         $item         = $this->item;
62         $item->slug   = $item->alias ? ($item->id . ':' . $item->alias) : $item->id;
63         $temp         = $item->params;
64         $item->params = clone $app->getParams();
65         $item->params->merge($temp);
66         $offset = $this->state->get('list.offset');
67         $app->triggerEvent('onContentPrepare', ['com_weblinks.weblink', &$item, &$item->params, $offset]);