I have checked several others codes online but they seem to be working fine but mine keeps saying that move cannot be used on an array $files = $request->file('file'); foreach ($files as $file){ $filename = time().'.'.$file->getClientOriginalExtension(); $location = public_path(‘uploads/’.$filename); $request->file->move(public_path(‘/uploads’), end($filename)); $filename_arr = [];
Question Station Latest Questions
Is it possible to use an externally hosted CSS file in Shopify? And if so, what is the best way to include it in the theme. liquid?
Honey
Asked: March 15, 2024
I am using “laravel/socialite”: “^3.0”, to facebook login. But it shows an error Type error: Argument 1 passed to Laravel\\Socialite\\SocialiteManager::formatRedirectUrl() must be of the type array, null given, called in /var/www/html/mas/vendor/laravel/socialite/src/SocialiteManager.php. It happens when I am calling the below function in my ...