inboundnow / retired-leads

Track visitor activity, capture and manage incoming leads, and send collected emails to your email service provider for WordPress
http://www.inboundnow.com/leads/
11 stars 3 forks source link

Fixing PHP Errors/Warning on Leads Global Settings page #15

Closed DavidWells closed 11 years ago

DavidWells commented 11 years ago

Hey Hudson,

Noticing a bunch of PHP warnings/errors on settings. Can you clean those up when you get a chance?

Notice: Undefined index: settings in /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php on line 373

Warning: Invalid argument supplied for foreach() in /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php on line 377

Notice: Undefined index: settings in /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php on line 373

Warning: Invalid argument supplied for foreach() in /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php on line 377

Notice: Undefined index: settings in /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php on line 352

Warning: Invalid argument supplied for foreach() in /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php on line 151

Notice: Undefined index: settings in /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php on line 352

Warning: Invalid argument supplied for foreach() in /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php on line 151```
atwellpub commented 11 years ago

Hey David

Is this issue still happening on local?

I'm having trouble replicating.

DavidWells commented 11 years ago

With wp_debug on I see:

Notice: Undefined index: settings in * /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php

Warning: Invalid argument supplied for foreach() in * /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php

Notice: Undefined index: settings in * /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php

Warning: Invalid argument supplied for foreach() in * /Users/davidgregorywells/Dropbox/Sites/Local-Dev/wp-content/plugins/leads/modules/wpl.m.global-settings.php

On Tue, Oct 29, 2013 at 8:04 AM, atwellpub notifications@github.com wrote:

Hey David

Is this issue still happening on local?

I'm having trouble replicating.

— Reply to this email directly or view it on GitHubhttps://github.com/inboundnow/leads/issues/15#issuecomment-27310611 .

atwellpub commented 11 years ago

Found it, fix pushed.