Function VDDD – What is it ???
-
Hi.
Could you please explain the purpose of a suspicious vddd() function in ConditionAssesor.php ?
public static function evaluate($conditionGroup, $inputs) { $hasConditionMet = true; $conditionals = Arr::get($conditionGroup, 'conditions'); if ($conditionals) { $toMatch = Arr::get($conditionGroup, 'match_type'); foreach ($conditionals as $conditional) { $hasConditionMet = static::assess($conditional, $inputs); if(!$hasConditionMet) { vddd([$hasConditionMet, $conditional, $inputs]); } if($hasConditionMet && $toMatch == 'match_any') { return true; } if ($toMatch === 'match_all' && !$hasConditionMet) { return false; } } } return $hasConditionMet; }
Because it breaks WP with the following error:
( ! ) Fatal error: Uncaught Error: Call to undefined function FluentCrm\Includes\Helpers\vddd() in …/wp-content/plugins/fluent-crm/includes/Helpers/ConditionAssesor.php on line 34
Thanks in advance.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Function VDDD – What is it ???’ is closed to new replies.