SQL Invalid Parameter Number when using string IDs #5150
-
I am using an SQL View as a model. The View generates two columns, My Eloquent Model has the following properties set to accomodate this protected $primaryKey = 'id';
protected $keyType = 'string';
public $incrementing = false; My Nova resource has the following two fields ID::make(),
Number::make('Count')->sortable(), The index page renders normally, but when I attempt to access the detail page, I get the following error:
It appears to not be selecting the 'count' column? Thats my best guess as to why the parameter number would be incorrect but honestly I am not sure. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Turns out the issue was due to outdated detail query code from the Nova 3 to 4 upgrade... |
Beta Was this translation helpful? Give feedback.
Turns out the issue was due to outdated detail query code from the Nova 3 to 4 upgrade...