Support

Account

Home Forums General Issues Flexible content Inception Reply To: Flexible content Inception

  • A bit of informations:
    I’ve set two error_log on my code. The first one gives me the ID of the shortcode, the second, it’s ‘acf_fc_layout’ name.

    # Without [taz_features id=”4″] inside my carousel slide content: All is fine

    [06-Dec-2017 20:05:12 UTC] 1
    [06-Dec-2017 20:05:12 UTC] before_after
    [06-Dec-2017 20:05:12 UTC] 5
    [06-Dec-2017 20:05:12 UTC] carousel

    # With [taz_features id=”4″] inside my carousel slide content: Infinite loop?
    Note that the second error_log never passes…

    [06-Dec-2017 20:06:09 UTC] 1
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    [06-Dec-2017 20:06:09 UTC] 4
    […]

    Here’s the part of the code where I do those error_log

    $shortcodeID	= (int)$a['id'];
    error_log($shortcodeID);
    $rowData	= taz_get_field_data($shortcodeID);
    error_log($rowData['acf_fc_layout']);