Closed 0528Makoto closed 1 year ago
can you share your model?
<?php
namespace App\Models\Simulation;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Staudenmeir\LaravelAdjacencyList\Eloquent\HasRecursiveRelationships;
class Subject extends Model
{
use HasFactory;
use HasRecursiveRelationships;
protected $table = "simulation_subjects";
}
What happened?
Add in form
Illuminate\Database\Grammar::parameterize(): Argument #1 ($values) must be of type array, string given, called in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php on line 1040
How to reproduce the bug
Package Version
3.0.3
PHP Version
8.2.9
Laravel Version
10.20.0
Which operating systems does with happen with?
Linux
Notes
No response