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

    (@gripgrip)

    Hi @chaomancer,

    Thank you for your feedback!

    I tried copy-pasting the snippet from the page you indicated and I can activate the snippet OK in WPCode.

    Did you use the import tool in WPCode or manually copy-pasted the snippet?

    Did you get a chance to update to version 2.0.1 of WPCode? We made an improvement to how the code is saved that might influence parts of this large snippet.

    Thanks,
    Mircea

    Thread Starter chaomancer

    (@chaomancer)

    Thanks for the help, Mircea!

    I have updated WPCode to 2.0.1 and that’s made no difference.

    I imported the snippet from Code Snippets with the import tool – but while it reported success, the snippet didn’t appear in WPCode. Importing it as a JSON file worked, but trying to activate the snippet got the error above. The same with copy/pasting the code.

    Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @chaomancer,

    Can you please try importing or copy/pasting the code again after updating to 2.0.1? That should allow you to run it properly.

    If you already saved the snippet once before the update the code has been altered and you have to add it again with the new version of the plugin.

    I’m sorry about the inconvenience here.

    Mircea

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘php snippet error’ is closed to new replies.