WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Jetpack by WordPress.com] PHP Deprecated (4 posts)

  1. Damien
    Member
    Posted 2 years ago #

    will the depreciation errors cluttering my logs be fixed for latest PHP? I'd like to see them fixed rather then me ignore.

    PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/xxx/public_html/wp-content/plugins/jetpack/modules/subscriptions.php on line 19
    PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/xxx/public_html/wp-content/plugins/jetpack/modules/subscriptions.php on line 164
    PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/xxx/public_html/wp-content/plugins/jetpack/modules/subscriptions.php on line 203
    PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/xxx/public_html/wp-content/plugins/jetpack/modules/subscriptions.php on line 209
    PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/xxx/public_html/wp-content/plugins/jetpack/modules/subscriptions.php on line 212
    PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/xxx/public_html/wp-content/plugins/jetpack/modules/subscriptions.php on line 215
    PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/xxx/public_html/wp-content/plugins/jetpack/modules/subscriptions.php on line 221
    PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/xxx/public_html/wp-content/plugins/jetpack/modules/subscriptions.php on line 498
  2. Damien
    Member
    Posted 2 years ago #

    fix: replace
    =& new
    with
    = new

  3. Michael Adams (mdawaffe)
    Member
    Posted 2 years ago #

    Thanks. We still support PHP4 in the current version of Jetpack but will almost certainly drop that support in the next release (no ETA). No point in supporting PHP4 when core doesn't :)

  4. Dean Taylor
    Member
    Posted 1 year ago #

    Opened new support forum topic now PHP5 is a requirement for both WordPress and Jetpack:
    http://wordpress.org/support/topic/e_deprecated-assigning-the-return-value-of-new-by-reference-is-deprecated

Topic Closed

This topic has been closed to new replies.

About this Topic