Hi
I’m unable to create tailor menu references since version 4.2.22. It is a new website and new installation, I’ve created and migrated the menu blueprints. The system creates the main menu container, but when I try to add a new menu item, when selecting the reference, it briefly displays a loader icon and then nothing happens. I can save the menu item, but not the reference. I’ve tried saving the menu item first and then adding the reference, but it gives the same issue. There are no errors in the browser developer tools, but in the error log, I get the error:
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘pvgh.xc_b022a74b15e64c6b9eb917efc5103543c’ doesn’t exist (Connection: mysql, Host: localhost, Port: 3306, Database: pvgh, SQL: select * from xc_b022a74b15e64c6b9eb917efc5103543c where is_enabled = 1 and (published_at is null or published_at < 2026-06-08 09:25:24) and (expired_at is null or expired_at > 2026-06-08 09:25:24) and xc_b022a74b15e64c6b9eb917efc5103543c.draft_mode = 1 and xc_b022a74b15e64c6b9eb917efc5103543c.is_version = 0 and xc_b022a74b15e64c6b9eb917efc5103543c.deleted_at is null order by nest_left asc)
I’ve also tried removing the uids and remigrate the blueprints, but no luck.
Any idea how to solve this?
Here’s my blueprint code:
site/menus.yaml
uuid: 2617ca02-a2a4-4177-a3da-a5151f641a59
handle: Site\Menus
type: entry
name: Menu
drafts: false
pagefinder: false
customMessages:
buttonCreate: New Menu
navigation:
label: Menus
icon: icon-sitemap
order: 300
columns:
title:
label: Title
entry_type_name:
label: Menu Type
invisible: false
slug:
label: Code
invisible: false
fields:
slug:
label: Code
validation:
- required
groups:
regular_menu:
name: Regular Menu
fields:
items:
label: Menu Items
type: nesteditems
span: adaptive
maxDepth: 0
customMessages:
buttonCreate: Add Item
titleCreateForm: Create Item
titleUpdateForm: Edit Item
form:
fields:
title:
label: Title
tab: Reference
default: New Menu Item
span: full
type: text
autoFocus: true
validation:
- required
reference:
label: Reference
type: pagefinder
tab: Reference
tabs:
fields:
_menu_item:
type: mixin
source: Site\Menus\MenuItem
sitemap_menu:
name: Sitemap Menu
fields:
sitemap_items:
label: Sitemap Items
type: nesteditems
span: adaptive
maxDepth: 1
customMessages:
buttonCreate: Add Sitemap Item
titleCreateForm: Create Sitemap Item
titleUpdateForm: Edit Sitemap Item
form:
fields:
title:
label: Title
tab: Reference
default: New Menu Item
span: full
type: text
autoFocus: true
validation:
- required
reference:
label: Reference
type: pagefinder
tab: Reference
tabs:
fields:
_menu_item:
type: mixin
source: Site\Menus\SitemapItem
site/menus/_menu_item.yaml
uuid: 21ffa70d-f6d5-4e3f-bd72-7cf9977e0a1f
handle: Site\Menus\MenuItem
type: mixin
name: Menu Item
fields:
is_hidden:
label: Hidden
comment: Hide this menu item from appearing on the website.
type: checkbox
tab: Display
code:
label: Code
comment: Enter the menu item code if you want to access it with the API.
tab: Attributes
span: auto
type: text
preset:
field: title
type: slug
css_class:
label: CSS Class
comment: Enter a CSS class name to give this menu item a custom appearance.
tab: Attributes
span: auto
type: text
is_external:
label: External Link
comment: Open links for this menu item in a new window.
tab: Attributes
type: checkbox
nesting:
label: Include nested items
shortLabel: Nesting
comment: Nested items could be generated dynamically by supported page references.
type: checkbox
tab: Reference
column: false
replace:
label: Replace this item with its generated children
comment: Use this checkbox to push generated menu items to the same level with this item. This item itself will be hidden.
type: checkbox
tab: Reference
column: false
scope: false
trigger:
action: disable|empty
field: nesting
condition: unchecked
site/menus/_sitemap_item.yaml
uuid: 754655ff-8982-439a-81d5-e8b7e31668f9
handle: Site\Menus\SitemapItem
type: mixin
name: Menu Item
fields:
priority:
label: Priority
commentAbove: The priority of this URL relative to other URLs on your site.
tab: Sitemap
type: radio
inlineOptions: true
options:
'0.1': '0.1'
'0.2': '0.2'
'0.3': '0.3'
'0.4': '0.4'
'0.5': '0.5'
'0.6': '0.6'
'0.7': '0.7'
'0.8': '0.8'
'0.9': '0.9'
'1.0': '1.0'
changefreq:
commentAbove: How frequently the page is likely to change.
label: Change Frequency
tab: Sitemap
type: radio
inlineOptions: true
options:
always: Always
hourly: Hourly
daily: Daily
weekly: Weekly
monthly: Monthly
yearly: Yearly
never: Never
nesting:
label: Include nested items
shortLabel: Nesting
comment: Nested items could be generated dynamically by supported page references.
type: checkbox
tab: Reference
column: false
replace:
label: Replace this item with its generated children
comment: Use this checkbox to push generated menu items to the same level with this item. This item itself will be hidden.
type: checkbox
tab: Reference
column: false
scope: false
trigger:
action: disable|empty
field: nesting
condition: unchecked