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
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
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…
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
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.