Errors during WP Statistics import
-
Hi,
I recently migrated a handful of sites from WP Statistics to Matomo. On all of them, the import scrips shows an error for each individual date during the step “ReferrersImporter”:
[info] Importing data for the ReferrersImporter plugin.
[debug] Import 1 referrers...
WordPress database error Unknown column 'words' in 'field list' for query select engine, words, count(visitor) AS nb from wp_statistics_search where last_counter = '2024-10-31' group by engine, words order by engine, words; made by include('phar:///usr/bin/wp-cli/php/boot-phar.php'), include('phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP_CLI\bootstrap, WP_CLI\Bootstrap\LaunchRunner->process, WP_CLI\Runner->start, WP_CLI\Runner->run_command_and_exit, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, WpMatomo\Commands\MatomoCommands->importWpStatistics, WpMatomo\WpStatistics\Importer->import, WpMatomo\WpStatistics\Importer->import_day, WpMatomo\WpStatistics\Importers\Actions\ReferrersImporter->import_records, WpMatomo\WpStatistics\Importers\Actions\ReferrersImporter->import_search_engines, WpMatomo\WpStatistics\Importers\Actions\ReferrersImporter->get_keywords_and_search_engine_records
WordPress database error Unknown column 'words' in 'field list' for query select engine, words, count(visitor) AS nb from wp_statistics_search where last_counter = '2024-10-31' group by words, engine order by words, engine; made by include('phar:///usr/bin/wp-cli/php/boot-phar.php'), include('phar:///usr/bin/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP_CLI\bootstrap, WP_CLI\Bootstrap\LaunchRunner->process, WP_CLI\Runner->start, WP_CLI\Runner->run_command_and_exit, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, WpMatomo\Commands\MatomoCommands->importWpStatistics, WpMatomo\WpStatistics\Importer->import, WpMatomo\WpStatistics\Importer->import_day, WpMatomo\WpStatistics\Importers\Actions\ReferrersImporter->import_records, WpMatomo\WpStatistics\Importers\Actions\ReferrersImporter->import_search_engines, WpMatomo\WpStatistics\Importers\Actions\ReferrersImporter->get_keywords_and_search_engine_records
[debug] Import 0 search keywords...
[debug] Import 0 search engines...AFAIK the column “words” was removed by WP Statistics around 1 year ago. Could you please check from your end?
Thanks, and keep up the good work!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- You must be logged in to reply to this topic.