Category "laravel"

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

post data esp8266 to laravel

my problem is that when i tap rfid to scanner it appears on serial monitor Valet - Not found. this is a picture when i tap the rfid card and an error appears on

Insert into multiple input fields using select2 and ajax in laravel

I am trying to use a single select request to retrieve data from database based on the search term "name" and populate my input fields using select2 so that i d

Laravel "Skip" WhereIn when request not Filled or null?

I have controller with request like below $product = $request->product; //array $product_category = $request->product; if($request->filled('product'))

Laravel Excel beforeExport event to load excel from aws s3 bucket not working

I am using matwebsite Laravel excel to do some updates in existing excel and export. I am using beforeExport method to do some updates in the excel. when i prov