Skip to main content

All Questions

Tagged with
0 votes
1 answer
35 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
69 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
44 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
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
-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
0 votes
1 answer
34 views

401 Unauthenticated error while using laravel sanctum

I'm using laravel framework version 8.54 and sanctum version 2.15 Creating apis Login and get User On local environment it works fine but on production it return 401 error Configurations Added ...
Muhammad Awais Javaid's user avatar
-2 votes
1 answer
36 views

I get "Call to a member function setTimezone() on string" error after updating Laravel, how can I solve it?

I have this echo in my blade... $sale->order_time->setTimezone($venue->timezone) ...and all I get is a "Call to a member function setTimezone() on string" error. This code used to ...
Allfarid Morales García's user avatar
0 votes
1 answer
55 views

Laravel, Nuxt config for headers (cors)

error: http://localhost:8000/sanctum/csrf-cookie' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource ...
Adrian Cerush's user avatar
0 votes
0 answers
26 views

Laravel schedule logs are not at same place as Laravel task logs

I have Laravel 8 app in development mode that has task scheduled on every 20 seconds: `protected function schedule(Schedule $schedule): void { $event = $schedule->exec('php artisan app:...
Nikola Tripkovic's user avatar

15 30 50 per page
1
2 3 4 5
345