I'm trying to add a new Post but whenever i submit i get the above error message. This is Route: Route::get('/p/create' , [App\Http\Controllers\PostsController:
anyone can explain why this happen? i cant access my data at view because it suddenly change to array. I try to check it using var_dumb at controller public fun
Controller: $html = ""; $user_id = 10; $by = 'By Aaron'; $getLedgerData = "getLedgerData('" . $user_id. "','" . $by . "')"; $html .= "<a onclick=" . $getLedg
I'm using ORM Eloquent and I need to filter all models using a date interval and an own property of the model. The raw SQL would be: SELECT * FROM model WHERE s
Tried to upload .tiff images using Laravel. used intervention/image for the image upload. it's not worked.shows this message. Unsupported image type image/tiff.
I get the following error when I try to install Laravel Spark: Your requirements could not be resolved to an installable set of packages. Problem 1. - laravel/
This is a fresh laravel app that I am using to learn. There is no current table as this would be a fresh/first time migration. Why is it giving me this error:
I have a form with uploading audio mp3. I need to protect these audio files from direct access from url, accessible only logged users. Added a new storage disk
In laravel Many to Many relationship like the one in the Laravel Documentation example. https://laravel.com/docs/9.x/eloquent-relationships#many-to-many users
If the value is exist in localstorage I want to replace it. When I try to do that existing value is still inserting. addEntry = (e,id) => { e.preventD
My route looks like this: Route::get('/tags/post/{id}', function ($id){ $post = Post::find($id); foreach ($post->tags as $tag) { return
I am working on an e-commerce platform based on Laravel and Livewire using the bumbummen99 shopping cart. My problem is that I can only add items to the cart, b
I have a form that is supposed to submit order details to the orders table through a custom select element (headlessUI Combobox). The element works fine but I c
i have this error invalid argument (Session info: headless chrome=91.0.4472.77) when if try $browser->visit('/'); but when i try $browser->visit('https:/
I need to set up a single user registration and login page to work for separate Laravel applications or projects, such that if a user registers on the first app
I am trying to upload/download files from amazon s3 using KMS, although i have implemented this without using KMS by the following code, $filePath = "users/" .
I had to install shopify-cli for develop shopify app with laravel. installation and test app are created successfully but when am i calling the API of shopify i
I have the following structure: A parent component: class SiteEditComponent extends Component { protected $listeners = ['upClicked', 'downClicked', 'childU
$posts = Post::all()->orderby('created_at','desc')->where('usr_id','=',session('LoggedUser'))->get(); return view('admin.profile',compact('userIn
I have the code below but it showing an error "Cannot use empty array elements in arrays". It seems that the issue is in this line }), collect(json_decode($pos