verbb / navigation

A Craft CMS plugin to create navigation menus for your site.
Other
90 stars 23 forks source link

Queue: Argument 1 passed to craft\services\Elements::getElementById() must be of the type int, null given #253

Closed ammannbe closed 3 years ago

ammannbe commented 3 years ago

Description

If there is a navigation node with the type "Entries", but no Entry is chosen, the queue manager fails on creating new sites.

Steps to reproduce

  1. Create a new node with Type "Entries" but none selected
  2. Create a new site in Settings > Sites > + New Site

Additional info

Additional context

The mentioned node was created by a customer some time ago, so I am not 100% sure what exactly happened. The error already appeared creating a new site, so it's more kind of a general error if you leave the entry empty.

engram-design commented 3 years ago

Fixed in 1.4.16