Voyager
HomeGithubIssues
1.4
1.4
  • Introduction
  • Getting started
    • What is Voyager
    • Prerequisites
    • Installation
    • Upgrading
    • Configurations
  • BREAD
    • Introduction
    • Relationships
    • Formfields
      • Checkbox/Multiple Checkbox/Radio
      • Coordinates
      • Date & Time
      • Dropdown
      • Images
      • Media Picker
      • Number
      • TinyMCE
  • 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
On this page
Export as PDF
  1. Troubleshooting

Missing required parameter

PreviousUsing HTTPS on yours site

Last updated 5 years ago

Symptom: You get an error page saying

Missing required parameters for [Route...]

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