Hallo Community and hallo @admin
today I have setup a new instance of Codoforum at my shared hosting.
I created a topic with a poll and I was running into the following error message:
Warning: Attempt to read property "num_votes" on array in /sys/CODOF/Forum/Poll.php on line 156
I did one vote at the poll and instead of showing the correct percentage it still shows 0% on both possible poll answers. It would be great if you can help to fix it.
My System Setup:
- I use https:// with Lets Encrypt
- MySQL Version 5.7
- PHP Version 8.1
- opcache is enable
- max_execution_time is 300
- max_input_time also 300
- post_max_size 256M
- system is running on Plesk
- Chrome Browsers Ads Blocker is off
Kind regards, WebCrew 
Hallo Community and hallo @admin
today I have setup a new instance of Codoforum at my shared hosting.
I created a topic with a poll and I was running into the following error message:
> Warning: Attempt to read property "num_votes" on array in /sys/CODOF/Forum/Poll.php on line 156
I did one vote at the poll and instead of showing the correct percentage it still shows 0% on both possible poll answers. It would be great if you can help to fix it.
**My System Setup:**
- I use https:// with Lets Encrypt
- MySQL Version 5.7
- PHP Version 8.1
- opcache is enable
- max_execution_time is 300
- max_input_time also 300
- post_max_size 256M
- system is running on Plesk
- Chrome Browsers Ads Blocker is off
Kind regards, WebCrew ;)
https://net-twin.de/ Community for creative people - JOIN it Now please
https://github.com/WebCrew My GitHub account
https://sell-co.de/ Lots of Web-Tools and Utilities for free
edited Nov 8 '22 at 6:35 pm