Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Poll Errors

Set up q simple poll today, and it threw errors and choices didn't show up. This is what I got, if you need more info let me know..
Gene

CodeDownload  
poll_classes.inc
/infusions/member_poll_panel/poll_admin.php?aid=2f36c4ba3750f7a6&section=poll_vote&action=edit&poll_id=1 **
Line: 350
7 minutes ago    

defender.inc
/infusions/member_poll_panel/poll_admin.php?aid=2f36c4ba3750f7a6&section=poll_vote&action=edit&poll_id=1 **
Line: 153
7 minutes ago    

form_text.php
/infusions/member_poll_panel/poll_admin.php?aid=2f36c4ba3750f7a6&section=poll_vote&action=edit&poll_id=1 **
Line: 252
7 minutes ago    

poll_classes.inc
/infusions/member_poll_panel/poll_admin.php?aid=2f36c4ba3750f7a6&section=poll_vote&action=edit&poll_id=1 **
Line: 340
7 minutes ago    

poll_classes.inc
/infusions/member_poll_panel/poll_admin.php?aid=2f36c4ba3750f7a6&section=poll_vote&action=edit&poll_id=1 **
Line: 357
7 minutes ago    

poll_classes.inc
/infusions/member_poll_panel/poll_admin.php?aid=2f36c4ba3750f7a6&section=poll_vote&action=edit&poll_id=1 **
Line: 386
7 minutes ago    

poll_classes.inc
/home.php **
Line: 467
8 minutes ago    

poll_classes.inc
/home.php **
Line: 476
8 minutes ago    

poll_classes.inc
/infusions/member_poll_panel/poll_admin.php?aid=2f36c4ba3750f7a6 **
Line: 234
8 minutes ago    

poll_classes.inc
/infusions/member_poll_panel/poll_admin.php?aid=2f36c4ba3750f7a6 **
Line: 246
8 minutes ago
Invalid argument supplied for foreach()
Line: 246
File -- infusions/member_poll_panel/poll_classes.inc
On Page -- infusions/member_poll_panel/poll_admin.php?aid=2f36c4ba3750f7a6
Generated by
User-Level: -103 -- IP: 24.115.185.187
on
July 27 2020 16:01:53


Now get this....
CodeDownload  
unserialize(): Error at offset 14 of 113 bytes
Line: 468 File -- infusions/member_poll_panel/poll_classes.inc
On Page -- /home.php
Generated by User-Level: -103 -- IP: 24.115.185.187
on July 27 2020 19:14:20
Mark As
Source code (Line: 458 - 478)
458     closetable();
459     }
460    
461     public function DisplayPoll() {
462     $res = $this->_selectPoll();
463     if (!$res) {
464     return;
465     }
466    
467     $poll_title = unserialize($res['poll_title']);
468     $poll_opt = unserialize($res['poll_opt']);
Line 468 -- 25 seconds ago
unserialize(): Error at offset 14 of 113 bytes
469     $data = [
470     'poll_id' => $res['poll_id'],
471     'poll_title' => !empty($poll_title[LANGUAGE]) ? $poll_title[LANGUAGE] : "",
472     'poll_started' => $res['poll_started'],
473     'poll_ended' => $res['poll_ended'],
474     'poll_visibility' => $res['poll_visibility'],
475     ];
476    
477     for ($i = 0; $i < count($poll_opt); $i++) {
478     $data['poll_option'][$i] = !empty($poll_opt[$i][LANGUAGE]) ? $poll_opt[$i][LANGUAGE] : "";

Delete latest poll and create new.
Now it's working...can't figure this out....
Thanks everyone...
Thread Information
Author
Replies
6 posts
Views
143 times
Last Post
Last updated on 3 months ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Falk, RobiNN, daimonbok1