Support » Plugin: WP-Piwik » Deprecated: Assigning the return value of new by reference is deprecated in /var

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author braekling

    (@braekling)

    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

    heutger

    (@heutger)

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

    Plugin Author braekling

    (@braekling)

    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.

    heutger

    (@heutger)

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

    Plugin Author braekling

    (@braekling)

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

    heutger

    (@heutger)

    Great, many thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Deprecated: Assigning the return value of new by reference is deprecated in /var’ is closed to new replies.