HTTP Error 500 in Polls module after update to version 15.0.0-B1
Hi folks,
good to be back again after some time off.
I've got a problem with Polls module after updating to UNA 15.0.0-B1. It seems to be an issue with class encapsulation.
My server logs report as follows:
Got error 'PHP message: PHP Fatal error: Access level to BxPollsTemplate::getSummary() must be public (as in class BxBaseModGeneralTemplate) in on line 181', referer: https://xxxx.xxxx
@Anton L , could this be a bug?
Cheers, thomlin
-
- · Chris Andre Buys
- ·
It's good to have you back man.
Locate the BxPollsTemplate class file (typically in /modules/boonex/polls/classes/BxPollsTemplate.php)
Find the getSummary() method around line 181
Change its visibility from whatever it currently is to public
If it works , report back and update the ticket as a possible bug...
-
Hi Chris, yeah, missed you guys.
Thanks for your suggestion, but I think I'll leave the dirty hands work to the professionals. If it really is just such a simple bug, I'm sure the team will provide a fix very quickly.
-
- · Chris Andre Buys
- ·
K, leave it to me... just rapping up on something.
-
Dear @LeonidS has already taken over, thx.
-
- · Chris Andre Buys
- ·
Cool, as long as you didn't have to wait that long... O' @LeonidS is my man and always ready to assist for when ever we need him..
-
-
·
LeonidS
- ·
Hi all!
As you may see here the getSummary method has been declared as public for the 15.0.0-B1 release. So it seems this file in your Polls app haven't been upgraded properly. You may try to replace it with the files from the actual package of the Polls app https://unacms.com/view-product/polls
-
·
LeonidS
-
- · thomlin
-
·
In reply to LeonidS
- ·
Thanks @LeonidS for your support on this. Upgrading seemed smoothly, no errors or other hints on a problem. I'll replace and add the files manually from the repository.