WordPress.org

Forums

Fatal error: Cannot call overloaded function for non-object (5 posts)

  1. tessgeos
    Member
    Posted 1 year ago #

    Hey friend
    how to resolve this error

    Fatal error: Cannot call overloaded function for non-object in /home/xxxxx/public_html/wp-includes/class-wp.php on line 529

    I am not getting proper solution to this as of now.
    anybody has faced same?

  2. Tara
    Volunteer Moderator
    Posted 1 year ago #

    Try re-uploading all files & folders - except the root wp-config.php & .htaccess files and the the wp-content folder - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

  3. deepbevel
    Member
    Posted 1 year ago #

    I have and still do, but it comes and goes randomly, I can't figure it out. I and others have already tried reloading wp files.

    At one point I was sure it had something to do with changing an admins username, because I followed that lead and the problem seemed to be gone, but now it has retuned. Driving me nuts!

    Some are saying it may have something to do with Godaddy's shared hosting, or a type of caching they use. I'm still looking into it.

  4. tessgeos
    Member
    Posted 1 year ago #

    Hmm ask godaddy advance team. They only can fix this.

  5. celsowhite
    Member
    Posted 9 months ago #

    Hey I found the answer in this forum https://wordpress.org/support/topic/fatal-error-cannot-call-overloaded-function-for-non-object-1/page/2?replies=35#post-6035835.

    "Just wanted to share how I fix the issue. In the cpanel control panel, choose "Select PHP version". Then I select "PHP Version 5.5". Then click save."

    Worked for me. It seems like it's a godaddy issue.

Topic Closed

This topic has been closed to new replies.

About this Topic