Title: Fatal error warning about shortcode-handler.php file
Last modified: May 15, 2024

---

# Fatal error warning about shortcode-handler.php file

 *  [Ash Whitney](https://wordpress.org/support/users/ashwhitney/)
 * (@ashwhitney)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-warning-about-shortcode-handler-php-file/)
 * 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.3Current 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)

 *  [anjalixyzscripts](https://wordpress.org/support/users/anjali94/)
 * (@anjali94)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-warning-about-shortcode-handler-php-file/#post-17759447)
 * 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](https://wordpress.org/support/users/ashwhitney/)
 * (@ashwhitney)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-warning-about-shortcode-handler-php-file/#post-17759546)
 * 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.

 * ![](https://ps.w.org/insert-php-code-snippet/assets/icon-128x128.png?rev=1800967)
 * [Insert PHP Code Snippet](https://wordpress.org/plugins/insert-php-code-snippet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php-code-snippet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php-code-snippet/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php-code-snippet/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Ash Whitney](https://wordpress.org/support/users/ashwhitney/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/fatal-error-warning-about-shortcode-handler-php-file/#post-17759546)
 * Status: not resolved