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_access throwing ’undefined variable’ error

Development and Programming

mmcclung's avatar
mmcclung
172 posts
17 years ago
mmcclung's avatar mmcclung

Has anybody run into an error using the LG_access plugin?

Trying to use it at the top of a template yields:

Notice: Undefined variable: IN in /usr/www/users/poc/mysite.com/system/plugins/pi.lg_access.php on line 89

Notice: Trying to get property of non-object in /usr/www/users/poc/mysite.com/system/plugins/pi.lg_access.php on line 89

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/poc/mysite.com/system/plugins/pi.lg_access.php:89) in /usr/www/users/poc/mysite.com/system/core/core.functions.php on line 296

A quick review of line 89 finds

($IN->blacklisted == 'y' && $IN->whitelisted == 'n')

I’m tempted to try commenting out that block, but has anyone had the same experience?

ExpressionEngine 1.6.3 - 20080319

Moderators note: Moved to the Plugin forums.

       

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.