View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1232 | Composr | General / Uncategorised | public | 2013-05-07 21:29 | 2013-05-08 15:25 |
Reporter | Lhasadreams | Assigned To | Chris Graham | ||
Priority | urgent | Severity | @80@ | ||
Status | resolved | Resolution | fixed | ||
Summary | 1232: Trying to add a member to a usergroup causes a bailout | ||||
Description | Critical error – bailing out This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other. PHP NOTICE [8] Undefined offset: 1 in sources/notifications.php on line 854 (version: 9.0.5, PHP version: 5.3.20, URL: /index.php?page=groups&type=add_to&id=27) Stack trace… File -> '/home/vwgolfm/public_html/sources/failure.php' Line -> 792 Function -> 'die_html_trace' Args -> array ( 0 => 'PHP NOTICE [8] Undefined offset: 1 in sources/notifications.php on line 854 (version: 9.0.5, PHP version: 5.3.20, URL: /index.php?page=groups&type=add_to&id=27)', ) File -> '/home/vwgolfm/public_html/sources/global2.php' Line -> 1011 Function -> '_fatal_exit' Args -> array ( 0 => 'PHP NOTICE [8] Undefined offset: 1 in sources/notifications.php on line 854', ) File -> '/home/vwgolfm/public_html/sources/failure.php' Line -> 224 Function -> 'fatal_exit' Args -> array ( 0 => 'PHP NOTICE [8] Undefined offset: 1 in sources/notifications.php on line 854', ) File -> '/home/vwgolfm/public_html/sources/global2.php' Line -> 874 Function -> '_Composr_error_handler' Args -> array ( 0 => 'notice', 1 => 8, 2 => 'Undefined offset: 1', 3 => 'sources/notifications.php', 4 => 854, ) File -> '/home/vwgolfm/public_html/sources/notifications.php' Line -> 854 Function -> 'Composr_error_handler' Args -> array File -> '/home/vwgolfm/public_html/sources/hooks/systems/notifications/cns_member_joined_group.php' Line -> 96 Function -> '_all_members_who_have_enabled_with_page_access' Class -> 'Hook_Notification' Object -> Hook_Notification_cns_member_joined_group::__set_state(array( )) Type -> '->' Args -> array ( 0 => array ( 13606 => 2, 6 => 2, ), 1 => 'groups', 2 => 'cns_member_joined_group', 3 => '27', 4 => NULL, 5 => 0, 6 => 300, ) File -> '/home/vwgolfm/public_html/sources/notifications.php' Line -> 228 Function -> 'list_members_who_have_enabled' Class -> 'Hook_Notification_cns_member_joined_group' Object -> Hook_Notification_cns_member_joined_group::__set_state(array( )) Type -> '->' Args -> array ( 0 => 'cns_member_joined_group', 1 => '27', 2 => NULL, 3 => 0, 4 => 300, ) Function -> 'dispatch' Class -> 'Notification_dispatcher' Object -> Notification_dispatcher::__set_state(array( 'notification_code' => 'cns_member_joined_group', 'code_category' => '27', 'subject' => 'smudger1980 has joined the Moderators usergroup', 'message' => '{smudger1980} has joined the Moderators usergroup. Visit Moderators on The Mk1 Golf Owners Club: http://vwgolfmk1.org.uk/index.php?page=groups&type=view&id=moderators_2', 'to_member_ids' => NULL, 'from_member_id' => 456, 'priority' => 3, 'store_in_staff_messaging_system' => false, 'no_cc' => false, 'no_notify_for__notification_code' => NULL, 'no_notify_for__code_category' => NULL, )) Type -> '->' Args -> array ( ) Details here are intended only for the website/system-administrator, not for regular website users. » If you are a regular website user, please let the website staff deal with this problem. Depending on the error, and only if the website installation finished, you may need to edit the installation options (the info.php file). ocProducts maintains full documentation for all procedures and tools. These may be found on the Composr website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you. | ||||
Steps To Reproduce | Go here http://vwgolfmk1.org.uk/index.php?page=groups&type=view&id=moderators_2&redirected=1 Try and add a new member, always causes a bailout | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
I noticed that the user does actually get added - not sure if it is some halfway house though ? |
|
I have uploaded the fixed sources/hooks/systems/notifications/cns_member_joined_group.php file for you. This was a problem in the other notification fixes recently deployed. Notifications are sent after the script finishes main processing - so no partiality/corruption would have occurred. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |