Conversation
supportHi – we are seeing a critical error on a site when this plugin is activated. Staging site only has the following: WordPress 6.9.4 BuddyBoss theme 2.20.0 BuddyBoss Platform 2.21.0 BP Restrict 1.5.3 Please advise? Thanks
Hi there, Thanks for bringing his issue to our attention. In this case, the Fatal error is occurring due to a compatibility conflict between the Redux framework bundled in the Restrictions for BuddyPress plugin(version 4.0.0) and the BuddyBoss theme’s Redux extensions. The theme’s extensions are using an older version of Redux (3.0.0) that did not include typed property declarations, leading to a type mismatch. Prior to BuddyBoss theme updating their Redux version, you may make changes in the BP Restrict plugin to remove the strict type declarations from the Redux abstract class properties ($extension_url and $extension_dir). This change ensures backward compatibility with themes using older Redux extensions, preventing the fatal error. To do so, please carry out the following: – Navigate to the class-redux-extension-abstract.php file within the \wp-content\plugins\bp-restrict\includes\options\inc\classes\ directory path – Search for the line of code below: protected string $extension_url; – Alter it to: protected $extension_url; – Search for: protected string $extension_dir; – Alter it to: protected $extension_dir; I hope this information helps. Should you have any questions, please feel free to reach out once again. Kind Regards
Hi there, Thanks for bringing his issue to our attention. In this case, the Fatal error is occurring due to a compatibility conflict between the Redux framework bundled in the Restrictions for BuddyPress plugin(version 4.0.0) and the BuddyBoss theme’s Redux extensions. The theme’s extensions are using an older version of Redux (3.0.0) that did not include typed property declarations, leading to a type mismatch. Prior to BuddyBoss theme updating their Redux version, you may make changes in the BP Restrict plugin to remove the strict type declarations from the Redux abstract class properties ($extension_url and $extension_dir). This change ensures backward compatibility with themes using older Redux extensions, preventing the fatal error. To do so, please carry out the following: – Navigate to the class-redux-extension-abstract.php file within the \wp-content\plugins\bp-restrict\includes\options\inc\classes\ directory path – Search for the line of code below: protected string $extension_url; – Alter it to: protected $extension_url; – Search for: protected string $extension_dir; – Alter it to: protected $extension_dir; I hope this information helps. Should you have any questions, please feel free to reach out once again. Kind Regards