I just bought the Enterprise edition of the library and installed it (Grocery CRUD Enterprise v3.2.2) in a new CodeIgniter 4 project, I followed the steps in the documentation but I got this error.
This is the error and my code
It seems that the issue is with the routes. Most probably you haven’t added post requests. A simple rule for the routes can be to do something like this:
After spending a bit of time, I guess the problem is that you are getting an exception but it is not visible, so from your code if you change the exception line to something like this:
That means that the error is unhandled and you have most probably disabled the error reporting (and that’s why you see blank screen)
Have you tried the try catch but with just returning the error from the previous message? Did that work? From my experience this is usually when there is a database connection that doesn’t work. What database are you using? Is that mySQL or Postgres? Also I have sent you an email, so I would suggest if you can share me a bit more of your code through email. For example your controller so I can understand further and resolve it faster with also faster responses.