Woocommerce “Request a Quote” Plugin “Undefined Variable Error” after Submit


I am receiving a few error messages after I submit a quote. Everything works fine, the quote goes through and I receive the email, but I am left with these errors on the success page:

Notice: Undefined variable: field2_field_array in /wp-content/plugins/woocommerce-request-a-quote/front/class-afrfq-front.php on line 1761

Warning: Invalid argument supplied for foreach() in /wp-content/plugins/woocommerce-request-a-quote/front/class-afrfq-front.php on line 1477

I’m pretty sure it has something to do with the second argument in this:

$field7_field_key = $this->searchForId('afrfq_field7_field', $field2_field_array);

Can someone please help me understand why this second argument would give me an error?

, 09eric09 3 years 2020-06-01T12:10:21-05:00 0 Answers 89 views 0

Leave an answer