Getting error like Argument 1 passed to Illuminate\Database\Grammar::parameterize() must be of the type array,
Hey All,
I am about to done almost my 1st training demo project for job but somehow last error is coming, previously I posted the same question for this but it was not answered. Please help so can sort out error.
Argument 1 passed to Illuminate\Database\Grammar::parameterize() must be of the type array, null given, called in :\xampp\htdocs\testCER\vendor\laravel\framework\src\Illuminate\Database\Query\Grammars\Grammar.php on line 87
@slev1n , in title, slug,event_date,event_video_link,event_place_name and category_id are in first table where I not using array just passing single time value. and in another I am using array, so that it's showing. Thanks
@snapey , @tray2 , @slev1n , Now data are submitting in simple form and also for array form for all 3 section , However, Image is showing NULL, and Featured1 has data like "C:\xampp\tmp\php4CD9.tmp" and For file "C:\xampp\tmp\php4CDA.tmp" and for Featured it's showing like "C:\xampp\tmp\php4CC7.tmp" in data base..Thanks to all
Rigth or wrong hm. I would probably not do it that way and use a package that does it for me or maybe have a loop checking for multiple files. It depends on what you are trying to do.
I wolud suggest remove all the [] from your form and get that to work first then add it on the ones where you really need to send multiples.
I would probably use javascript to submit them one by one.