• Resolved andrewintw

    (@andrewintw)


    I got email notify from WordPress. Here is the message: (hide my site URL).

    —email start

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Code Snippets.

    First, visit your website and check for any visible issues. Next, visit the page where the error was caught (https://mysite.com/wp-admin/admin.php?page=add-snippet) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    https://mysite.com/?action=enter_recovery_mode&rm_token=xxx&rm_key=ooo

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.0
    Active theme: Twenty Twenty-One (version 1.6)
    Current plugin: Code Snippets (version 3.1.1)
    PHP version 7.4.28

    Error Details
    =============
    An error of type E_PARSE was caused in line 7 of the file /home/mysite/public_html/wp-content/plugins/code-snippets/php/admin-menus/class-edit-menu.php(248) : eval()’d code. Error message: syntax error, unexpected ‘public’ (T_PUBLIC), expecting end of file

    —email end

    Should i worry about it?

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

    (@bungeshea)

    This is an error coming from one of your snippets. You should be narrow down which one by searching for public @line:7. Feel free to post the code here if you’d like help debugging.

Viewing 1 replies (of 1 total)
  • The topic ‘Got fatal error notify from WordPress.’ is closed to new replies.