a routes is clean and could not return them in Laravel
, I have a project in Laravel , and I have been upload it in my domain , everything going well, but in now I have a big trouble issue , the issue is all pages give me this messages…
, I have a project in Laravel , and I have been upload it in my domain , everything going well, but in now I have a big trouble issue , the issue is all pages give me this messages…
I make a controller function to insert new records on the quizzes table. To do that, I used Laravel mass assignment, and after that, I got this error message. "message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'updated_at' in 'field…
I can't get the policies to work in my Laravel project, I installed a new project to test from scratch, I have this controller: <?php namespace AppHttpControllers; use AppHttpControllersController; use IlluminateHttpRequest; use AppModelsUser; class UserController extends Controller { public function…
After I set in phpstan.neon parameter : level: 7 I got errors : 30 Method AppRulesItemModelRules::getValidationRulesArray() has parameter $skipFieldsArray with no value type specified in iterable type array. 💡 See: https://phpstan.org/blog/solving-phpstan-no-value-type-specified-in-iterable-type 30 Method AppRulesItemModelRules::getValidationRulesArray() return type has no value type…
I Want to Send My Query Result to ApexCharts, but the results is not what i am intended this is my query $queryPengadaanNonTender = DB::table('siapel_dokumen') ->where([['id_jenis_dokumen', '=','1'],['progres','=','100']]) ->join('siapel_pengadaan', 'siapel_dokumen.id_jenis_pengadaan', '=', 'siapel_pengadaan.id') ->select( DB::raw('COUNT(DISTINCT nama_paket) AS jml'), DB::raw('jenis_pengadaan as pengadaan'), DB::raw('tahun…
I have problem upload Laravel to hosting cpanel,after that i try to open "mydomain.com/mahasiswa" just Blank Page this my structure Folder this myfolder in the directory public_html this myfolder in the first directory this is my code index.php in folder…
I'm trying to search the entire row of my database for the user's searchbar input. The code I have returns an empty set: $posts = Post::where([ ['title', 'LIKE', '%'.$search.'%'], ['description', 'LIKE', '%'.$search.'%'], ['intro', 'LIKE', '%'.$search.'%'], ['row_1_heading', 'LIKE', '%'.$search.'%'], ['row_1_body', 'LIKE',…
I have redis problem in laravel, I'm using laradock to upload my containers, but I don't know why it's not working. When I ran the command redis-server in the terminal inside the bash of redis I saw that I was…
MyLivewireComponent.php <?php namespace AppLivewire; use LivewireComponent; use AppModelsPerson; class MyLivewireComponent extends Component { public $persons; public function mount() { $this->persons = Person::all(); } public function render() { return view('livewire.my-livewire-component'); } } ?> When the browser's window got focused (focus event),…
I am a beginnerwith the Laravel framework. I am struggling to declare validation of request data. I have some checkboxes in the form, and at least one of the checkboxes must be selected to submit to the database. <input type="hidden"…