WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Deprecated class-simplepie.php (4 posts)

  1. Bloke
    Member
    Posted 1 year ago #

    On my dashboard I get this error about 50 lines of:
    Deprecated: Assigning the return value of new by reference is deprecated in .....\wp-includes\class-simplepie.php

    in the plugins panel and I read it has to do with the simplepie.php being out of date. But why would my local version show this error and my online version not? They use the same version PHP (5.3), WordPress (3.4.2) and same plug ins and same theme.

  2. Bas Schuiling
    Member
    Posted 1 year ago #

    That it doesn't show on your online version but it does on your local version probably is caused by the WP_DEBUG constant to be true in your wp-config.php. This will write all errors you get. On online version the error reporting is usually off or only to log files ( wisely so!)

  3. Bloke
    Member
    Posted 1 year ago #

    My local version is define('WP_DEBUG', false);

    Also tried the trick opened class-simplepie.php and replaced all '=& new'
    with '= new' it changed 116 instances but still get the errors.

  4. Bloke
    Member
    Posted 1 year ago #

    The errors went away. I copied the version of class-simplepie.php I was using on the online version. Also changed error reporting in PHP.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.