Open bobbingwide opened 3 months ago
I reproduced the problem locally with the product called test.
[27-Jun-2024 09:29:33 UTC] PHP Warning: foreach() argument must be of type array|object, false given in C:\apache\htdocs\wordpress\wp-content\themes\vgc\inc\custom-woo-functions.php on line 900
slightly different line number due to other changes.
gardenvista.co.uk [Sun Jun 23 17:08:19 2024] [error] [client 82.40.162.9:0] AH01071: Got error 'PHP message: PHP Warning: Invalid argument supplied for foreach() in /home/virtual/vps-80b8a0/c/cc08f9a078/public_html/wp-content/themes/vgc/inc/custom-woo-functions.php on line 896'
This Warning is coming from
vgc_option_select()
when$option['options']
isn't set.