All Questions
116,747
questions
-1
votes
1
answer
21
views
Laravel custom helper function bug when attempting to alter navigation links to show the current active page in Laravel blade
When I pass my custom helper function as a variable to Laravel Blade, the bug occurs when I click a link to a new page. The error will read the variable was not found. There are a total of 6 ...
0
votes
0
answers
22
views
Laravel still uses database table for cache despite setting redis for caching
from the documentation I setup redis for the cache. But whenever I try hitting any end point, it gives me error for not ebing able to find the table cache in the database. I want only redis to be used ...
-1
votes
1
answer
18
views
How can I use visitor and authentication middleware for the same route?
I need a screen to be accessed both by those who have logged in and by visitors, however I wanted to use auth()->user() on this page to access the data, however if I use the auth middleware it does ...
0
votes
2
answers
17
views
Laravel Carbon (How to calculate exit next payment date)
I need to get exit next date of payment of loan:
as loan date: 1-1-2020
loan period: 2 years 5 months
payment date: ? ?
calculating expected date of payment
// calculating next payment date
...
0
votes
0
answers
8
views
Intervention\Image\Facades\Image not working on Laravel 10 and Intervention 3.7
So I am following a course from Udemy by Brad about Laravel, and while it is from almost two years ago now, many people recommended it to me because everything is still relevant. In one of his lessons,...
0
votes
1
answer
20
views
I want to redirect all 404 errors to specific path (example.com/not-found) in Laravel 11
I want to redirect all 404 erros to /not-found using laravel 11.
ex:
example.com/not-found-page redirect to example.com/not-found
example.com/another-not-found-page redirect to example.com/not-found
//...
0
votes
0
answers
14
views
Extending Laravel Nova: Building a Full Marketplace with Admin and Client Features
I've been diving into Laravel Nova and am really impressed with its intuitive UI and powerful features. As someone still in the learning phase of Laravel, I could really use some guidance from the ...
0
votes
0
answers
21
views
Laravel: in-place filtering of an model by dropdown selections
Idea
Via multiple dropdown menus filter the model
Requirements
Page shall not be loaded
Every dropdown selection, filters the model (send queries to DB), as well as adds an query parameter to the ...
0
votes
0
answers
20
views
UpdateForm.js:78 PUT http://localhost:8080/api/items/4 422 (Unprocessable Content)
I was working on a Small Personal Project of mine of learning purposes.
Using ReactJs as Frontend & send requests to Laravel API as Backend.
The CRUD application I made is almost complete but the ...
0
votes
0
answers
27
views
How to get correct format for Solana wallet address private key?
I'm using Laravel and trying to work with Solana block chain
When I try to generate a wallet address I got the address right but the private key is not formatted correctly
This is my function below
...
0
votes
0
answers
11
views
How to fix error with lower case of parfaitementweb/filament-country-field?
On laravel / filament site I have added plugin from https://github.com/parfaitementweb/filament-country-field
and I want use key of countries just as I use in my db in lowercase.
I try to use map as :
...
0
votes
2
answers
26
views
Laravel illuminate/filesystem and laravel/framework coexist but did not find illuminate/filesystem in composer.json
I am updating laravel from composer but getting one error during updating it
Only one of these can be installed: illuminate/filesystem[v9.0.0-beta.1, ..., 9.x-dev, v10.0.0, ..., 10.x-dev, v11.0.0, ......
2
votes
1
answer
32
views
Laravel 11: Is it possible to force PHPUnit to trigger / "press" CTRL+C to simulate interruption of an artisan command?
I have an artisan command that can run for minutes or hours, processing multitude of records in a loop within the handle() method.
I have introduced the ability to interrupt such a long process by ...
0
votes
0
answers
15
views
Getting authentication error while connecting Laravel application to QuickBooks web connector
I am trying to connect Laravel appliaciton to the web connector, but I am getting an authentication error
Although Laravel logs says authentication is successful but web connector shows the following ...
0
votes
0
answers
17
views
sitemap.xml missing tags when run through schedule
I have installed: spatie/laravel-sitemap composer packages
For caching is responsible: spatie/laravel-responsecache
Sitemap generation command:
<?php
namespace App\Console\Commands;
use ...