post by MarcVdB on Jun 12, 2024

post by johnny on Jun 13, 2024

Hello @MarcVdB ,

Grocery CRUD Enterprise works fine with latest PHP 8.3 . It should be a local configuration issue. Enable error reporting in your PHP script by adding the following lines at the top of your script:

ini_set('display_errors', 1);
error_reporting(E_ALL);

As early as possible. If you use Codeigniter framework please also go to public/index.php file and add the following at the very beginning:

ini_set('display_errors', 1);
define('ENVIRONMENT', 'development');

Once you see the error and debugged your code you can remove those lines.

Let me know if that worked for you.

Regards
Johnny

post by MarcVdB on Jun 13, 2024

Thanx! That worked. It showed, that i forgot to install the mbstring extension (which is a non-default extension). After installing all runs well!

1 year later

post by cbabekos on Jul 15, 2025

is there a way to use the old grocerycrud with php8.3 and ci3 ? i have a project that i have to build from scratch using ci4 and grocery crud 2.x (not enterprise) . can you propose a way. ? however if i want to build it in ci4 should i use the gc2.x? Version for free?

post by johnny on Jul 16, 2025

Hello @cbabekos ,

Sorry I don’t get it.

Considering only the free versions Grocery CRUD version 1 runs with Codeigniter 3 only. If I remember correctly Codeigniter 3 doesn’t support PHP 8.3 so it wouldn’t be an issue of Grocery CRUD version but rather of Codeigniter version.

Grocery CRUD version 2 (free) works fine with PHP 8.3 and Codeigniter 4.

So considering that old version of Codeigniter 3 and Grocery CRUD version 1 doesn’t work with PHP 8.3, the only way to achieve that is is by migrating to Codeigniter 4 and Grocery CRUD version 2 (free) .

I am still not getting the initial question though, so if you can give more information this would help.

Regards
Johnny

1 / 5
Jun 2024