Laravel batch assignment error Array to string conversion

$create = [
            "title" => $data["title"],
            "describes" => $data["introduce"],
            "promotions_detail" => json_encode([
                "type" => $data["discount_type"],
                "point" => $data["discount"]
            ]),
            "time_limit" => $data["deadline"],
            "extend" => json_encode($data),
            "status" => 1
        ];
        $res = Coupon::create($create);

an error will be reported by writing to the database in this way. What is the reason, the version of php7.2

Mar.21,2021

the code you posted looks fine. Which line of errors are reported, and data data ensures that there are no errors, and there is another way to write them while making sure there are no errors:
$create ['title'] = $data [' title'];
$create ['describes'] = $data [' introduce'];
$res = Coupon::create ($create);
or $res = Coupon::insert ($create);)


is there no whitelist


MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4c060-44e9a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4c060-44e9a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?