Skip to main content

All Questions

Tagged with
-2 votes
0 answers
34 views

BindingResolutionException 'Target class [admin] does not exist.' in laravel 11 [closed]

i get this error when i tried to access the admin/dashbaord here is my web.php <?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\TransactionController; use App\Http\Controllers\...
muili seun's user avatar
0 votes
1 answer
68 views

Why the first call to ::create() method will not set the id field on the model in Laravel?

I use Laravel 5.5 and October CMS 1.0 with MySQL 5.6 database and PHP 7.4. I have several models with integer autoincrement id keys. The model's default settings are left intact—I didn't change any of ...
Krystian's user avatar
  • 3,413
0 votes
1 answer
64 views

How to Login using the Middleware 'auth'?

I'm having problems with the authentication because in the following methods when it entries to the authenticate method, I receive True in my validation Log::info("", ['authenticated' => ...
Josue Sanchez Dominguez's user avatar
-1 votes
1 answer
70 views

Error “foreach() argument must be of type array|object” in laravel controller

During comments show in the post Error “foreach() argument must be of type array|object” in laravel controller The code is as under Blade File @foreach($comment->product_images as $image) <a ...
software dev's user avatar
0 votes
1 answer
62 views

Laravel Powergrid Table Add Loading on Pagination

I'm fairly new to Laravel, and I'm using PowerGrid to display an employee table. The skeleton loading works fine when the page initially loads, but I would like to add the loading animation when ...
Ermuun's user avatar
  • 1
1 vote
1 answer
74 views

Why are session tokens and form tokens different laravel? [closed]

Why are session tokens and form tokens different in Laravel? Added to file: vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php protected function tokensMatch($...
Sergey Permyakov's user avatar
0 votes
0 answers
46 views

Cant send data to destination page using compact

I've already passed data to the destination page using compact by a method. now I want to pass data to the destination page using compact again. Is there any problem for that? Firstly I tried to use ...
Mr. Anonymous's user avatar
0 votes
0 answers
30 views

Laravel 5 Auth and OAuth

I’m returning to an old laravel 5.7 API code base that was once working swimmingly. I want to start updating it to laravel 11 (my first time doing upgrades in laravel, so was planning on using Shift) ...
David's user avatar
  • 195
1 vote
0 answers
238 views

How to Send Events to Google Tag Manager via PHP and Guzzle

I'm working on an API in Laravel and need to send events to Google Tag Manager (GTM) using PHP. I've created a helper class to send the event via a Guzzle HTTP call. While I always receive a 200 ...
Rizwan Saleem's user avatar
0 votes
0 answers
82 views

Deployment Error: Laravel Project Fails to Build on Vercel

hello everyone I deployed laravel project on vercel but as you see the style does not work here is the vercel.json file { "version": 2, "framework": null, "...
mon app's user avatar
0 votes
0 answers
38 views

Apache virtual host pointing to intermediary document root

I have this fodler structure: Path to my laravel project: /home/name/workspace/myProject Path to my intermediary indexes: /home/name/workspace/indexes/indexOne /home/name/workspace/indexes/indexTwo ...
Stefan's user avatar
  • 9
0 votes
2 answers
498 views

Calling a schedule on a function in Laravel console.php

I want to call a function in console.php as a schedule. Here is my console.php code: <?php use App\Http\Controllers\AuctionController; use Illuminate\Support\Facades\Schedule; Schedule::call(...
404ptk's user avatar
  • 63
-1 votes
2 answers
501 views

Is Laravel-admin 1.8.19 not compatible with laravel 11.8.0? [Your requirements could not be resolved to an installable set of packages.]

I am using Laravel 11.8.0 for my web application project and wanted to make an admin page. Therefore, I tried to install laravel-admin. However, it gave me an error saying, "Your requirements ...
Tatsunori Ono's user avatar
-3 votes
1 answer
63 views

Couldn't get my desired output and got this kind of error 'htmlspecialchars() expects parameter 1 to be string, array given' [closed]

This is my data. {"ErrorCode":0,"ErrorDescription":"Success","Data":[{"PluginType":"SMS","Credits":"৳48.959915"}]} I ...
yasin konok's user avatar
0 votes
1 answer
418 views

Laravel : I want to rate limit API so only one session per IP address should access the application

Problem statement:- We are running a laravel application and receiving requests from worldwide. We want to rate limit API so only one session per IP address should access the application. Another ...
Pradeep Kumar's user avatar

15 30 50 per page
1
2 3 4 5
2511