Is there a problem with gc and PHP>8.0?

Hi Johnny, till now i used gc with PHP 8.0 and everything works well, After upgrading to 8.3, i get the following error.


console

Returning to 8.0 and all works well again
cheers,
Marc

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

1 Like

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 Like