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

    (@bungeshea)

    Unfortunately, there is no automatic detection. If you do end up activating a snippet that breaks your site, you can enable safe mode.

    Plugin Author Shea Bunge

    (@bungeshea)

    I’m planning on adding error detection when saving a snippet in the next version.

    Thread Starter ocisutiocean

    (@ocisutiocean)

    Hehe, good to know. Your plugin is nice organized so automatic detection is simply a ‘must’. Atm I am using My Custom Functions plugin because it has this function, but sometimes it fails in detecting. So I was looking more secure solution and came acros your plugin.

    Safe mode is ultimate solution and it is good to have that one. With a combination of safe mode + automatic detection your plugin would be win.

    Plugin Author Shea Bunge

    (@bungeshea)

    I’ve just released version 2.5.0, which includes the error detection. I have been puzzling over how to implement it for a while now, as lots of people have requested it.

    What I was doing wrong was trying to detect errors when the snippets are *executed*, which doesn’t really work, when I should have been checking the code for errors before the snippet is saved to the database.

    Thread Starter ocisutiocean

    (@ocisutiocean)

    Nice, I will test it out tommorow or later today.
    Will report some feed back.

    regarding to this error detection, you should make it work as much similar as you can with My custom functions plugin.

    Plugin Author Shea Bunge

    (@bungeshea)

    Sure, I’ll have a look at it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Failsafe’ is closed to new replies.