Category "codeigniter-4"

Codeigniter 4 throws errors 'user_group' keyword

This is how I print incoming requests to the screen. var_dump($this->request->getVar()); Incoming Data order: user_group order_type: asc Output array(1

Codeigniter 4 Current/Active Controller

In Codeigniter 3 is possible to get current active class and method with this code: $active_controller = $this->router->fetch_class(); $active_fu

jwt decode throws Invalid argument supplied for foreach() on php-jwt and codeignitor 4

I have encoded a token with JWT::encode($payload, $key, 'HS256'); When I am trying to decode it with the same key, it throws an error. Here is the code: <?p

How to display old value in dropdown on edit form then keep the selected value when the form submit failed?

The dropdown's option values were shown from a table on the database. When I clicked "Edit Form," the old values were successfully shown. For example, the optio

why Whoops! error showing in codeigniter-4

i just copy codeingiter 4 in my XAMPP for Linux 7.4.3 which have PHP Version 7.4.3 but getting error like Whoops! We seem to have hit a snag. Please try again

CodeIgniter 4 \Config\Service::my-instance-method returns NULL on true $getShared

Config\Services is a class made to reduce huge code development on singleton. Unfortunately I have committed an error. When repositoryFacade is got from getShar