Category "laravel"

Display Leaflet marker using latitude and longitude from XAMPP database using Laravel framework

I need help with this problem since I tried quite a few tutorials and videos, but I still can't implement them. The homepage of my website including the Leaflet

Storing Laravel Logs using InfluxDb, Telegraf and Grok

I'm trying to centralize all Laravel logs using Telegraf and visualize them with Grafana. For now I can store logs with the following format: [2022-03-31 12:08:

Trying to import vue2-google-maps in blade.php file

I'm was trying to import vue2-google-maps in my blade.php file but failed. Is there any possibility to to import vue2-google-maps in blade.php file. Following i

Whay not jQuery .sortable is not a function?

When I am Create Drag and Droppable Datatables Using jQuery UI Sortable in Laravel Then Drag and drop not working in this code ... Create Drag and Droppable Dat

Facade does not implement getFacadeAccessor method

I got this error message after trying to downgrade laravel 9 to 8 cause i recently downgraded my php version from 8 to 7.3 In Facade.php line 178:

Botman ChatWidget available methods only work on click event

I want to use botmanChatWidget.say(text) on page load but it only works on click event. Help!

variable value not getting displayed on laravel blade

I have following in my laravel blade file. @slot('title') {{ $user->first_name }} {{ $user->last_name }} @endslot <?php if (App\Models\Departme

laravel fortify sanctum SPA issues on forge

My setup is working properly locally but apparently I'm getting a 401 issue on laravel forge for my laravel-fortify-sanctum basically I use laravel fortify for

Pusher Cannot read properties of undefined (reading 'push')

I want to update the list of users with pusher. When I submit the console shows this error: enter image description here I also get Uncaught refering to pusher.

Call to undefined method Illuminate\Database\Eloquent\Builder::links() error when attempting to paginate

I'm trying to create a simple filter system with a search box, service, category and a way to sort the items in my laravel controller. However, I am getting an

Error: Ziggy error: 'id' parameter is required for route

I am working on single SPA using laravel and inertia js. I am using multi language as well. So I am passing language as prefix parameter like this. Route::group

Invalid parameter number in Laravel Raw Query

I have the following query in mysql select count(*) as aggregate from `promotions` where `supplier_id` = 1 and '2022-03-27' <= promotions.to AND '2022-04-27'

searching on name instead of id on sql

I have search input in my products page. I can search on name on description and on category if I type the id but that's not really practical how i change this

How to create a relationship in Laravel 9

I tried to create a relationship in Laravel for this, Expense has May ExpensesItem Expense has One ExpensesCategory But I could not create a relationship betwee

TypeError: Cannot read properties of null (reading 'dataset') in Laravel Jetstream-inertia

This error suddenly appears out of nowhere. i tried reinstalling the npm packages but it doesn't work. but when it works when i create a fresh project of jetstr

Filter all row with the same foreign key when a those column is null in laravel

i have table schema in mysql for my project. this project build with laravel and as you can see in the below image i want to fillter all row with the same store

Laravel One to many trough belongsto and many to many (with pivot in between)

I've been looking around for a fix but couldn't find it. The situation: Resources are connected to an Event, multiple resources can be connected to multiple eve

Call to undefined function Symfony\Component\Console\Input\escapeshellarg()

When running composer install in production I get a new error message today: $ composer install Installing dependencies from lock file (including require-dev) V

Laravel | Update two tables

I have a doubt here regarding changing data in two tables in public function editar_perfil(Request $request, funcionario $item){ $item->nome = $re

Unable to retrieve data from parent form in InlineCreate operation in backpack for laravel

I implement the InlineCreate Operation in Backpack for Laravel and works fine, but my field depend of other field and I can't to get the parent field informati