• Resolved bluantinoo

    (@bluantinoo)


    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)
  • Thread Starter bluantinoo

    (@bluantinoo)

    Update: After digging a bit it looks that the notice is generated by Elementor Pro dynamic tags module, so this is not directly related to the Dynamic Conditions plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice when checking on ACF Gallery field’ is closed to new replies.