Title: Bug &#8211; critical error when certain code is used
Last modified: June 4, 2026

---

# Bug – critical error when certain code is used

 *  [p1c2d3](https://wordpress.org/support/users/postcd/)
 * (@postcd)
 * [4 days, 12 hours ago](https://wordpress.org/support/topic/bug-critical-error-when-certain-code-is-used/)
 *     ```wp-block-code
       fluent-snippet-storage]$ cat _*.php<?php// <Internal Doc Start>/*** @description: * @tags: * @group: * @name: Disable Google font download* @type: PHP* @status: published* @created_by: 1* @created_at: 2026-06-04 07:55:43* @updated_at: 2026-06-04 07:55:50* @is_valid: 1* @updated_by: 1* @priority: 10* @run_at: all* @load_as_file: * @load_in_block_editor: * @condition: {"status":"no","run_if":"assertive","items":[[]]}*/?><?php if (!defined("ABSPATH")) { return;} // <Internal Doc End> ?><?phpfunction project_dequeue_unnecessary_styles() {    wp_dequeue_style( 'google-fonts' );    wp_deregister_style( 'google-fonts' );}add_action( 'wp_print_styles', 'project_dequeue_unnecessary_styles' );<?php// <Internal Doc Start>/*** @description: * @tags: * @group: * @name: No google fonts* @type: PHP* @status: published* @created_by: 1* @created_at: 2026-06-04 07:58:27* @updated_at: 2026-06-04 07:58:33* @is_valid: 1* @updated_by: 1* @priority: 10* @run_at: all* @load_as_file: * @load_in_block_editor: * @condition: {"status":"no","run_if":"assertive","items":[[]]}*/?><?php if (!defined("ABSPATH")) { return;} // <Internal Doc End> ?><?phpfunction project_dequeue_unnecessary_styles() {    wp_dequeue_style( 'google-fonts' );    wp_deregister_style( 'google-fonts' );}add_action( 'wp_print_styles', 'project_dequeue_unnecessary_styles' );
       ```
   
 * When i have two above snippets active at same time, WP-admin returns “There has
   been a critical error on this website.” can such issue be prevented, preventing
   submission etc. so one does not spend time finding out which plugin and which
   setting causing this.
 * plugin version 10.53, WP 7, PHP 8.4

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbug-critical-error-when-certain-code-is-used%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/easy-code-manager/assets/icon.svg?rev=3011466)
 * [FluentSnippets - The High-Performance file based Custom Code Snippets Plugin](https://wordpress.org/plugins/easy-code-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-code-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-code-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-code-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-code-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-code-manager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [p1c2d3](https://wordpress.org/support/users/postcd/)
 * Last activity: [4 days, 12 hours ago](https://wordpress.org/support/topic/bug-critical-error-when-certain-code-is-used/)
 * Status: not resolved