We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG Polls: Controller (v.1.0.6) - Extension cuasing Errors

Development and Programming

theblogstudio's avatar
theblogstudio
90 posts
16 years ago
theblogstudio's avatar theblogstudio

A site i’ve recently added the LG Polls plugin to has be throwing these errors only on the login screen.

Its running EE: 1.6.7 Build: 20090122

Notice: Undefined property: messages in /PATH/cp/cp.home.php on line 259
Notice: Undefined property: methods in /PATH/cp/cp.home.php on line 284
Warning: in_array(): Wrong datatype for second argument in /PATH/cp/cp.home.php on line 284
Notice: Undefined property: methods in /PATH/cp/cp.home.php on line 284
Warning: in_array(): Wrong datatype for second argument in /PATH/cp/cp.home.php on line 284
Notice: Undefined property: methods in /PATH/cp/cp.home.php on line 284
Warning: in_array(): Wrong datatype for second argument in /PATH/cp/cp.home.php on line 284
Notice: Undefined property: methods in /PATH/cp/cp.home.php on line 314
Warning: in_array(): Wrong datatype for second argument in /PATH/cp/cp.home.php on line 314
Notice: Undefined property: methods in /PATH/cp/cp.home.php on line 314
Warning: in_array(): Wrong datatype for second argument in /PATH/cp/cp.home.php on line 314

Any help in identifying the problem would be greatly appreciated.

Moved to Modules: Discussion and Questions by Moderator

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

Have you contacted Leevi directly? In the mean time I’m going to move this.

       
theblogstudio's avatar
theblogstudio
90 posts
16 years ago
theblogstudio's avatar theblogstudio

I have just PM’d him.

       
Nico Smit's avatar
Nico Smit
48 posts
16 years ago
Nico Smit's avatar Nico Smit

There’s also something wrong with the Member ID check. It’s allowing members to vote more then once. The problem lies at line 701 in mod.lg_polls.php:

if($this->settings['log_member_id'] && isset($SESS->sdata['member_id']));

Has to be changed into:

if($this->settings['log_member_id'] && isset($SESS->userdata['member_id']))

My config: EE: 1.6.6 Build: 20081212

       
theblogstudio's avatar
theblogstudio
90 posts
16 years ago
theblogstudio's avatar theblogstudio

No luck over here - same result, with that change… not sure that was meant for me, but i’ve tried it and no change.

       
Nico Smit's avatar
Nico Smit
48 posts
16 years ago
Nico Smit's avatar Nico Smit

Did you checked “Member ID Extra check for member only polls” under Security Settings?

       
theblogstudio's avatar
theblogstudio
90 posts
16 years ago
theblogstudio's avatar theblogstudio

I can’t seem to find that particular menu - could you tell me what the menu path is to that?

Did you checked “Member ID Extra check for member only polls” under Security Settings?
       
Nico Smit's avatar
Nico Smit
48 posts
16 years ago
Nico Smit's avatar Nico Smit
I can’t seem to find that particular menu - could you tell me what the menu path is to that?

CP > Modules > LG Polls > Configuration and then Security

       
theblogstudio's avatar
theblogstudio
90 posts
16 years ago
theblogstudio's avatar theblogstudio
I can’t seem to find that particular menu - could you tell me what the menu path is to that?
CP > Modules > LG Polls > Configuration and then Security

ok, i’ve checked this box, no change in the error message…

       
Nico Smit's avatar
Nico Smit
48 posts
16 years ago
Nico Smit's avatar Nico Smit
ok, i’ve checked this box, no change in the error message…

Sorry but I’m not referring to your error messages, but to another bug in the module (see my first post).

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
16 years ago
Leevi Graham's avatar Leevi Graham

Try turning off the auto-update feature that checks leevigraham.com for a ne version of LG Polls. That should solve your issue.

       
theblogstudio's avatar
theblogstudio
90 posts
16 years ago
theblogstudio's avatar theblogstudio

Hi Leevi, I wasn’t able to find that setting in the LG Polls module, but switching this setting in the Meta Extension causes this:

Warning: Invalid argument supplied for foreach() in /PATH/public_html/PATH/extensions/ext.lg_better_meta.php on line 759

Warning: Cannot modify header information - headers already sent by (output started at /PATH/public_html/PATH/extensions/ext.lg_better_meta.php:759) in /PATH/public_html/PATH/core/core.functions.php on line 296

Also, the error on the control panel page is still coming up…

       
theblogstudio's avatar
theblogstudio
90 posts
16 years ago
theblogstudio's avatar theblogstudio

Ah, i found it in the LG Polls Module configuration…

Still no dice, this is being displayed on the control panel page:

Notice: Undefined property: messages in /PATH/public_html/PATH/cp/cp.home.php on line 259

Notice: Undefined property: methods in /PATH/public_html/PATH/cp/cp.home.php on line 284

Warning: in_array(): Wrong datatype for second argument in /PATH/public_html/PATH/cp/cp.home.php on line 284

Notice: Undefined property: methods in /PATH/public_html/PATH/cp/cp.home.php on line 284

Warning: in_array(): Wrong datatype for second argument in /PATH/public_html/PATH/cp/cp.home.php on line 284

Notice: Undefined property: methods in /PATH/public_html/PATH/cp/cp.home.php on line 284

Warning: in_array(): Wrong datatype for second argument in /PATH/public_html/PATH/cp/cp.home.php on line 284

Notice: Undefined property: methods in /PATH/public_html/PATH/cp/cp.home.php on line 314

Warning: in_array(): Wrong datatype for second argument in /PATH/public_html/PATH/cp/cp.home.php on line 314

Notice: Undefined property: methods in /PATH/public_html/PATH/cp/cp.home.php on line 314

Warning: in_array(): Wrong datatype for second argument in /PATH/public_html/PATH/cp/cp.home.php on line 314
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.