Voyager
Home
Github
Issues
Search…
1.5
Introduction
Getting started
What is Voyager
Prerequisites
Installation
Upgrading
Configurations
BREAD
Introduction
Relationships
Formfields
Core concepts
Routing
Media Manager
Menus and Menu Builder
Database Manager
Settings
Compass
Roles and Permissions
Helper methods
Multilanguage
Customization
Overriding files
Overriding Routes
Additional CSS and JS
Enabling Soft-Delete
Custom relationship attributes
Adding custom Formfields
Coordinates
BREAD accessors
Custom guard
Action buttons
Troubleshooting
Using HTTPS on yours site
Missing required parameter
Powered By
GitBook
Missing required parameter
Symptom:
You get an error page saying
1
Missing required parameters for [Route...]
Copied!
Cause:
There are two possible causes:
1.
You dont have a primary-key for your table
2.
You have a primary-key but it's
not
called
id
Solution:
As there are two causes, there are also two solutions: 1. Simply create a field
id
for the table 2. Tell your model about your primary-key:
protected $primaryKey = 'your_primary_key';
Please consider following
Eloquents model conventions
​
Troubleshooting - Previous
Using HTTPS on yours site
Last modified
6mo ago
Export as PDF
Copy link