HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Bail out on Polls

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#89413 (In Topic #18079)
Avatar

Fan in action

When clicking "view" causes critical error bailout

Hi, I'm using Opera & Firefox to test this, but clicking "View" on a polls produces; Im using OCPortal 9 beta3 btw

Critical error – bailing out
This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
PHP WARNING [2] array_key_exists() expects parameter 2 to be array, null given in sources/zones.php on line 647 (version: 9 beta3, PHP version: 5.3.13, URL: /index.php?page=polls&type=view&id=did-everyone-watch-the)
Stack trace…

File -> '/home/rbcjhubc/public_html/sources/failure.php'
 Line -> 693
 Function -> 'die_html_trace'
 Args -> array ( 0 => 'PHP WARNING [2] array_key_exists() expects parameter 2 to be array, null given in sources/zones.php on line 647 (version: 9 beta3, PHP version: 5.3.13, URL: /index.php?page=polls&type=view&id=did-everyone-watch-the)', )

File -> '/home/rbcjhubc/public_html/sources/global2.php'
 Line -> 1012
 Function -> '_fatal_exit'
 Args -> array ( 0 => 'PHP WARNING [2] array_key_exists() expects parameter 2 to be array, null given in sources/zones.php on line 647', )

File -> '/home/rbcjhubc/public_html/sources/failure.php'
 Line -> 220
 Function -> 'fatal_exit'
 Args -> array ( 0 => 'PHP WARNING [2] array_key_exists() expects parameter 2 to be array, null given in sources/zones.php on line 647', )

File -> '/home/rbcjhubc/public_html/sources/global2.php'
 Line -> 875
 Function -> '_ocportal_error_handler'
 Args -> array ( 0 => 'warning', 1 => 2, 2 => 'array_key_exists() expects parameter 2 to be array, null given', 3 => 'sources/zones.php', 4 => 647, )

Function -> 'ocportal_error_handler'
 Args -> array

File -> '/home/rbcjhubc/public_html/sources/zones.php'
 Line -> 647
 Function -> 'array_key_exists'
 Args -> array ( 0 => 'cache', 1 => NULL, )

File -> '/home/rbcjhubc/public_html/site/pages/modules/polls.php'
 Line -> 353
 Function -> 'do_block'
 Args -> array ( 0 => 'main_poll', )

File -> '/home/rbcjhubc/public_html/site/pages/modules/polls.php'
 Line -> 250
 Function -> 'view'
 Class -> 'Module_polls'
 Object -> Module_polls::__set_state(array( ))
 Type -> '->'
 Args -> array ( )

File -> '/home/rbcjhubc/public_html/sources/zones.php'
 Line -> 425
 Function -> 'run'
 Class -> 'Module_polls'
 Object -> Module_polls::__set_state(array( ))
 Type -> '->'
 Args -> array ( )

File -> '/home/rbcjhubc/public_html/sources/site.php'
 Line -> 838
 Function -> 'load_module_page'
 Args -> array ( 0 => 'site/pages/modules/polls.php', 1 => 'polls', )

File -> '/home/rbcjhubc/public_html/sources/site.php'
 Line -> 629
 Function -> 'request_page'
 Args -> array ( 0 => 'polls', 1 => true, )

File -> '/home/rbcjhubc/public_html/index.php'
 Line -> 97
 Function -> 'do_site'
 Args -> array ( )

In addition, using either browser, you cannot vote. You select the appropriate answer, click "Vote" and nothing happens other than the radio boxes are all false value.

Be gentle, I'm new to this :)
Back to the top
 
Posted
Item has a rating of 5 (Liked by RoyBoy)  
Rating:
#89414
Avatar

ocStaff (admin)

This should be fixed now, I think it may be v9-gold that fixed it. The bug also affected v8.1.3 I think.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#89423
Avatar

Community saint

Chris Graham said

This should be fixed now, I think it may be v9-gold that fixed it. The bug also affected v8.1.3 I think.

Is there a fix for v8.1.3?

Steve

Back to the top
 
Posted
Rating:
#89425
Avatar

ocStaff (admin)




Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#89426
Avatar

Community saint

Thanks, Chris.

Looking in the tracker for the fix, that one jumped out at me a few times, but I ignored it.  :lol:

Steve

Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: