[buddypress-trac] [BuddyPress] #4016: PHP Parse error: syntax error, unexpected T_STRING

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Feb 23 21:59:55 UTC 2012

#4016: PHP Parse error:  syntax error, unexpected T_STRING
 Reporter:  j.conti            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  1.5.5
Component:  Warnings/Notices   |     Version:  1.5.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
Changes (by boonebgorges):

 * keywords:   => reporter-feedback


 I can't reproduce it. I'm guessing that an error is being registered in
 $bp->signup->errors that isn't structured properly as key-value, so that
 either $fieldname or $error_message is ending up undefined, and the
 create_function() command therefore failing because of mauled syntax. If
 that's right, we can fix this by checking to make sure that $fieldname and
 $error_message are non-empty before attempting to create the function. But
 that seems a bit random, if we can't recreate the error to begin with.

 j.conti, are you running any plugins or any other modifications to the
 registration process?

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

More information about the buddypress-trac mailing list