[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
Wed Jul 5 19:43:26 UTC 2017


#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:  Awaiting
Component:  Extended Profile                     |  Review
 Severity:  normal                               |     Version:
 Keywords:  dev-feedback 2nd-opinion early       |  Resolution:
  needs-patch                                    |
-------------------------------------------------+-------------------------

Comment (by r-a-y):

 I'm not convinced either, but do we want to safeguard the function from
 being used outside the xprofile loop?

 If so, the current patch or a variation of it could be done (like `empty(
 $GLOBALS['field'] )`).

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


More information about the buddypress-trac mailing list