WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Deprecated: Assigning the return value of new by reference... (4 posts)

  1. y4
    Member
    Posted 4 years ago #

    Hello.

    I was doing my trials at my web host, which contains the php function "file_get_contents", and i've used my website as the example site.

    Maybe there is no relation between the function and the problem.

    But after this, I've got the following errors:

    Deprecated: Assigning the return value of new by reference is deprecated in /wp-settings.php on line 512
    
    Deprecated: Assigning the return value of new by reference is deprecated in /wp-settings.php on line 527
    
    Deprecated: Assigning the return value of new by reference is deprecated in /wp-settings.php on line 534
    
    Deprecated: Assigning the return value of new by reference is deprecated in /wp-settings.php on line 570
    
    Deprecated: Assigning the return value of new by reference is deprecated in /wp-includes/cache.php on line 103
    
    Deprecated: Assigning the return value of new by reference is deprecated in /wp-includes/query.php on line 61
    
    Deprecated: Assigning the return value of new by reference is deprecated in /wp-includes/theme.php on line 1109

    What must I do?

  2. y4
    Member
    Posted 4 years ago #

    the trials contain the "file_get_contents" function. sorry.

  3. y4
    Member
    Posted 4 years ago #

    up

  4. y4
    Member
    Posted 4 years ago #

    the solution: all wp files must be utf-8 without bom. and when notepad++ doesn't work to convert these into utf-8 without bom, try original files of wordpress. those are in that file format.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.