Background of the issue:
I am trying to enable WordPress Posts and Custom post Types in the BuddyBoss Activity Feed on my WordPress website. I have WPML plugins active (WPML Multilingual CMS, WPML String Translation, and WPML Media Translation). The issue can be seen at: hidden link
Symptoms:
I encountered a PHP Fatal error indicating an ArgumentCountError due to 3 arguments being required but only 2 being provided. The error occurs in the file bp-activity-functions.php, causing a 500 Internal Server Error on AJAX requests related to the Activity Feed. Deactivating WPML plugins resolves the issue, indicating a conflict between WPML and BuddyBoss. Increasing the PHP memory limit did not resolve the error.
Questions:
How can I resolve the PHP Fatal error caused by the conflict between WPML and BuddyBoss?
Is there a way to integrate WordPress Posts and Custom post Types into the BuddyBoss Activity Feed without encountering errors?