Hello,
I am encountering a fatal error on my WordPress site with the "Fluent Community" plugin. Here are the details of the error I'm seeing:
[05-Sep-2024 06:41:21 UTC] PHP Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, WP_REST_Response given in /home/jrck2329/public_html/wp-content/plugins/fluent-community/app/Services/Helper.php:665
Stack trace:
#0 /home/xxxx/public_html/wp-content/plugins/fluent-community/app/Services/Helper.php(665): array_filter()
#1 /home/xxxx/public_html/wp-content/plugins/fluent-community/app/Hooks/Handlers/PortalHandler.php(531): FluentCommunityAppServicesHelper::getMenuItemsGroup()
...
#26 {main}
thrown in /home/xxxx/public_html/wp-content/plugins/fluent-community/app/Services/Helper.php on line 665
It seems that theΒ array_filter()Β function is receiving aΒ WP_REST_ResponseΒ object instead of an array, causing the error. This issue is currently affecting my site, and I am not sure how to resolve it.
Additional Information:
- WordPress Version: 6.6.1
- Fluent Community Version: 1.0.53
- Builder in Use: Breakdance
Could you please help me resolve this issue? Is there an update or a fix that I should apply?
Thank you in advance for your assistance.
We already fixed the issue and will be released later today.
Shahjahan Jewel, Hi, any news?