WordPress.org

Ready to get started?Download WordPress

Forums

WP-Piwik
[resolved] Deprecated: Assigning the return value of new by reference is deprecated in /var (7 posts)

  1. heutger
    Member
    Posted 1 year ago #

    Just updated WP-Piwik and got this deprecated error message? Please fix!

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

  2. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    Can you give me more information?

    Is it the same message as describe here?
    http://peepbo.de/board/viewtopic.php?f=5&t=682
    (occuring in line 339)

    This will be fixed in the next release.

    But don't worry about the message until the next WP-Piwik version is released. E_DEPRECATED notices are no errors but warnings about code that won't work in future PHP versions. At the moment everything is fine.

    http://www.php.net/manual/en/errorfunc.constants.php

  3. heutger
    Member
    Posted 1 year ago #

    The forum is currently down, but yes, it occures in line 339. I know, it's a deprecated message, however it's displayed everywhere.

  4. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    But you don't run a production system with enabled error messages, do you?

    If so, please remove the "&" in line 339 to remove the message as a workaround. This fix will be part of 0.9.8.1, of course.

  5. heutger
    Member
    Posted 1 year ago #

    Hi, for sure E_ALL & ~E_NOTICE usually works out. However E_ALL & ~E_NOTICE & ~E_DEPRECATED seemed not to work out also.

  6. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    The fix is part of 0.9.8.1. Release by the end of this week.

  7. heutger
    Member
    Posted 1 year ago #

    Great, many thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic