• Resolved otso

    (@otso)


    Hi

    I have this on my site:
    <?php echo do_shortcode(“[wpforms id=”152″ title=”false” description=”false”]”); ?>

    And it gives this:
    Parse error: syntax error, unexpected ‘152’ (T_LNUMBER)

    Why is that?

Viewing 1 replies (of 1 total)
  • Plugin Support Ethan Choi

    (@ethanchoi)

    Hi otso,

    It looks like there is an error with the quotation marks used, and changing the double quotes used on the outside to single quotes should resolve the issue:
    <?php echo do_shortcode('[wpforms id="152″ title="false" description="false"]'); ?>

    I hope this helps 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Parse error’ is closed to new replies.