PHP Notice when checking on ACF Gallery field
-
Hello,
I need to hide a widget if ACF gallery has no images.
I set the condition to hide the widget if the ACF gallery field is empty.It is working, but the debug.log is filling with a lot of notices.
Undefined offset: 0 in /wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-gallery.php on line 36 Undefined offset: 1 in /wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/tags/acf-gallery.php on line 36
it is not a big deal, but the debug log is becoming huge in a very short time.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Notice when checking on ACF Gallery field’ is closed to new replies.