Core Provider plugin Column class has no $columnType property and prevents location_provider field from being created in piwik_log_visit table #11225
Labels
answered
For when a question was asked and we referred to forum or answered it.
I ran into an issue installing the core Provider plugin by adding it to the [Plugins] and [PluginsInstalled] sections in config.ini.php. The plugin seems to be installed but the table piwik_log_visit is missing the column location_provider. Even deactivating and activating the Provider plugin will not create the column. I even tried running the core:update script via command line which said database was up-to-date. I noticed that other core plugins that have Provider class extending VisitDimension class have $columnType property. After adding $columnType property and running the core:update the column was created. Note that a fresh install without Provider in config.ini.php, activating through UI will create column correctly. The bug can be reproduced only by installing via config.ini.php. I think code should be changed to include $columnType property in the Provider plugin Provider class.
The text was updated successfully, but these errors were encountered: