Codoforum related discussions
Error message with the Poll Feature

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 smile


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 ;)

Join: Net-Twin Community

Visit my GitHub: @WebCrew

edited Nov 8 at 6:35 pm
32
0
1
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft