• Hello.

    I currently have the problem that your plugin shows critical errors in the logs. Now I ask myself the question, is it the plugin or one or more snippets.

    fatal-errors-2021-05-18-2fa69e748914be58b053d23bd8478cea.log

    2021-05-18T12:39:12+00:00 CRITICAL Cannot redeclare shopalert_ueber_header() (previously declared in .../plugins/code-snippetss/php/snippet-ops.php(361) : eval()'d code:5) in .../plugins/code-snippetss/php/admin-menus/class-edit-menu.php(213) : eval()'d code in Zeile 4

    The main problem is, I want to update the plugin “Woocommerce Admin”. But after the update my website shows a critical error. Now I need to know where the problem is.

    Can you help me further?

    • This topic was modified 3 years, 10 months ago by fwkart.
Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hi @fwkart,

    The error comes from one of your snippets – it looks like you are using the same function name twice.

    The particular error you show is one that occured when testing out the snippet while you were editing and saving it, so it should not be persisting and causing your website to display errors.

    It sounds like the error that occurred when updating Woocommerce Admin comes from an incompatibility between that plugin and your site, and is not related to Code Snippets. If you are able to share the specific critical error message here, that might provide more information.

Viewing 1 replies (of 1 total)
  • The topic ‘Critical errors in logs’ is closed to new replies.