Forums

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

  1. Damien
    Member
    Posted 4 months 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 3 months ago #

    fix: replace
    =& new
    with
    = new

  3. Michael Adams (mdawaffe)
    Member
    Posted 3 months 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 :)

Reply

You must log in to post.

About this Topic