Title: Piwik Server Migration Bug
Last modified: August 20, 2016

---

# Piwik Server Migration Bug

 *  Resolved [devgineer](https://wordpress.org/support/users/devgineer/)
 * (@devgineer)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/piwik-server-migration-bug/)
 * If you change the domain for your piwik server, the plugin has the potential 
   to freeze up your login and there is no way to recover from the GUI.
 * REPRODUCTION STEPS:
    1) Configure wp-piwik to use e.g. stats.somedomain.com (
   show stats on dashboard) 2) Change piwik server DNS e.g. stats.anotherdomain.
   com 3) Sign in to your WordPress site (site won’t load)
 * WORK AROUND:
    1) go to a page on your wordpress and click edit (now your in the
   site). DO NOT GO TO DASHBOARD 2) Go to plugins and delete wp-piwik 3) go to phpMyAdmin,
   Workbench, or your query tool of choice and delete piwik options by running this
   script: — start script DELETE FROM wp_options WHERE `wp_options` LIKE ‘%wp-piwik%’—
   end script it will delete two records. 4) install wp-piwik and reconfigure.
 * SUGGESTIONS:
    1) When plugin is deleted, delete configuration in wp_options 2)
   Have a link (or button) to delete configuration data 3) Have a link (or button)
   to update piwik server
 * NOTES:
    If I go into the DB through MySQL Workbench or phpMyAdmin and try to 
   update the settings manually I get the following error “Fatal error: Access to
   undeclared static property: wp_piwik::$bolWPMU in /home/…/wp-content/plugins/
   wp-piwik/update/80403.php on line 15”
 * I discovered this by accident as I just mess around on WordPress to see what 
   all the fuss is about. I might run important sites on it soon, not sure yet. 
   I would probably have been more careful in migrating the DNS records on a more
   important site. But the bug is found and I hope my notes help you out in improving
   this great plugin.
 * [http://wordpress.org/extend/plugins/wp-piwik/](http://wordpress.org/extend/plugins/wp-piwik/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/piwik-server-migration-bug/#post-3159032)
 * Thank you very much for your detailed report.
 * Looks like there are no timeouts which stop endless file requests. I’ll try to
   fetch within WP-Piwik.
 * Currently WP-Piwik offers a rest functionality (/wp-admin/options-general.php?
   page=wp-piwik/wp-piwik.php&tab=support&mode=reset) but this won’t reset the Piwik
   URL. I’ll also add a full reset link so you won’t have to manipulate the database
   on your own.
 * In any case an uninstall method is planned very soon because it is a “milestone”
   on my road to version 1.0 🙂
 *  [Brian Brown, Ph.D.](https://wordpress.org/support/users/brianbrown/)
 * (@brianbrown)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/piwik-server-migration-bug/#post-3159038)
 * If you don’t feel comfortable with phpMyAdmin or don’t have access to it for 
   some reason, install a plugin like WP Options Optimizer ([http://wordpress.org/extend/plugins/options-optimizer/](http://wordpress.org/extend/plugins/options-optimizer/))
   
   activate and run it and then do a search for ‘piwik” (without the quotes) and
   delete those entries. I love this plugin! Regards, Brian Brown, Ph.D. _[ [Signature moderated](http://codex.wordpress.org/Forum_Welcome#Signatures).]_
 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/piwik-server-migration-bug/#post-3159057)
 * 0.9.8 allows a full reset:
    /wp-admin/options-general.php?page=wp-piwik/wp-piwik.
   php&tab=support&mode=resetconfirmed&full=1
 * It also comes with a connection timeout which should avoid the freeze.
 * Release soon.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Piwik Server Migration Bug’ is closed to new replies.

 * ![](https://ps.w.org/wp-piwik/assets/icon-256x256.png?rev=3529668)
 * [Connect Matomo - Analytics Dashboard for WordPress](https://wordpress.org/plugins/wp-piwik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-piwik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-piwik/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-piwik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-piwik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-piwik/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [braekling](https://wordpress.org/support/users/braekling/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/piwik-server-migration-bug/#post-3159057)
 * Status: resolved