• Resolved estereofonico

    (@estereofonico)


    I’m new in this plugin but I’ve have done a lot of work with other plugins. When I try to publish a new class to create a new widget, I get this error: syntax error, unexpected token /

    For my surprise the / was added by the wpcode. The error gets funny after the input and adds a / on every line with this model of code.

    <input id="<?php echo $this-/>get_field_id( 'title' ); ?>"

    How can I fix this?

Viewing 1 replies (of 1 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @estereofonico,

    Can you please confirm that you are using the latest version of the plugin (2.0.12)? We had some issues in older versions with code getting escaped when it shouldn’t.

    If you are using the latest version, can you please share more of the code which generates this issue? With a simple version of what you shared above we are not able to replicate it.

    If you want to share the code privately please use the form at https://wpcode.com/contact to reach out to our support.

Viewing 1 replies (of 1 total)
  • The topic ‘syntax error, unexpected token /’ is closed to new replies.