My website works fine in a local environment but after creating a repo on Github and pushing the files to a cloud server, I get a whole bunch of Vendor/ related errors? Even though the /Vendor folder is included inside .gitignore
My best guess is that I'm missing some essential steps between DEV and PROD?
The error being displayed is: "array_keys() expects parameter 1 to be array, integer given"
See attached screenshot for further information:
Error you getting related to Vendor, So I think something is missing in vendor.
composer install
- Make sure installation processed successfully.php artisan cache:clear
I hope this works for you.