Viewing 9 replies - 1 through 9 (of 9 total)
  • adventurequalifications

    (@adventurequalifications)

    Since updating I get this error so not sure what is going on…

    [21-Nov-2017 21:59:29 UTC] PHP Parse error: syntax error, unexpected ‘<‘ in /home/hosting/public_html/resource/wp-content/plugins/code-snippets/php/snippet-ops.php(433) : eval()’d code on line 1

    Thread Starter Bjarne Oldrup

    (@oldrup)

    Are you sure your snippet is ok? I just updated a few sites with “Code Snippets” to WP 4.9 – didn’t get any error…

    Hello!

    I wonder if there is any known compatibility issue between the Code Snippets plugin and the WordPress 4.9.1. I’m trying to run a Facebook script as I usually did before, but now I get the WP syntax error message:

    — The snippet has been deactivated due to an error on line 1: syntax error, unexpected ‘<‘

    Thanks for any help.

    Plugin Author Shea Bunge

    (@bungeshea)

    Hey @wisleyv,

    It looks like this error message is coming from the snippet code itself, not the plugin.

    Are you able to post the code you’re using here (or at least the first part of it)? If I’m able to see what it is I might be able to work out what’s going wrong.

    Plugin Author Shea Bunge

    (@bungeshea)

    To answer the original question, the plugin has been tested as compatible with WordPress 4.9.1, and I am just about to update the plugin page to reflect this.

    Thank you for checking.

    Hello @bungeshea,

    Thanks for answering my message.

    The snippet code I was trying to add with your plugin was taken from Facebook Developers page. It was pasted as plain text inside the Snippet Code editor.

    I just saw your update for the Code Snippet plugin is available. After updating the plugin the error is gone. Thank you very much!

    Cheers!

    Plugin Author Shea Bunge

    (@bungeshea)

    Great to hear @wisleyv!

    Hello I’m trying to run a snippet on my website from Omnisend a automated email responder provider and I’m getting the same error message also that say The snippet has been deactivated due to an error on line 1:

    syntax error, unexpected ‘<‘

    Plugin Author Shea Bunge

    (@bungeshea)

    Hi yusef777,

    It looks like you might be trying to use a HTML snippet. This plugin only supports pure PHP or mixed PHP and HTML snippets – it’s quite possible that you need to wrap your code with some sort of action or filter hook to allow it to integrate with WordPress.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘WordPress 4.9 compatible?’ is closed to new replies.