Error in CustomReports after upgrade

We just upgraded to the latest versions of Matomo (5.3.1) and the CustomReportsPlugin (5.3.3) and now the following warning appears 10 times when going to settings:

WARNING: /plugins/CustomReports/Dao/CustomReportsDao.php(325): Warning - Undefined array key "multiple_idsites" - Matomo 5.3.1 - Please report this message in the Matomo forums: (please do a search first as it might have been reported already) (Module: API, Action: getEvolutionGraph, Method: CustomReports.getConfiguredReports, In CLI mode: false)

Hi @johannes.med . I’m sorry to hear that you’re experiencing this issue. It looks like the multiple_idsites column should have been added by the migration script as part of the 5.2.0 release of the plugin. Did you run the core:update console command or run the database updates via the UI after the upgrade? If you need to add the column manually, you can use the following SQL:

ALTER TABLE `custom_reports`
ADD `multiple_idsites` VARCHAR(2000) NULL;

If you use a prefix in your database, you’ll need to adjust the table name accordingly.

Thanks Jacob, that statement fixed the warnings :+1: We used the UI for the upgrade.