WordPress.org

Ready to get started?Download WordPress

Forums

WP-Piwik
[resolved] Bug: missing url of wordpress in piwik (5 posts)

  1. manne.
    Member
    Posted 1 year ago #

    if the url of wordpress isn't set in the url of any piwik website. Several errors are produced:

    • if the checkbox for "insert tracking code" in WP-Piwik Settings section Tracking is checked, after saving, this warning appears:
      Warning: html_entity_decode() expects parameter 1 to be string, array given in /YYYYYY/ZZZZZZZ/wordpress/wp-content/plugins/wp-piwik/settings/tracking.php on line 19
    • in the WP-Piwik dashboard inside almost every widget this warning appears Piwik-Fehler: The parameter 'idSite=' is missing from the request.
    • and of course the tracking code cannot be created ;)

    It is configuration problem of Piwik. however it would be nice to get a helpful notice.

    http://wordpress.org/extend/plugins/wp-piwik/

  2. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    Are you using an auth token without write permission?

    WP-Piwik running in auto-config mode should create a new site, WP-Piwik running in manual mode should ask you to choose a Piwik site?

  3. manne.
    Member
    Posted 1 year ago #

    Hi,

    you're right. The user hadn't got write permission in combination with an auth token. However catching the exception would be nice.

  4. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    The user hadn't got write permission in combination with an auth token.

    Alright, thanks.

    However catching the exception would be nice.

    Yes, of course. I'll add a notice to catch this.

  5. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    Notice added in 0.9.6. Release soon.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.