Gavmrz Gavmrz
1
I have set up multi tenancy per domain/database following the steps in the stancl/tenancy docs. Created and seeded then logged in as a tenant. All appears to be working fine apart from livewire stuff. Every time I try to do anything with a livewire c...
I currently have a Profile model and a Preferences model, they are linked by a profile_preference table in a many to many relationship. I'm trying to retrieve profiles that satisfy a list of preferences coming from my input. For example: $profileA-&g...
Vironeer Vironeer
1
I get this error when I try login using google Trying to access array offset on value of type null public function redirectToProvider(string $provider) { return Socialite::driver($provider)->redirect(); }...
mont3r mont3r
11
I have message "This coupon has already been applied to your account once." I can't use this coupon. My subscription ends 29 Nov 2020. I don't use this coupon yet. Anyone can help me with this?...
Krytech Krytech
3
Hey, are there any news out there whether I can upgrade laravel 8 to from php 7.4 to php8 without problems ? Sorry if there are other topics already open. I searched in laracasts search function and found nothing with php8...
thevelooper thevelooper
3
I have 2 fields in my form , $query->product_id = $request->input('productid'); $query->store_id = $request->input('storeid'); 1 product cannot be saved in one store twice, but can be saved in different stores, I want to validate...
ShekhSaifuddin ShekhSaifuddin
1
My scenario is you can see the image here, how can I set the default value in the quantity field? and I want when I change the quantity the total amount will be updated how can I achieve this? here you can see my quantity field is an array I catch i...
GodziLaravel GodziLaravel
1
Hello , On the hosting server I have 3 environments : test acceptance production I'm wondering if it's possible to give these values to the APP_ENV APP_ENV=test APP_ENV=acceptance APP_ENV=production...
oxbir oxbir
8
I want to add symbols to my selected list. I put the text in the header. When I tried to use the icon in the selected menu, it did not work on mobile. But it works perfectly outside the selection menu. Is it possible to place the icon in the menu sel...
Neeraj1005 Neeraj1005
11
In my project I'm using livewire functionality for updating the value. But in this case if I upload an image it send me an error. Error Call to a member function store() on null Can anyone please tell me how can i solve this. I read the documentatio...
oxbir oxbir
6
This is the error call to undefined method Dotenv\Validator::make This is code use Dotenv\Validator; public function store(Request $request) { $rules = [ "name" => "required|min:3", "iso" =>...
oxbir replied
Solved
abdullahalnoor abdullahalnoor
10
i am run this command for model, migration, resource controller. php artisan make:model QuestionAnswer -mc -r .. My Edit Function public function edit(QuestionAnswer $questionAnswer) { // return $questionAnswer; return view('backend.faq.edit',get_def...
aarondfrancis aarondfrancis
15
Hey all, back with another queue question. I'm trying to figure out the difference between the expiration in the queue config (using driver db) and the --timeout flag on the queue:listen command. Here's my issue: I've got a command that takes a reall...
working with laravel 6 and need edit category options here. PostController.php public function edit($id) { $post = Post::find($id); $categories = Category::all(); $cats = array(); foreach ($categories as $category)...
eddy1992 eddy1992
9
Hi I have never owned a web hosting and dont have much knowledge about them. I am planning to get shared hosting from Arvixe. So my first question is should I buy linux hosting or windows hosting because they have two option and I have no clue. Also...
jimb814 jimb814
15
I am new to Laravel. I have encountered a dead-end. I posted the question on StackOverflow, and hopefully it's okay to post the link here in the hope that someone in the Laravel community might have a remedy. Code that works fine on my machine using...
phpMick phpMick
1
I'm trying to add "tracking pixels" to some HTML snippets which are saved in my db. Do I just need to add an image tag that makes a call to my server? Like this? <img src="trackinghook.php?id=123456"> Then I can log when t...
sshateri sshateri
1
I have a view made with livewire and it contains two dynamically add sections for spoken languages and the other one for courses and certificates. The language section was working fine until I added the add certificates section. now when the user cli...
Hi i have problem because i have route: Route::post("/game/{id}/villages/{id2}/kuznia", 'createkuzniatask')->name('createkuzniatask')->middleware('auth'); js ajax requiest: jQuery(document).ready(function(){ $("#dodajkuznia...
mejohnnyv mejohnnyv
5
I have a site on forge. In the Active Sites it shows *.example.com. I want to create a demo.example.com...... So I can do finally live testing and not take down the website. I think demo.example.com is being directed to the folder www.example.com....
< GDB > < GDB >
10
Hi, I'm a bit confused trying to solve a small issue. So I have my store-method in controller that at the end of the necessary actions redirects to the show view like so : // Return view return redirect()->route('user.profile.show', ['team...
Grezini Grezini
4
Hi ! I just installed a fresh Spark application following the installation guide. After registering an account, I create a new team and make one new invitation to this team. I receive the invitation mail and fill the form to create the account. On su...
sshateri sshateri
13
I have 2 separate foreach loops in my view which I use $loop->index for wire:key value to keep track of the components during adding and deleting them. when clicking the second button to add the second component it seems the $loop->index in the...
aavinseth aavinseth
3
While running a migration for renameColumn I am getting the following error. I have also installed a "doctrine/dbal": "^3.0" in required. Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found at D:\xampp\htdocs\project\vendor\...
rasoul_rezazadeh rasoul_rezazadeh
1
hi. i want to prevent send data to database when user use numbers in the username input for example. i used event.preventDefault() for that,but not working... what should i do?...
Caracorn Caracorn
2
The *.env file of Lumen can be read without any problems. Why is it so? I had to set up an htaccess-deny manually. Isn't that out of the box? Many thanks....
SilverGround SilverGround
0
Hi there, I would like to create a dynamic sidebar menu with a fontawesome icon on the left and the menu's name next to it. So far i've created a table named "sidebar_nav" public function up() { Schema::create('sidebar_nav', fun...
msslgomez msslgomez
0
I'm trying to filter and then sort a collection of items to display, this is the computed method displayData() { let stor = this.sort.split(" "); this.filtered = _.orderBy(this.searching, [stor[0]], [stor[1]]); if (stor[0] ==...
bbmrw bbmrw
1
I have a form in Laravel blade and I am having trouble with validating data. I validated data from my controller with $request->validate(['some_data' => 'some_value']) as an example. I put that in variable $validatedData and I use that variable...
Deekshith Deekshith
2
I am trying to implement a condition in reset password page where new password should not be the same as old password. how to check this without providing the old password textbox. i tired below code but i think hash make changes for every request, $...
iaibai iaibai
1
I wonder if anyone has any ideas about this problem I'm having with deployment to Elastic Beanstalk? I've got a Command that's scheduled to run every minute. It normally takes about 45 seconds, and I've scheduled it using: ->everyMinute()...
GodziLaravel GodziLaravel
10
Hello , I have this error message : Trait method getEmlSearchableColumnPermissions has not been applied, because there are collisions with other trait methods on App\Http\Controllers\EmlController I'm wondering why I have this only on the server sid...
phpMick phpMick
2
This is another question related to pixel tracking. If I have a HTML string, what is the easiest way to insert a tag, before the closing body? Mick...
N3OGeorgy N3OGeorgy
4
I have the following piece of code : $callReport = array(); $callResult->each(function ($item) use (&$callReport) { $callReport[$item->date][$item->callStatus] = $item->count; }); The $callReport result is : {...
Azeez_Umor Azeez_Umor
3
How to create a single form to insert data into different table within the same database...
Create a New Discussion Button