• Resolved New_WP

    (@baxter89)


    Hello,
    I use ACF with Fluentsnippets, I create my PHP code using Content PHP + HTML in my articles.
    The PHP code used:

    <?php
    $reference = get_field('reference');
    	if( $reference ): ?>
    <p><b>Ref. :</b> <?php the_field('reference');?></p>
    <?php endif; ?>

    I get the following error when I go to my article page, to insert the code I use Shortcode:

    Warning: Undefined array key ‘condition’ in /var/www/clients/client2/web41/web/wp-content/plugins/easy-code-manager/app/Hooks/Handlers/CodeHandler.php on line 96

    WP 6.4.2 Theme: Ollie and tested with Twenty Twenty-Four

    THANK YOU

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Shahjahan Jewel

    (@techjewel)

    I got the issue. In the snippet just enable and disable the condition once and it will work fine. In the next version, we will fix the issue.

    Thread Starter New_WP

    (@baxter89)

    THANK YOU

    Thread Starter New_WP

    (@baxter89)

    I have activated and deactivated the conditions, it does not work?
    https://snipboard.io/Bg0Uql.jpg

    Thread Starter New_WP

    (@baxter89)

    Warning: Undefined array key “condition” in /var/www/clients/client2/web41/web/wp-content/plugins/easy-code-manager/app/Hooks/Handlers/CodeHandler.php on line 97

    Warning: Undefined array key “condition” in /var/www/clients/client2/web41/web/wp-content/plugins/easy-code-manager/app/Hooks/Handlers/CodeHandler.php on line 97

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Undefined array key ‘condition’’ is closed to new replies.