• Hello

    I’d be grateful if anyone has a solution to the following email I received about a fatal error with the plugin please.

    WordPress has 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, Insert PHP Code Snippet.

    WordPress version 6.5.3
    Current plugin: Insert PHP Code Snippet (version 1.3.5)
    PHP version 8.1.28 Error Details

    An error of type E_PARSE was caused in line 8 of the file …/public_html/wp-content/plugins/insert-php-code-snippet/shortcode-handler.php(100) : eval()’d code. Error message: syntax error, unexpected token “||”

    Thank you for your time.
    Regards, Ash Whitney

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    Could you please check the snippet code?
    It seems that one of your PHP code snippets has a misplaced “||”.
    Please review it and let us know.

    Thanks and Regards,
    Anjali

    Thread Starter Ash Whitney

    (@ashwhitney)

    Hello Anjali

    Thank you for your prompt response and advice. I found some incorrect code in one of the snippets we’d added to the site as you suggested.

    Kind Regards, Ash

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error warning about shortcode-handler.php file’ is closed to new replies.