Can't access to the WP dashboard

Hi there,
i tried to install the plugin but got a fatal error and can’t access the WP dashboard.
Below is the message i received : any help would be warmly welcome.

Sorry to say that i’m not a developper and didi’t find any ‘config/config.ini.php’ file.

=======
Message received from WP:

WordPress version 6.3.2
Active theme: This Is Lyon (version 3.0.0)
Current plugin: Matomo Analytics - Ethical Stats. Powerful Insights. (version 4.15.2)
PHP version 8.1.24

Error Details

An error of type E_ERROR was caused in line 1296 of the file /home/sc4desy5462/XXXX.FR/wp-content/plugins/matomo/app/core/Plugin/Manager.php. Error message: Uncaught Piwik\Plugin\PluginException: There was a problem installing the plugin CustomDimensions:
WP DB Error: [1060] Duplicate column name 'last_idlink_va' SQL: ALTER TABLE til2017_matomo_log_visit ADD COLUMN last_idlink_va BIGINT UNSIGNED DEFAULT NULL, ADD COLUMN custom_dimension_1 VARCHAR(255) DEFAULT NULL, ADD COLUMN custom_dimension_2 VARCHAR(255) DEFAULT NULL, ADD COLUMN custom_dimension_3 VARCHAR(255) DEFAULT NULL, ADD COLUMN custom_dimension_4 VARCHAR(255) DEFAULT NULL, ADD COLUMN custom_dimension_5 VARCHAR(255) DEFAULT NULL;

           If you want to hide this message you must remove the following line under the [Plugins] entry in your
           'config/config.ini.php' file to disable this plugin.
           Plugins[] = CustomDimensions
           If this plugin has already been installed, you must add the following line under the
           [PluginsInstalled] entry in your 'config/config.ini.php' file:
           PluginsInstalled[] = CustomDimensions in /home/sc4desy5462/XXXX.FR/wp-content/plugins/matomo/app/core/Plugin/Manager.php:1296

Stack trace:
#0 /home/sc4desy5462/XXXX.FR/wp-content/plugins/matomo/app/core/Plugin/Manager.php(1364): Piwik\Plugin\Manager->executePluginInstall()
#1 /home/sc4desy5462/XXXX.FR/wp-content/plugins/matomo/app/core/Plugin/Manager.php(665): Piwik\Plugin\Manager->installPluginIfNecessary()
#2 /home/sc4desy5462/XXXX.FR/wp-content/plugins/matomo/app/core/FrontController.php(396): Piwik\Plugin\Manager->installLoadedPlugins()
#3 /home/sc4desy5462/XXXX.FR/wp-content/plugins/matomo/classes/WpMatomo/Bootstrap.php(84): Piwik\FrontController->init()
#4 /home/sc4desy5462/XXXX.FR/wp-content/plugins/matomo/classes/WpMatomo/Bootstrap.php(110): WpMatomo\Bootstrap->bootstrap()
#5 /home/sc4desy5462/XXXX.FR/wp-content/plugins/matomo/classes/WpMatomo/Installer.php(65): WpMatomo\Bootstrap::do_bootstrap()
#6 /home/sc4desy5462/XXXX.FR/wp-content/plugins/matomo/classes/WpMatomo/Updater.php(72): WpMatomo\Installer::is_intalled()
#7 /home/sc4desy5462/XXXX.FR/wp-content/plugins/matomo/classes/WpMatomo/Updater.php(85): WpMatomo\Updater->get_plugins_requiring_update()
#8 /home/sc4desy5462/XXXX.FR/wp-content/plugins/matomo/classes/WpMatomo.php(216): WpMatomo\Updater->update_if_needed()
#9 /home/sc4desy5462/XXXX.FR/wp-includes/class-wp-hook.php(310): WpMatomo->init_plugin()
#10 /home/sc4desy5462/XXXX.FR/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#11 /home/sc4desy5462/XXXX.FR/wp-includes/plugin.php(517): WP_Hook->do_action()
#12 /home/sc4desy5462/XXXX.FR/wp-settings.php(632): do_action()
#13 /home/sc4desy5462/XXXX.FR/wp-config.php(74): require_once(‘/home/sc4desy54…’)
#14 /home/sc4desy5462/XXXX.FR/wp-load.php(50): require_once(‘/home/sc4desy54…’)
#15 /home/sc4desy5462/XXXX.FR/wp-admin/admin.php(34): require_once(‘/home/sc4desy54…’)
#16 /home/sc4desy5462/XXXX.FR/wp-admin/plugins.php(10): require_once(‘/home/sc4desy54…’)
#17 {main}
thrown

Hi @legouter ,

Thanks for reaching out to us. We are sorry to hear that you’re experiencing problems with your WordPress plugin installation.

To resolve the fatal error and regain access to your WordPress dashboard, try these steps:

Access your website’s files using FTP or a file manager
Navigate to the ‘wp-content’ directory
Find the ‘plugins’ folder and rename it to something else, like ‘plugins_old’
Now, try accessing your WordPress dashboard. If it works, the issues is likely caused by a plugin
If the dashboard loads, you can rename the ‘plugins_old’ folder back to ‘plugins’ and activate plugins one by one to identify the problematic one

If you have any further questions, please feel free to reach out to us.

Hi @bojana, tx a lot for your help.
I now can investigate to see where hte problems come from.