Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
undefined variable being referenced on entry confirmation page. #615
When I add an entry I receive the following notices on the page i am redirected too.
Notice: Undefined variable: judgeLikesModals in /home/whelanp/public_html/sections/brewer_info.sec.php on line 551
Notice: Undefined variable: judgeDislikesModals in /home/whelanp/public_html/sections/brewer_info.sec.php on line 552
I'm trying to track down the issues reported and figure out the causes. I've backed out the 2.1.1 release and am trying to help out as much as possible. Obviously, there was an issue with updating that didn't surface during testing before release.
For the OP, it looks like you've got error reporting turned on for php notices. The notices do not impede the processing of the scripts, but can be annoying when displayed on the resulting page. To turn off error reporting, edit the paths.php file. Comment out line 42 and "uncomment" line 41:
Please keep in mind, it's free software that I try to support mostly on my own. There was an issue introduced in 2.1.1 that I was unaware of and am taking time away from my work day today to try to track it down.
@joeleaux, please check your email for a message entitled "BCOE&M Update" from firstname.lastname@example.org and reply directly to that with your webserver login credentials. Please do not post them here!