Problem when trying to create containers after 5.0.1 upgrade

I am receiving the following error message when I am trying to create a new container.

SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘ignoreGtmDataLayer’ in ‘field list’

This didn’t occur before version 5.0.1

Does anybody know how to fix this?

/ Mattias

Hi @Moff
Did you try the following command?

$ ./path/to/matomo/console core:update

I will try it. Thank you!

I had the same problem (update from version 4.13.3 to 5.0.3). And a ./console core:update indicated that everything was up to date.
But in the “matomo_tagmanager_container” table, the ignoreGtmDataLayer field was missing.
I manually modified my table:
ALTER TABLE matomo_tagmanager_container ADD ignoreGtmDataLayer tinyint DEFAULT 0 NOT NULL;

1 Like

I tried the core:update command and that didn’t work.
I will try your solution tomorrow and hopfully it will work :slight_smile:

1 Like