The fix for this requires a change in personalize module that introduces a requirement on PHP 5.3 because in 5.2 you can't use a variable class name when calling a static method on that class. The normal workaround is to use call_user_func_array() instead, but you can't pass arguments by reference when using call_user_func_array(). The only other alternative would be to not have the validation callbacks be class methods but just regular functions. Damned if I'm going to let PHP 5.2 (which was EOL'd 3 years ago) dictate the architecture here though.

Comments

  • Commit 9e51166 on 7.x-1.x by katbailey:
    Issue #2240951 by katbailey: form_state not passed by reference to...
katbailey’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.