[buddypress-trac] [BuddyPress] #5241: $post object doesn't seem to be an object

buddypress-trac noreply at wordpress.org
Wed Nov 13 00:54:02 UTC 2013


#5241: $post object doesn't seem to be an object
--------------------------+-----------------------------
 Reporter:  henrywright   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 I am getting the same 3 PHP notices at various times when using BP with
 [http://wordpress.org/plugins/wordpress-seo/ WordPress SEO]:

 1. On successful avatar upload
 2. After clicking the submit button when searching private messages

 The notices are:

 Notice: Trying to get property of non-object in /htdocs/wp-content/plugins
 /wordpress-seo/frontend/class-frontend.php on line 548

 Notice: Trying to get property of non-object in /htdocs/wp-content/plugins
 /wordpress-seo/frontend/class-frontend.php on line 840

 Notice: Trying to get property of non-object in /htdocs/wp-content/plugins
 /wordpress-seo/frontend/class-frontend.php on line 843

 After speaking with one of the plugin's contributors in the WP forum
 [http://wordpress.org/support/topic/php-notice-after-successful-avatar-
 upload-on-buddypress/ see the WP forum thread], they suggested I raise a
 BP ticket due to the notices being caused by BuddyPress doing something to
 the {{{$post}}} object which causes it to not be an object.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5241>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list