#2230 - Composr 10b2: Cron Bridge stalls because of error

  • By
  • Added
  • 3 views
Identifier #2230
Issue type Major issue (breaks an entire feature)
Title Composr 10b2: Cron Bridge stalls because of error
Status Completed
Handling member Chris Graham
Addon core
Description I'm not sure what this error means, but when cron bridge runs, an email is dispatched which contains the following:

fatal: Not a git repository (or any of the parent directories): .git
#0 _fatal_exit(PHP NOTICE [8] Undefined variable: test in sources/notifications.php on line 906) called at [/home/admin/web/lovinity.org/public_html/sources/global2.php:903]
#1 fatal_exit(PHP NOTICE [8] Undefined variable: test in sources/notifications.php on line 906) called at [/home/admin/web/lovinity.org/public_html/sources/failure.php:274]
#2 _composr_error_handler(notice, 8, Undefined variable: test, sources/notifications.php, 906, 5) called at [/home/admin/web/lovinity.org/public_html/sources/global2.php:774]
#3 composr_error_handler(8, Undefined variable: test, /home/admin/web/lovinity.org/public_html/sources/notifications.php, 906, Array ([notification_code] => actionlog,[notification_category] => ADD_EVENT_TYPE,[member_id] => 2,[specific_where] => Array ([l_member_id] => 2,[l_notification_code] => actionlog,[l_code_category] => ADD_EVENT_TYPE),[NOTIFICATION_SETTING_CACHE] => Array ([a:3:{s:11:"l_member_id";i:2;s:19:"l_notification_code";s:9:"actionlog";s:15:"l_code_category";s:14:"ADD_EVENT_TYPE";}] => ),[db] => DatabaseConnector Object ([table_prefix] => cms_,[connection_read] => Array ([0] => mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => ),[1] => admin_tlc),[connection_write] => Array ([0] => mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => ),[1] => admin_tlc),[text_lookup_original_cache] => Array (),[text_lookup_cache] => Array (),[table_exists_cache] => Array (),[static_ob] => Database_Static_mysqli Object ([cache_db] => Array ([a:2:{i:0;s:9:"admin_tlc";i:1;s:9:"localhost";}] => mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => )),[last_select_db] => Array ([0] => mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[stat] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => ),[1] => admin_tlc),[reconnected_once] => ),[dedupe_mode] => ))) called at [/home/admin/web/lovinity.org/public_html/sources/notifications.php:906]
#4 notifications_setting(actionlog, ADD_EVENT_TYPE, 2) called at [/home/admin/web/lovinity.org/public_html/sources/notifications.php:1377]
#5 Hook_notification__Staff->_all_staff_who_have_enabled(actionlog, ADD_EVENT_TYPE, , 0, 300) called at [/home/admin/web/lovinity.org/public_html/sources/notifications.php:1317]
#6 Hook_notification__Staff->list_members_who_have_enabled(actionlog, ADD_EVENT_TYPE, , 0, 300) called at [/home/admin/web/lovinity.org/public_html/sources/notifications.php:332]
#7 Notification_dispatcher->dispatch() called at [/home/admin/web/lovinity.org/public_html/sources/hooks/systems/tasks/dispatch_notification.php:37]
#8 Hook_task_dispatch_notification->run(Notification_dispatcher Object ([notification_code] => actionlog,[code_category] => ADD_EVENT_TYPE,[subject] => New action-log entry: Add event type,[message] => A new action has been logged on The Lovinity Community+ (BETA).

Action: Add event type
Parameter A: 9
Parameter B: Radio Show,[to_member_ids] => ,[from_member_id] => 2,[priority] => 3,[store_in_staff_messaging_system] => ,[no_cc] => ,[no_notify_for__notification_code] => ,[no_notify_for__code_category] => ,[subject_prefix] => ,[subject_suffix] => ,[body_prefix] => ,[body_suffix] => ,[attachments] => ,[use_real_from] => 1))
#9 call_user_func_array(Array ([0] => Hook_task_dispatch_notification Object (),[1] => run), Array ([0] => Notification_dispatcher Object ([notification_code] => actionlog,[code_category] => ADD_EVENT_TYPE,[subject] => New action-log entry: Add event type,[message] => A new action has been logged on The Lovinity Community+ (BETA).

Action: Add event type
Parameter A: 9
Parameter B: Radio Show,[to_member_ids] => ,[from_member_id] => 2,[priority] => 3,[store_in_staff_messaging_system] => ,[no_cc] => ,[no_notify_for__notification_code] => ,[no_notify_for__code_category] => ,[subject_prefix] => ,[subject_suffix] => ,[body_prefix] => ,[body_suffix] => ,[attachments] => ,[use_real_from] => 1))) called at [/home/admin/web/lovinity.org/public_html/sources/tasks.php:74]
#10 execute_task_background(Array ([id] => 176,[t_title] => Send a notification,[t_hook] => dispatch_notification,[t_args] => a:1:{i:0;O:23:"Notification_dispatcher":17:{s:17:"notification_code";s:9:"actionlog";s:13:"code_category";s:14:"ADD_EVENT_TYPE";s:7:"subject";s:36:"New action-log entry: Add event type";s:7:"message";s:126:"A new action has been logged on The Lovinity Community+ (BETA).

Action: Add event type
Parameter A: 9
Parameter B: Radio Show";s:13:"to_member_ids";N;s:14:"from_member_id";i:2;s:8:"priority";i:3;s:31:"store_in_staff_messaging_system";b:0;s:5:"no_cc";b:0;s:32:"no_notify_for__notification_code";N;s:28:"no_notify_for__code_category";N;s:14:"subject_prefix";s:0:"";s:14:"subject_suffix";s:0:"";s:11:"body_prefix";s:0:"";s:11:"body_suffix";s:0:"";s:11:"attachments";N;s:13:"use_real_from";b:1;}},[t_member_id] => 2,[t_secure_ref] => 6608db246b1c8,[t_send_notification] => 0,[t_locked] => 0)) called at [/home/admin/web/lovinity.org/public_html/sources/hooks/systems/cron/tasks.php:39]
#11 Hook_cron_tasks->run() called at [/home/admin/web/lovinity.org/public_html/sources/misc_scripts.php:308]
#12 cron_bridge_script(/home/admin/web/lovinity.org/public_html/data/cron_bridge.php) called at [/home/admin/web/lovinity.org/public_html/data/cron_bridge.php:53]
PHP NOTICE [8] Undefined variable: test in sources/notifications.php on line 906
Steps to reproduce

Additional information Essentially, many cron_bridge functions such as digest emailing and task queue processing are not happening because of this.
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated