Skip to main content

Questions tagged [laravel-8]

Laravel 8 is the 8th version of the open-source PHP web framework created by Taylor Otwell. It was released on September 8, 2020. Please use the [laravel] tag for general Laravel-related questions.

laravel-8
-1 votes
0 answers
21 views

Spa application (with iframes) to a modern SPA [closed]

I have a laravel project with php8.1, which as frontend uses simple, blade with Html, bootstrap, javascript other things on the front. This page consists of several modules or pages, which perform ...
Victor's user avatar
  • 1
-3 votes
0 answers
34 views

Laravel 8 PHP return single decimal place only when the last decimal number is 0

I am currently updating some code in our backend system since the mobile app has already been deployed and we don't have a mobile app developer at the moment. $fees = $this->fees; $...
Song Jacobson's user avatar
0 votes
1 answer
34 views

Livewire - Parent not listening to child $emit

I have these components in livewire and I want call a listener method in parent component // index.blade.php <div class="container"> <livewire:layouts.header /> <div ...
Soheil Ghasemian's user avatar
0 votes
0 answers
18 views

Create a route (Laravel 10 - Nuxt 3 )

[nuxt] error caught during app initialization Error: Page not found: /password-reset/46f9fe46fc92949ec48113486813cdd5f03add89f6d9cae0a983c2511a863097?email=ospreystudio2020@gmail.com link that needs ...
Vadim Yanyushkin's user avatar
0 votes
1 answer
67 views

I keep getting this error "Cannot access offset of type string on string" whenever I try to serve dummy data to my Laravel application [closed]

I am trying to serve some data to my view. However, when i try to access the elements in my dummy array, i keep getting an error "Cannot access offset of type string on string". And I don't ...
BARIMA YAW's user avatar
-1 votes
0 answers
20 views

Set laravel/valet and PHP working on Win10 not working, php not loading even with XAMPP

I have been struck with issues after issues when i try to get a php based website running on this computer. I have read so many articles and tried to figure what could have been missed, am also a ...
DCMator's user avatar
1 vote
1 answer
60 views

Can Migrations change project into production?

I would like to know if I make changes into my laravel project in localhost (I downloaded the project from the hosting) the project from the hosting also changes I have been doing some changes into ...
joseph mora rojas's user avatar
0 votes
1 answer
37 views

Laravel migrations create table column with dot in colum name

I have a table in SQL Server database where a column has a dot in its name. When I first created manually the table I had no problems doing it, but now that I'm changing the db server I decided to ...
Igic's user avatar
  • 55
-2 votes
1 answer
43 views

Laravel 8 Unparenthesized `a ? b : c ?: d` is deprecated

I'm getting an error in Laravel backend The line that is giving error: <?php echo Form::select('percent', \VanguardLTE\Shop::$values['percent_labels'], $edit ? $shop->percent : old('percent')?:'...
Mario Rossi's user avatar
0 votes
0 answers
43 views

Troubleshooting '400 Bad Request' Error in Mailchimp addStoreProduct API Call

public function test(){ require_once '.././././vendor/autoload.php'; try { $client = new \MailchimpMarketing\ApiClient(); $client->setConfig([ 'apiKey' => env('...
Mária Ambrus's user avatar
1 vote
0 answers
50 views

Request failed with status code 419 -Nextjs and Laravel Sanctum

I have two projects, Laravel 8 and Next.js. Everything works smoothly when I send a GET request, but I encounter an error when I send a POST request. I've attempted various solutions, but the issue ...
mohammadK developer's user avatar
1 vote
1 answer
41 views

Bug with Laravel Eloquent query buldier

I found a weird situation when nesting in a query a where with a orWhereNull. The result is returning rows with values that are neither null nor correct This is the code: $query = Document::where(&...
Damián Cardona's user avatar
-1 votes
0 answers
32 views

Select2 not loading options on initialization

I have a select on my page and it has options in it. When I initialize the select2 the options are not loaded. <select class="form-select form-select-sm" id="select-user-1"> ...
Diogo Corigo's user avatar
0 votes
0 answers
14 views

Reset password link in Laravel does not refer to the specified guard

In my application, there are some guards (i.e. auth, student, teacher). I want to make users from each guard to be able to reset their password. So I made different reset password controllers for each ...
Abaij's user avatar
  • 863
-1 votes
1 answer
50 views

Laravel error handling for authentication system

I want to implement the laravel build in authentication system breeze in my laravel project. But when I clicked on the login or register the css is not working and also it shows a error: Mix manifest ...
Shashi Rajput's user avatar

15 30 50 per page
1
2 3 4 5
488