[buddypress-trac] [BuddyPress Trac] #7337: PHP Fatal error: Uncaught Error: Call to a member function get_do_autolink() on null

buddypress-trac noreply at wordpress.org
Mon Dec 12 23:12:48 UTC 2016


#7337: PHP Fatal error:  Uncaught Error: Call to a member function
get_do_autolink() on null
------------------------------------+------------------
 Reporter:  slaFFik                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  2.8
Component:  Extended Profile        |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------

Comment (by DJPaul):

 I ran into this while writing a unit test last week. While not ideal, the
 current function is written to be used inside the xprofile template loop.
 This patch just prevents a fatal error when it's used wrong; it doesn't
 make the function usable outside the template loop. And that's what the
 function ought to be changed for, if we're going to change it at all.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7337#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list