Fatal error Asgaros Forum BuddyPress-Integration.
ALeves@aleves
2 Posts
#1 · March 11, 2021, 4:52 am
Quote from ALeves on March 11, 2021, 4:52 amI received a fatal error message from WordPress due to this plugin. Found at
https://chaosandlight.com/wp-admin/admin-ajax.php
WordPress version 5.6.2
Current theme: Extra (version 4.9.1)
Current plugin: Asgaros Forum BuddyPress-Integration (version 0.1.1)
PHP version 7.4.11I asked my support at Kinsta to look at the error log. This was his message.
2021/03/11 02:20:13 [error] 2917#2917: *49738 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function AsgarosForumBuddyPress::format_notifications(), 5 passed in /www/chaosandlightcom_230/public/wp-includes/class-wp-hook.php on line 287 and exactly 8 expected in /www/chaosandlightcom_230/public/wp-content/plugins/asgaros-forum-buddypress-v0.1.1/asgaros-forum-buddypress.php:280Stack trace:#0 /www/chaosandlightcom_230/public/wp-includes/class-wp-hook.php(287): AsgarosForumBuddyPress->format_notifications(‘asgaros-forum-p…’, ’56’, ‘300’, 1, 1)#1 /www/chaosandlightcom_230/public/wp-includes/plugin.php(255): WP_Hook->apply_filters(‘asgaros-forum-p…’, Array)#2 /www/chaosandlightcom_230/public/wp-content/plugins/youzify/includes/premium/public/core/functions/youzify-live-notifications-functions.php(83): apply_filters_ref_array(‘bp_notification…’, Array)#3 /www/chaosandlightcom_230/public/wp-content/plugins/youzify/includes/premium/public/core/functions/youzify-live-notifications-functions.php(27): youzify” while reading response header from upstream, client: 122.196.159.239, server: www.chaosandlight.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-chaosandlightcom.sock:”, host: “chaosandlight.com”, referrer: “https://chaosandlight.com/join-spiritual-community/“========================Looks like there’s a PHP coding/scripting related issue from that plugin’s file:PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function AsgarosForumBuddyPress::format_notifications(), 5 passed in /www/chaosandlightcom_230/public/wp-includes/class-wp-hook.php on line 287 and exactly 8 expected in /www/chaosandlightcom_230/public/wp-content/plugins/asgaros-forum-buddypress-v0.1.1/asgaros-forum-buddypress.php:280Any assistance would be greatly appreciated.
I received a fatal error message from WordPress due to this plugin. Found at
https://chaosandlight.com/wp-admin/admin-ajax.php
WordPress version 5.6.2
Current theme: Extra (version 4.9.1)
Current plugin: Asgaros Forum BuddyPress-Integration (version 0.1.1)
PHP version 7.4.11
I asked my support at Kinsta to look at the error log. This was his message.
2021/03/11 02:20:13 [error] 2917#2917: *49738 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function AsgarosForumBuddyPress::format_notifications(), 5 passed in /www/chaosandlightcom_230/public/wp-includes/class-wp-hook.php on line 287 and exactly 8 expected in /www/chaosandlightcom_230/public/wp-content/plugins/asgaros-forum-buddypress-v0.1.1/asgaros-forum-buddypress.php:280
Stack trace:
#0 /www/chaosandlightcom_230/public/wp-includes/class-wp-hook.php(287): AsgarosForumBuddyPress->format_notifications(‘asgaros-forum-p…’, ’56’, ‘300’, 1, 1)
#1 /www/chaosandlightcom_230/public/wp-includes/plugin.php(255): WP_Hook->apply_filters(‘asgaros-forum-p…’, Array)
#2 /www/chaosandlightcom_230/public/wp-content/plugins/youzify/includes/premium/public/core/functions/youzify-live-notifications-functions.php(83): apply_filters_ref_array(‘bp_notification…’, Array)
#3 /www/chaosandlightcom_230/public/wp-content/plugins/youzify/includes/premium/public/core/functions/youzify-live-notifications-functions.php(27): youzify” while reading response header from upstream, client: 122.196.159.239, server: http://www.chaosandlight.com, request: “POST /wp-admin/admin-ajax.php HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-chaosandlightcom.sock:”, host: “chaosandlight.com”, referrer: “https://chaosandlight.com/join-spiritual-community/“
========================
Looks like there’s a PHP coding/scripting related issue from that plugin’s file:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function AsgarosForumBuddyPress::format_notifications(), 5 passed in /www/chaosandlightcom_230/public/wp-includes/class-wp-hook.php on line 287 and exactly 8 expected in /www/chaosandlightcom_230/public/wp-content/plugins/asgaros-forum-buddypress-v0.1.1/asgaros-forum-buddypress.php:280
Any assistance would be greatly appreciated.
Click for thumbs down.0Click for thumbs up.0
#2 · March 29, 2021, 8:30 am
Quote from Asgaros on March 29, 2021, 8:30 amHello @aleves
It seems that the BuddyPress-API changed in one of the last updates. I will check it and update the integration-plugin when I could reproduce it.
Hello @aleves
It seems that the BuddyPress-API changed in one of the last updates. I will check it and update the integration-plugin when I could reproduce it.
Click for thumbs down.0Click for thumbs up.1
ALeves has reacted to this post.
ALeves
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!