PDF Test File Congratulations, your computer is equipped with a PDF (Portable Document Format) reader! You should be able to view any of the PDF documents and forms available on our site. PDF forms are indicated by these icons:. Yukon Department of Education. PDF Test Page Author. RVsitebuilder Laravel CMS is the most improved version of RVsitebuilder we ever made. By making on Laravel platform, it is now packed with website building tool, business tools, development tools for everyone, and available for control panel and non-control panel servers.
i try to export a blade view using the package from : https://github.com/barryvdh/laravel-dompdf
but i get an error array_merge(): Argument #2 is not an array
here my controller :
here my route :
here my view :
someone knows why i get this error ? thanks a lot in advance .
1 Answer
The problem is, you're passing an ID
string to the PDF::loadView()
method. You first need to grab the licencie object. Try the below:
Note, I assumed Licencie
is the model. If not, change that portion.