• Resolved josegonzalezltd

    (@josegonzalezltd)


    Hi,

    every time I activate the plugin it crashes the blog with an unexpected ‘<‘ at end of file /code-snippets/php/snippet-ops.php(352) ” eval()’d code on line 1

    I’m wondering if anyone has any idea how to troubleshoot this.

    Btw: I’ve used snippets on other sites before and it’s a great plugin

    Thanks for any advice

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hey,

    It looks like this is due to a syntax issue in one of your active snippets.

    I’d recommend enabling safe mode before reactivating the plugin, and then deactivating all of your active snippets before disabling safe mode.

    Once you’ve identified what code is causing the trouble, if you want to share it here I’d be happy to help debug it.

    Hello,
    I have the same problem!
    How can I find out which snippet is causing the problem?
    I have 30 snippets activated and 27 snippets disabled.
    Thank you

    Plugin Author Shea Bunge

    (@bungeshea)

    Hi @nerealonela,

    Unfortunately, there’s no way of getting the name of the snippet causing the issue, but the error message usually includes some sort of direction of which snippet it might be.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Snippets plugin crashes blog on activation (err msg /snippet-ops.php file’ is closed to new replies.