• I’m attempting to install the pre-made snippet “Display the Last Updated Date” into my site, but it will not activate. The error log says:

    syntax error, unexpected token “;”

    The page I need help with: [log in to see the link]

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

    (@gripgrip)

    Hi @roadsider,

    Can you please check that this error is not originating from another snippet that you have active?

    Sometimes, due to the way dynamic snippets are executed in WPCode other snippets can interfere. Can you please try activating the “Display the Last Updated Date” snippet without any other snippet active? That way we can confirm. I checked the snippet again now on our end to make sure.

    Thread Starter roadsider

    (@roadsider)

    I had just installed the plugin only to install this one snippet. There are no other snippets.

    Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @roadsider,

    I see, that is weird. I tested the code in multiple environments again and the only thing I can think of that could cause that is if the snippet has been somehow altered during the import/activation.

    Would it be possible to share a screenshot of the Code Preview area in your site to see if we can spot what may be causing this?

    Alternatively, please reach out using the form at https://wpcode.com/contact

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Provided Code Snippet won’t activate’ is closed to new replies.