500 Internal Server Error Caused by PHP Fatal Error in BxEventsModule
I'm currently unable to access my website due to a 500 Internal Server Error. Upon checking the Apache error logs, I found the following fatal PHP error:
PHP Fatal error: Declaration of BxEventsModule::serviceBrowseRecentProfiles($bDisplayEmptyMsg = false, $bAjaxPaginate = true) must be compatible with BxBaseModProfileModule::serviceBrowseRecentProfiles($bDisplayEmptyMsg = false, $bAjaxPaginate = true, $sUnitView = false) in /var/www/una/modules/boonex/events/classes/BxEventsModule.php on line 457
Do you have any suggestions on how I can fix this issue?
Thanks in advance for your help.
-
- · Olu Ade
- ·
I have resolved the problem by updating it to match the parent class signature by adding the third parameter as follows:
public function serviceBrowseRecentProfiles($bDisplayEmptyMsg = false, $bAjaxPaginate = true, $sUnitView = false)
but I still don't know what triggered the error
-
-
·
LeonidS
- ·
Hello @Olu Ade !
This error means that the Events app hasn't been upgraded till the actual UNA core's version. It would be good to check the Studio->Apps Market->Updates area to check if smth is still there.
-
·
LeonidS
-