Closed DavidWells closed 8 years ago
Another Leads class call from within pro. When leads disabled fatals appears
Fatal error: Class 'Leads_Field_Map' not found in /Users/davidwells/Dropbox/Sites/WP.dev/wp-content/plugins/_inbound-pro/classes/admin/class.lead-field-mapping.php on line 29
are you 1. 0.6 in pro? *looking over the issue one other question is in your settings area do you have the leads plugin disabled (turned off)?
Yes I disabled leads from inbound-pro settings. This is what caused the fatal
On Sun, Dec 13, 2015 at 9:01 PM, Hudson Atwell notifications@github.com wrote:
are you 1. 0.6 in pro? *looking over the issue one other question is in your settings area do you have the leads plugin disabled (turned off)?
— Reply to this email directly or view it on GitHub https://github.com/inboundnow/inbound-pro/issues/130#issuecomment-164343143 .
I am having a hard time repeating the error. Are you on the master branch or dev branch?
I notice you're committing to the master branch so I'm thinking the issues are with you working with the master branch and not the dev. The master is way behind. I'm about to update it though.
These are both pulled from shared and should not disappear if leads is disabled.
Ok I updated master and it does not seem to be an issue on either branch. The changes to Inbound Automation were reverted too so there is no conditional. Changes to Inbound Automation have to be made to the stand alone repository to stay in.
This is an error when pro is activated and leads gets toggled off from settings.
We need to make sure that any code that relies on one of these core classes are wrapped in conditionals to make sure we don't fatal error peoples sites
Fatal error: Class 'Inbound_Leads' not found in /Users/davidwells/Dropbox/Sites/WP.dev/wp-content/plugins/_inbound-pro/core/inbound-automation/definitions/action.send_email.php on line 23