wordpress experts/coders - what is this error message?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mineistaken
    See signature :)
    • Apr 2007
    • 29656

    #1

    wordpress experts/coders - what is this error message?

    My wp site became plastered with:
    Warning: Creating default object from empty value in...
    What does it mean, where did it come from? I did not do anything with the site.
    Sucks to be non coder
  • myleene
    Confirmed User
    • Oct 2013
    • 906

    #2
    Is it possible that your webhost changed PHP to a different version or that WordPress got autoupdated silently?

    This may help: http://wordpress.org/support/topic/w...om-empty-value

    Comment

    • mineistaken
      See signature :)
      • Apr 2007
      • 29656

      #3
      No autoupdate. I will check with the host. However other sites on the same account are not affected by this.

      Comment

      • mineistaken
        See signature :)
        • Apr 2007
        • 29656

        #4
        And what should I do if this is due to PHP update?
        I read that I can hide it somehow, but I do not want to hide it, I want to fix it.

        Comment

        • myleene
          Confirmed User
          • Oct 2013
          • 906

          #5
          Originally posted by mineistaken
          No autoupdate. I will check with the host. However other sites on the same account are not affected by this.
          It may affect only a specific theme or specific plugins.

          Which site is affected and what are the complete error messages? Are they visible by the end-users (surfers)?

          Comment

          • myleene
            Confirmed User
            • Oct 2013
            • 906

            #6
            Originally posted by mineistaken
            And what should I do if this is due to PHP update?
            I read that I can hide it somehow, but I do not want to hide it, I want to fix it.
            Depends on the problem and where they are. It might be an easy fix.

            Comment

            • mineistaken
              See signature :)
              • Apr 2007
              • 29656

              #7
              Originally posted by myleene
              It may affect only a specific theme or specific plugins.

              Which site is affected and what are the complete error messages? Are they visible by the end-users (surfers)?
              Visible on website when admin is logged in, not to users. specific messages:

              Warning: Creating default object from empty value in wp-includes/user.php on line 657

              Warning: Creating default object from empty value in wp-includes/user.php on line 657

              Warning: Creating default object from empty value in wp-includes/class-wp-admin-bar.php on line 167

              Warning: Creating default object from empty value in wp-includes/class-wp-admin-bar.php on line 167
              Last edited by mineistaken; 02-23-2014, 08:56 PM.

              Comment

              • WDF
                Confirmed User
                • Jan 2013
                • 2248

                #8
                Looks like you have 2 files that were altered and have a bad call or missing data in the database to generate the object.

                Did you remove a plug in? Are you using an old theme?

                Are you at Version 3.8.1 for word press?
                Last edited by WDF; 02-23-2014, 09:05 PM.
                Please HELP

                Comment

                • mineistaken
                  See signature :)
                  • Apr 2007
                  • 29656

                  #9
                  Originally posted by WDF

                  Are you at Version 3.8.1 for word press?
                  Nope. But now I updated and seems that errors are gone

                  Comment

                  • myleene
                    Confirmed User
                    • Oct 2013
                    • 906

                    #10
                    Originally posted by mineistaken
                    Nope. But now I updated and seems that errors are gone

                    Comment

                    Working...