E_ERROR on row 280
Quote from hejsan on November 3, 2020, 5:44 pmHello.
We are having trouble with asgaros. Seems to be error with our buddypress ntification bell, but can’t find out exactly what to do about it.
Why is it even not enough arguments passed in?Here is the error message:
/srv/htdocs/wp-content/plugins/asgaros-forum-buddypress-v0.1.1/asgaros-forum-buddypress.php. Felorsak: Uncaught ArgumentCountError: Too few arguments to function AsgarosForumBuddyPress::format_notifications(), 4 passed in /wordpress/core/5.5.3/wp-includes/class-wp-hook.php on line 287 and exactly 8 expected in /srv/htdocs/wp-content/plugins/asgaros-forum-buddypress-v0.1.1/asgaros-forum-buddypress.php:280
Stack trace:
#0 /wordpress/core/5.5.3/wp-includes/class-wp-hook.php(287): AsgarosForumBuddyPress->format_notifications(‘asgaros-forum-p…’, ’78’, ‘185167058’, 1)
#1 /wordpress/core/5.5.3/wp-includes/plugin.php(249): WP_Hook->apply_filters(‘asgaros-forum-p…’, Array)
#2 /srv/htdocs/wp-content/plugins/buddy-notification-bell/includes/class-notification-bell-public.php(365): apply_filters_ref_array(‘bp_notification…’, Array)
#3 /srv/htdocs/wp-content/plugins/buddy-notification-bell/includes/class-notification-bell-public.php(335): Buddy_Notification_Bell_Public->bnb_get_the_notification_description(Object(stdClass))
#4 /srv/htdocs/wp-content/plugins/buddy-notification-bell/includes/class-notification-bell-public.php(268): Buddy_Notification_Bell_Public->bnb_get_notification_messages(Array)
#5 /wordpress/core/5.5.3/wp-includes/class-wp-hook.php(287): Buddy_Notification_Bell_Public->bnb_process_notification_request(Array, Array, ‘front’)
#6 /wordpress/core/5.5.3/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#7 /wordpress/core/5.5.3/wp-admin/includes/ajax-actions.php(3399): apply_filters(‘heartbeat_recei…’, Array, Array, ‘front’)
#8 /wordpress/core/5.5.3/wp-includes/class-wp-hook.php(287): wp_ajax_heartbeat(”)
#9 /wordpress/core/5.5.3/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#10 /wordpress/core/5.5.3/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#11 /wordpress/core/5.5.3/wp-admin/admin-ajax.php(176): do_action(‘wp_ajax_heartbe…’)
#12 {main}
thrown
Hello.
We are having trouble with asgaros. Seems to be error with our buddypress ntification bell, but can’t find out exactly what to do about it.
Why is it even not enough arguments passed in?
Here is the error message:
/srv/htdocs/wp-content/plugins/asgaros-forum-buddypress-v0.1.1/asgaros-forum-buddypress.php. Felorsak: Uncaught ArgumentCountError: Too few arguments to function AsgarosForumBuddyPress::format_notifications(), 4 passed in /wordpress/core/5.5.3/wp-includes/class-wp-hook.php on line 287 and exactly 8 expected in /srv/htdocs/wp-content/plugins/asgaros-forum-buddypress-v0.1.1/asgaros-forum-buddypress.php:280
Stack trace:
#0 /wordpress/core/5.5.3/wp-includes/class-wp-hook.php(287): AsgarosForumBuddyPress->format_notifications(‘asgaros-forum-p…’, ’78’, ‘185167058’, 1)
#1 /wordpress/core/5.5.3/wp-includes/plugin.php(249): WP_Hook->apply_filters(‘asgaros-forum-p…’, Array)
#2 /srv/htdocs/wp-content/plugins/buddy-notification-bell/includes/class-notification-bell-public.php(365): apply_filters_ref_array(‘bp_notification…’, Array)
#3 /srv/htdocs/wp-content/plugins/buddy-notification-bell/includes/class-notification-bell-public.php(335): Buddy_Notification_Bell_Public->bnb_get_the_notification_description(Object(stdClass))
#4 /srv/htdocs/wp-content/plugins/buddy-notification-bell/includes/class-notification-bell-public.php(268): Buddy_Notification_Bell_Public->bnb_get_notification_messages(Array)
#5 /wordpress/core/5.5.3/wp-includes/class-wp-hook.php(287): Buddy_Notification_Bell_Public->bnb_process_notification_request(Array, Array, ‘front’)
#6 /wordpress/core/5.5.3/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array)
#7 /wordpress/core/5.5.3/wp-admin/includes/ajax-actions.php(3399): apply_filters(‘heartbeat_recei…’, Array, Array, ‘front’)
#8 /wordpress/core/5.5.3/wp-includes/class-wp-hook.php(287): wp_ajax_heartbeat(”)
#9 /wordpress/core/5.5.3/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#10 /wordpress/core/5.5.3/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#11 /wordpress/core/5.5.3/wp-admin/admin-ajax.php(176): do_action(‘wp_ajax_heartbe…’)
#12 {main}
thrown
Quote from qualmy91 on November 4, 2020, 3:42 amHey @hejsan,
please post your error in the topic of the BuddyPress Integrations:
https://asgaros.com/support/topic/buddypress-integration-v0-1/
Hey @hejsan,
please post your error in the topic of the BuddyPress Integrations:
https://asgaros.com/support/topic/buddypress-integration-v0-1/
