• Resolved akgt

    (@akgt)


    I was wondering if this plugin had error support ? when creating code snippets, if I have any error on any line, another code snippets another plugin show the error this plugin does not. or does it ?

    • This topic was modified 3 months, 2 weeks ago by akgt.
Viewing 1 replies (of 1 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @akgt,

    WPCode has built in error support with error logging and it also catches errors at runtime and displays them to you in the admin.

    WPCode also includes automatic snippet deactivation if a snippet throws an error in the admin that could potentially prevent you from accessing the admin in order to allow you to always access your admin area.

    What may be happening in your case is that you are running into an error that PHP is able to catch before it happens and in that case in certain scenarios and PHP versions you might not directly see the error.

    We do an extra check when the snippet is activated as opposed to when you save it without activating it.

    You can learn more about how WPCode handles PHP errors in these articles:

    https://wpcode.com/docs/php-error-handling-safe-mode/
    https://wpcode.com/docs/how-to-debug-php-errors-in-wpcode/

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.