Per the third line at http://php.net/manual/en/language.oop5.paamayim-nekudotayim.php, this support was only added in 5.3.0.

The offending line is 75 in message_notify.module is:

function message_notify_entity_info_alter(&$entity_info) {
  foreach (message_notify_get_notifiers() as $notifier_name => $plugin) {
    $class = ctools_plugin_load_class('message_notify', 'notifier', $notifier_name, 'class');
    $view_modes = $class::viewModes(); // Breaks PHP 5.2 compatibility.

Short on recommendations to make it 5.2 compatible; I just changed to PHP 5.4.4 to keep testing Kickstart 2.x. ; )

Comments

amitaibu’s picture

Funny "Paamayim Nekudotayim" Is double colon in Hebrew :)

amitaibu’s picture

Status: Active » Fixed

Changed to $view_modes = call_user_func(array($class, 'viewModes'));

rszrama’s picture

Now I just need you to tell me how to pronounce it. : P

Status: Fixed » Closed (fixed)

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