EzPortal - Portal Software for Forums

EzPortal Forums => Support => Topic started by: Shades on February 01, 2022, 12:01:10 pm

Title: Undefined index: guest_vote
Post by: Shades on February 01, 2022, 12:01:10 pm
I swear all I did was change the color from #ccf to #ff9000 lol! ;D

I get this error 4 times in admin per guest visit. :o

Quote
Error
Type of error
Undefined_vars
Error message
8: Undefined index: guest_vote
File
/home2/*****/public_html/*****/Sources/Subs-EzPortalMain2.php
Line
1204
URL of page causing the error
https://*****.com/index.php?

Backtrace information
#0: smf_error_handler()
Called from /home2/*****/public_html/*****/Sources/Subs-EzPortalMain2.php on line 1204
#1: EzBlockPollBlock()
Called from /home2/*****/public_html/*****/Themes/default/EzPortal2.1.template.php on line 1749
#2: ShowEzBlocks()
Called from /home2/*****/public_html/*****/Themes/default/EzPortal2.1.template.php on line 1796
#3: template_ezblock_below()
Called from /home2/*****/public_html/*****/Sources/Load.php on line 2811
#4: loadSubTemplate()
Called from /home2/*****/public_html/*****/Sources/Subs.php on line 4690
#5: template_footer()
Called from /home2/*****/public_html/*****/Sources/Subs.php on line 4179
#6: obExit()
Called from /home2/*****/public_html/*****/index.php on line 190
Title: Re: Undefined index: guest_vote
Post by: EzPortal on February 01, 2022, 12:14:04 pm
It's a bug
Line 1180 same file /Sources/Subs-EzPortalMain2.php
Find
Code: [Select]
p.id_poll, p.question,
Add after
Code: [Select]
p.guest_vote,
Title: Re: Undefined index: guest_vote
Post by: Shades on February 01, 2022, 12:26:03 pm
Thank you! 8)