• Resolved digitalbolt

    (@digitalboltwebdesign)


    I built a custom form using Vue.js CDN where In the html I can write template code like this.

    </div>
            <strong>{{name}}</strong>
          </div>

    The issue is I think because I am using none recognized PHP I get errors trying to get the html to render is there a way to separate HTML+PHP so it’s not combined in the plugin or is there a way to tell the plugin to ignore unrecognizable php code. For me to get my form to work I have to use WPCode to render the HTML because it allows to use separate code snippets just for HTML only. When I try to use Fluent Snippets I get error

    Parse error: syntax error, unexpected 'version' (T_STRING) in /fluent-snippet-storage/25-test-form-html.php on line 221
    
    Fatal error: Exception thrown without a stack frame in Unknown on line 0
Viewing 1 replies (of 1 total)
  • Plugin Support Ruman Ahmed

    (@algorithmsunlocks)

    Hello @digitalboltwebdesign,

    Apologies for the delayed response, and thank you for providing the information. At present, within a PHP+HTML snippet, there is no default option to ignore unrecognized PHP code. Additionally, FluentSnippets does not offer a separate option solely for HTML code snippets, as you may have noticed.

    Furthermore, I have notified our team to conduct an investigation for potential enhancements.

    Best regards,
    Ruman Ahmed

Viewing 1 replies (of 1 total)

The topic ‘Using none PHP code in HTML+PHP Cause Error’ is closed to new replies.