Ι made the following command in my laravel project: And once I run the following command in console: I get the following error: Do you know why I get the error and how I can fix it? Answer The problem is your signature. The current signature is: Meaning your parameters are: time: Time that goverment closes th…
Tag: laravel
How to fix “Undefined property: stdClass::$gamme” [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 1 year ago. Improve this question I am new in the Laravel this is my first app. I have 2 tables: art gamme I …
Removing eval from PHP function [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question I want to know if there is a way to remove eval() from my code. In this fu…
Popover button – Css (Colors)
I’m having a problem here in solving a problem, I have a popover that takes the information from the database is possible if there is nothing posted in the “note” field, does it change the …
Laravel Eloquent concat and groupBy() AND return one title of each group
I have a table that contains, amongst other columns, a column of browser versions. And I simply want to know from the record-set, how many of each type of browser there are. my code is : output : I want to group all browsers, without the browser version like this: Answer One way you can pull this off is to
Laravel Scheduler don’t run commands, but they can be run manually
I have those 3 commands to run in schedule. $schedule->command(“update:branchsales”)->everyFiveMinutes()->timezone(‘America/Sao_Paulo’)->withoutOverlapping(); $schedule->…
Laravel Lumen 5.7, debugbar throw Call to a member function listen on null
I’m trying to use the debugbar with lumen and jenssegers/laravel-mongodb , it wasn’t showing the database queries so I enabled. DB::connection(‘mongodb’)->enableQueryLog(); But now it shows this error. `Call to a member function listen() on null in LaravelDebugbar.php line 354` Anot…
Laravel graceful end event-listener within a request
Within my controller I am creating a message which then fires an event after a successful message create: public function store(Conversation $conversation, Request $request) { $message = Message::…
Laravel eloquent how to get relationships relationship?
I have Users table,Jobs table and JobStatus table. I get user jobs using relationship return User::find($dto->getUserId()) ->jobs() This will return all user jobs as collection, not …
How would I secure /netdata, or Netdata for Laravel?
I’m following the following guide for installing Netdata on Laravel Forge. Basically, it’s opening the port 1999 used for Netdata and redirecting it to /netdata directory. location = /netdata { …