Number in database table name

Hello everybody. Has anyone of you encountered with a problem that occurs, when one use numbers in datbase table name?

Here is an example. I created table eu149393_forms in my database. This table contains foregin key eu_cargo_id which refers to table eu_cargos .

When I use console and bake all command to build the basic actions, I get various errors after trying to display any of built actions. Here is an example:

/myapp/eu14993forms/ (index action)

/myapp/eu14993forms/View/1

Can anyone help me, please?

The error occurs in my CakePHP 4.2.5 for all database table names with underscore, e.g. i tried to change names to eu_forms but the problem persists. According to CakePHP cookbook one should use underscore to name tables whose name is composed of two or more words. BUt it seems that this approach does not work …

I am not sure, if the problems cold be a result of the fact, that I use about 6 “many to many” relation tables with other tables. But these parts of my website work as expected.

Please read this doc.

CakePHP conventions