Hi Siropu, having issues with Referral System and Referral Competition. When they are both activated I see these errors in the error logs. When they are individually activated, they work as expected:
I've tried
- Changing PHP to 8.4
- Rebuilding referral system and referral contests
- Uninstalling and reinstalling both addons
- Disabling ALL add-ons, enabling both referral system and referral contests (error occurs as below).
- Disabling ALL add-ons, enabling referral system only (Works fine), then enabling referral contests only (works fine).
-------- Error below -----
- ErrorException: Fatal Error: Declaration of Siropu\ReferralSystem\XF\Pub\Controller\Account::actionReferralToolsPreview() must be compatible with Siropu\ReferralContests\XF\Pub\Controller\Account::actionReferralToolsPreview(XF\Mvc\ParameterBag $params)
- src/addons/Siropu/ReferralSystem/XF/Pub/Controller/Account.php:63
- Generated by: Snow
- Dec 31, 2025 at 7:51 AM
Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
["url"] => string(139) "/account/visitor-menu?_xfResponseType=json&_xfWithData=1&_xfRequestUri=%2Fmembers%2F&_xfToken=1767167493%2C4a1494a2843b39e6067b501cc000537b"
["referrer"] => string(31) "
https://mytubetalk.com/members/"
["_GET"] => array(4) {
["_xfResponseType"] => string(4) "json"
["_xfWithData"] => string(1) "1"
["_xfRequestUri"] => string(9) "/members/"
["_xfToken"] => string(43) "1767167493,4a1494a2843b39e6067b501cc000537b"
}
["_POST"] => array(0) {
}
}