- Laravel Version: 5.8.
- PHP Version: 7.2.5
- Database Driver & Version: mysql
Stacktrace:
Symfony\Component\Debug\Exception\FatalThrowableError : Argument 1 passed to Illuminate\Database\Query\Builder::insert() must be of the type array, null given, called in C:\xampp\htdocs\Laravel\crm\database\migrations\2018_07_18_054859_create_counters_table.php on line 28 at C:\xampp\htdocs\Laravel\crm\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php:2611
2607| *
2608| * @param array $values
2609| * @return bool
2610| */
> 2611| public function insert(array $values)
2612| {
2613| // Since every insert gets treated like a batch insert, we will make sure the
2614| // bindings are structured in a way that is convenient when building these
2615| // inserts statements by verifying these elements are actually an array.
Exception trace:
1 Illuminate\Database\Query\Builder::insert()
C:\xampp\htdocs\Laravel\crm\database\migrations\2018_07_18_054859_create_counters_table.php:28
2 CreateCountersTable::load()
C:\xampp\htdocs\Laravel\crm\database\migrations\2018_07_18_054859_create_counters_table.php:23
Please use the argument -v to see more details.
from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2Liuz50
via IFTTT
Aucun commentaire:
Enregistrer un commentaire