Closed (fixed)
Project:
Message Notify
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2012 at 15:53 UTC
Updated:
30 Aug 2012 at 17:21 UTC
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
Comment #1
amitaibuFunny "Paamayim Nekudotayim" Is double colon in Hebrew :)
Comment #2
amitaibuChanged to
$view_modes = call_user_func(array($class, 'viewModes'));Comment #3
rszrama commentedNow I just need you to tell me how to pronounce it. : P