Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
0 answers
84 views

I’m working on a Laravel 12.17 + Filament v3 project. I installed Filament using: ./vendor/bin/sail artisan filament:install --panels Then i generated a resource with: ./vendor/bin/sail artisan make:...
mikhaela's user avatar
1 vote
0 answers
73 views

I am working on a legacy project which uses Laravel 4.2 for the backend API and angular for the frontend. When I make the login request in local pc I am seeing CORS error in developer tool network tab....
Ish's user avatar
  • 27
-2 votes
2 answers
109 views

I am having a issue where when i write out a eloquent query using a variable it is returning NULL but if i write out that variable value in text it returns data. This is my code $code = 'Test123'; ...
Adam Allen's user avatar
0 votes
1 answer
25 views

I am trying to use an array in the WHERE clause with IN () in Laravel, but it's not working as expected. Here’s my current code: $groupOfTopics = [46, 51, 167, 176, 177, 181, 185, 270, 323, 328, 350]; ...
yellow_melro's user avatar
0 votes
0 answers
111 views

I'm trying to resurrect an older Laravel project (5.8.38) that used Semantic UI for styling the user interface. Since Semantic UI is no longer being developed, I'm also switching to Fomantic UI. I'd ...
Tench's user avatar
  • 537
1 vote
0 answers
31 views

Facing some issue regarding the connectivity of PHP/Laravel application from host machine EC2 to managed AWS RDS Mariadb instance. When connecting from Laravel app though .env (db settings) it return ...
Asad Zahidd's user avatar
0 votes
0 answers
20 views

I am building Laravel 5.4 and AngularJS to build login rester and logout user. It is not working and I don't know why. I am a beginner to Laravel. If I send request via remember token then how to ...
K26's user avatar
  • 1
0 votes
2 answers
3k views

We are facing an issue with Laravel scheduled tasks using the call method in Kernel.php not executing as expected in development mode on Windows. When running php artisan schedule:work, it only ...
Mohammed Yacine Henaoui's user avatar
2 votes
2 answers
56 views

Request for How to Handling if Command in Relationship Handling Hello, good day Artisan, Please, I need help with an if command not working for a relationship. I want to get the correct relationship ...
odion_cloud's user avatar
0 votes
1 answer
111 views

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,433
-1 votes
1 answer
88 views

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
1 vote
0 answers
47 views

Laravel 5.5 will only accept lax, strict or null as sameSite options when setting a cookie and will throw and exception if it is not one of these - before you ask I am stuck with laravel 5.5 for now. ...
Barnaby's user avatar
  • 987
0 votes
1 answer
114 views

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
88 views

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
1 answer
66 views

This code was working fine until a few days ago. However, we noticed that it is failing exactly after downloading 40 files. I don't remember changing any configuration parameters in the recent past. ...
Krishna Chebrolu's user avatar
1 vote
0 answers
103 views

PHP version: 7.4.33 Laravel version: 5.8 when I hit the post route, it shows in the error page that I sent it as Get, and this route supports Post. this is the error msg: Symfony \ Component \ ...
Mariam Zayed's user avatar
0 votes
0 answers
77 views

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
1 vote
0 answers
520 views

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
2 votes
1 answer
64 views

My project is running on an IP where there are other projects too. If I add the full URL in my ajax call then it works fine. Like:- $.ajax({ headers: { 'X-...
Kashish Agarwal's user avatar
0 votes
0 answers
44 views

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
1 answer
728 views

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
  • 153
-1 votes
2 answers
737 views

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
71 views

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

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
1 vote
2 answers
8k views

I use the Livewire framework in my Laravel, I created a comment feature, I want when I comment the screen will automatically scroll to the comment via the ID that I inserted using JavaScript but when ...
devcode's user avatar
  • 11
0 votes
0 answers
39 views

I simply need to calculate a new field date in select in eloquent... but it does not seems to work although if I copy the mysql query in phpmyadmin it works. PV_Task::select("*,IF(date_start<'...
Paul Godard's user avatar
  • 1,151
0 votes
1 answer
79 views

I have a ModelA with columns: name, last_name, email I want ModelA with the name Test to add an extra where on email what I tried is the following $model_a_res = A::when( function($query){ return $...
Zein's user avatar
  • 574
0 votes
1 answer
36 views

After migrating a new column to a data table, midway through my project I became unable to access the users data table use the login functionality of my app that had been working perfectly before. ...
Trinky's user avatar
  • 33
0 votes
1 answer
82 views

Here My Codes That Fetch All Images @foreach (explode('|', $product->images) as $image) <img style="width:100%" src="/storage/image/{{$image}}"> @endforeach Only I want To ...
Abrar Ali's user avatar
0 votes
0 answers
362 views

After switching from my Laravel 6 branch back to my Laravel 5.5 branch, I'm encountering several deprecation errors related to the ReflectionParameter::getClass() method in my application. The errors ...
MP Simon's user avatar
1 vote
1 answer
635 views

I run an app developed in Laravel. I need add a script on a page.blade.php page. Every script I insert in this page is blocked with the developer console error: "The script loading a resource to ...
Marco's user avatar
  • 9
0 votes
1 answer
440 views

I have an problem using JSON Resource to Array converter in Laravel. My code like this: DataResource.php <?php namespace App\Http\Resources; use Illuminate\Http\Request; use Illuminate\Http\...
Merry Ricard's user avatar
0 votes
0 answers
55 views

in my code, after saving changes in the project im suppose to clearing the employeNo session after using a lot of method to make sure the session is cleared and checking that it is indeed clear im ...
Omer's user avatar
  • 1
0 votes
2 answers
724 views

I have an application that runs on PHP 5.6 and Laravel 5.2. It's hosted in AWS on an AWS Linux 1 EC2 machine. This web server connects to a RDS MySQL instance. The RDS instance has been running ...
Lloyd Banks's user avatar
  • 36.9k
0 votes
0 answers
248 views

i am using Auth::logoutOtherDevice() in laravel and it logs out user from other sessions but they need to refresh to get to login page . why Doesn't it redirect automatically to login page? If not ...
Tej Singh's user avatar
0 votes
0 answers
64 views

my current website is https://example.com/kelimebulucu?harfler=&baslayan=ar&iceren=rt&biten=ma&uzunluk=7 and i need to make it liek https://example.com/kelimebulucu/{baslayan dynamic ...
Sarafatul Islam's user avatar
-1 votes
1 answer
64 views

laravel livewire I'm using whereMonth inside foreach but I'm getting error error Method Illuminate\Database\Eloquent\Collection::whereMonth does not exist. My blade @foreach ($this->Data as $key=&...
p22222222's user avatar
0 votes
1 answer
62 views

I was using Laravel 5.8, which included many unnecessary libraries. Therefore, I decided to create a new project using Laravel 7.30.6 and copied all the necessary files. Everything seems to work ...
Aman's user avatar
  • 2,451
1 vote
1 answer
239 views

I'm new for laravel I tried some eloquent collections but not get required result help me to solve. I have data like this TABLE NAME (attendance): id | name |student_id | ...
Ramu Ramu's user avatar
0 votes
2 answers
88 views

I want to display indented subcategories in the html option tag. I created a recursive iteration in a separate file that I import in a foreach statement. With the first subcategories, I get a prefix ...
Ivan's user avatar
  • 5,248
0 votes
2 answers
163 views

I'm working on a project and I need to be able to execute a function from my app's navigation menu. As far as I understand, all functions are executable from a view using wire:click, and this triggers ...
dtejada's user avatar
0 votes
1 answer
434 views

Issue: Any URL put in creating a PDF, MPDF can't find it (throws an Exception). Exception: cURL error: \"Failed to connect to 127.0.0.1 port 8000: Connection refused\" I have both web and ...
Daniyal Nasir's user avatar
0 votes
1 answer
1k views

hello I'm new for livewire 3 I have table inside form, data table having radio button for yes or no after selecting yes or no I'm going to submit that form that time I want to store fetch detail like ...
user12380208's user avatar
0 votes
1 answer
34 views

I have many-to-many relation between project_media & tag pivot table project_media_tag. It has additional field qty. I'm doing a syncWithoutDetaching to attach any new / update already existing ...
Daniyal Nasir's user avatar
-1 votes
1 answer
147 views

I was trying to print API response data as collection on blade for that i have used following line $customers = collect(json_decode($response, true)); But whenever i tried to print with following ...
Hola's user avatar
  • 2,231
0 votes
1 answer
161 views

I have one class where I calculate variables in via method and the same variable I want to use in toMail method but it's always null in the toMail Method. any idea why? class ...
Jigar's user avatar
  • 3,283
0 votes
1 answer
135 views

I created a Laravel (5.1.3) project with breeze as the starter kit. I am planning to use the react as frontend to this project. I run the php artisan serve command. The boiler plate template is ...
AJITH RT's user avatar
-1 votes
1 answer
198 views

Given the following PHP object and variable $options = { 'options' : { '0' : 'Off' , '1' : 'On' }} $data->{$row->field}} = 0 or 1 Syntax error method Why am I not able to access the '0' and '1' ...
Yeo Bryan's user avatar
  • 439
0 votes
0 answers
84 views

so I have this codes in my Category model. What it does is, you give it a single category collection and it will return all children category ids of that category in a one dimensional array of ids ...
0x9342812j1o's user avatar
0 votes
1 answer
44 views

Even though there are many solutions provided for this error, I am encoutering, I have not find the solution yet, below is the error I am getting when trying to display data from the database on the ...
Mr Chefane's user avatar

1
2 3 4 5
1217