Title: Christian Kormos's Replies | WordPress.org

---

# Christian Kormos

  [  ](https://wordpress.org/support/users/darkchris/)

 *   [Profile](https://wordpress.org/support/users/darkchris/)
 *   [Topics Started](https://wordpress.org/support/users/darkchris/topics/)
 *   [Replies Created](https://wordpress.org/support/users/darkchris/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/darkchris/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/darkchris/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/darkchris/engagements/)
 *   [Favorites](https://wordpress.org/support/users/darkchris/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 38 total)

1 [2](https://wordpress.org/support/users/darkchris/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/darkchris/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/darkchris/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPSyncSheets For Contact Form 7 - CF7 Google Sheets Connector & Save to Database] Error on dashboard](https://wordpress.org/support/topic/error-on-dashboard-11/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [12 months ago](https://wordpress.org/support/topic/error-on-dashboard-11/#post-18595709)
 * **Dear Arpit G Shah,**
   Thank you for your support. It’s resolved now.Have a great
   day!_Krisztian_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPSyncSheets For Contact Form 7 - CF7 Google Sheets Connector & Save to Database] Error on dashboard](https://wordpress.org/support/topic/error-on-dashboard-11/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [12 months ago](https://wordpress.org/support/topic/error-on-dashboard-11/#post-18595077)
 * **Hey Arpit G Shah,**
   Thank you for your fast response!Try with PHP 8.2+ and 
   it’ll appear for sure.**Kind regards,**_Krisztian_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] WC 8.5.0 issue : wocommerce/notices template files has no effect](https://wordpress.org/support/topic/wordpress-8-5-issue-wocommerce-notices-template-files-has-no-effect/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/wordpress-8-5-issue-wocommerce-notices-template-files-has-no-effect/#post-17335153)
 * **Hi [@anastas10s](https://wordpress.org/support/users/anastas10s/),**
   Yes, it
   was helpful!Thank you for the information and PRs.I’m going to check them.Have
   a great day!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] WC 8.5.0 – Provide ways to remove unwanted scripts](https://wordpress.org/support/topic/wc-8-5-0-provide-ways-to-remove-unwanted-scripts/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/wc-8-5-0-provide-ways-to-remove-unwanted-scripts/#post-17333272)
 * [@popi0](https://wordpress.org/support/users/popi0/) I’m happy to hear that it
   fixed your problem also.
   [@serafinnyc](https://wordpress.org/support/users/serafinnyc/)
   Thanks for your efforts.Have a great day!
    -  This reply was modified 2 years, 7 months ago by [Christian Kormos](https://wordpress.org/support/users/darkchris/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] WC 8.5.0 – Provide ways to remove unwanted scripts](https://wordpress.org/support/topic/wc-8-5-0-provide-ways-to-remove-unwanted-scripts/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/wc-8-5-0-provide-ways-to-remove-unwanted-scripts/#post-17333050)
 * **Resolved.**
   It came from the **WooCommerce > Advanced > Funcitons**.I had to
   uncheck it.
 * ![](https://i0.wp.com/snipboard.io/ukRDKy.jpg?ssl=1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] WC 8.5.0 – Provide ways to remove unwanted scripts](https://wordpress.org/support/topic/wc-8-5-0-provide-ways-to-remove-unwanted-scripts/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/wc-8-5-0-provide-ways-to-remove-unwanted-scripts/#post-17332979)
 * I think we’re not in the same boat.
   Till **WC 8.5.0** we’ve **30+ new scripts**
   thanks to WooCommerce Blocks integration. The code what I mentioned removes them
   by 1 line, but it shows warning after that in the Console for payment methods
   like the basic **bacs**
 * ![](https://i0.wp.com/snipboard.io/Jr9bxR.jpg?ssl=1)
 *     ```wp-block-code
       Payment gateway with handle 'wc-payment-method-bacs' has been deactivated in Cart and Checkout blocks because its dependency 'wc-blocks-registry' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets
       ```
   
 * I reported this to get feedback from the plugin author level member.
   It is something
   with the payment methods and the wc-blocks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] WC 8.5.0 – Provide ways to remove unwanted scripts](https://wordpress.org/support/topic/wc-8-5-0-provide-ways-to-remove-unwanted-scripts/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/wc-8-5-0-provide-ways-to-remove-unwanted-scripts/#post-17332878)
 * Dear [@serafinnyc](https://wordpress.org/support/users/serafinnyc/),
 * Thanks, but my question is related to the new wc-block scripts, and none of the
   above codes.
   I removed successfully, that is not a problem for me, but it gives
   warnings after that, which feels like the core can’t work properly wihout it.
    -  This reply was modified 2 years, 7 months ago by [Christian Kormos](https://wordpress.org/support/users/darkchris/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] WC 8.5.0 issue : wocommerce/notices template files has no effect](https://wordpress.org/support/topic/wordpress-8-5-issue-wocommerce-notices-template-files-has-no-effect/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/wordpress-8-5-issue-wocommerce-notices-template-files-has-no-effect/#post-17332225)
 * **Dear Afzal,**
   Thank you for your answer.I’m not sure it’s related to a fatal
   error, because I’ve no any errors. (debug mode : true). I think it’s something
   behind the plugin’s template hierarchy.I’m still waiting for the deeper answer
   from a plugin author level member like [@barryhughes-1](https://wordpress.org/support/users/barryhughes-1/).
    -  This reply was modified 2 years, 7 months ago by [Christian Kormos](https://wordpress.org/support/users/darkchris/).
    -  This reply was modified 2 years, 7 months ago by [Christian Kormos](https://wordpress.org/support/users/darkchris/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] WC 8.5.0 issue : wocommerce/notices template files has no effect](https://wordpress.org/support/topic/wordpress-8-5-issue-wocommerce-notices-template-files-has-no-effect/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/wordpress-8-5-issue-wocommerce-notices-template-files-has-no-effect/#post-17331326)
 *     ```wp-block-code
       <?php
   
       /**
        * Show info messages
        *
        * woocommerce/notices/notice.php ...
        */
   
       if (!defined('ABSPATH')) {
       	exit;
       }
   
       if (!$notices) {
       	return;
       }
   
       ?>
   
       <?php foreach ($notices as $notice) : ?>
       	<div class="wc-block-components-notice-banner is-info" <?php echo wc_get_notice_data_attr($notice); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 
       															?> role="alert">
       		<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" focusable="false">
       			<path d="M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"></path>
       		</svg>
       		<div class="wc-block-components-notice-banner__content">
       			Where are you?
       			<?php echo 'Where are you?' . wc_kses_notice($notice['notice']); ?>
       		</div>
       	</div>
       <?php endforeach; ?>
       ```
   
 * The **‘Where are you**?’ part does not appear in the info notices or any other
   modifications. It worked before the 8.5.0 release.
    -  This reply was modified 2 years, 7 months ago by [Christian Kormos](https://wordpress.org/support/users/darkchris/).
    -  This reply was modified 2 years, 7 months ago by [Christian Kormos](https://wordpress.org/support/users/darkchris/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] WC 8.5.0 issue : wocommerce/notices template files has no effect](https://wordpress.org/support/topic/wordpress-8-5-issue-wocommerce-notices-template-files-has-no-effect/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/wordpress-8-5-issue-wocommerce-notices-template-files-has-no-effect/#post-17330562)
 * ![](https://i0.wp.com/snipboard.io/MPJeOm.jpg?ssl=1)
 * **Has no effect**
 * ![](https://i0.wp.com/snipboard.io/N4vgqf.jpg?ssl=1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] How to purge ls cache by wp-cron?](https://wordpress.org/support/topic/how-to-purge-ls-cache-by-wp-cron/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/how-to-purge-ls-cache-by-wp-cron/#post-16209039)
 * Our main problem we can’t see the future post in time.
    In our case the future
   post is a custom post type.
 * That’s why we tried to purge litespeed cache, because this action helped to appear
   them.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] How to purge ls cache by wp-cron?](https://wordpress.org/support/topic/how-to-purge-ls-cache-by-wp-cron/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/how-to-purge-ls-cache-by-wp-cron/#post-16207309)
 * Could you provide the code with mine becuase I don’t know what do you mean exactly
   from that commit.
 * Thanks in advance.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] How to purge ls cache by wp-cron?](https://wordpress.org/support/topic/how-to-purge-ls-cache-by-wp-cron/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/how-to-purge-ls-cache-by-wp-cron/#post-16203090)
 * Yes, we’re running it on WP 6.1 already.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] How to purge ls cache by wp-cron?](https://wordpress.org/support/topic/how-to-purge-ls-cache-by-wp-cron/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/how-to-purge-ls-cache-by-wp-cron/#post-16199958)
 * Could you try this code on your own server?
    I use wp control plugin and I can
   run it immediately, but had no affect.
 *     ```
       // Remove srcset
       add_filter('wp_calculate_image_srcset_meta', '__return_false');
   
       // Register a new cron schedule with 86400 seconds interval
       add_filter('cron_schedules', 'add_ligetpost_cron_schedule');
       function add_ligetpost_cron_schedule($schedules)
       {
       	if (!isset($schedules["ligetpost_daily"])) {
       		$schedules['ligetpost_daily'] = array(
       			'interval' => 86400,
       			'display'  => esc_html__('Ligetpost Every Day'),
       		);
       	}
       	return $schedules;
       }
   
       // Schedule our custom job, I am going to set it to execute everyday at 00:00:05 (GMT+8)
       // This timing is to ensure the 1st visitor visit my site will be after a new day based on my promotion behaviour (start date + end date)
       if (!wp_next_scheduled('ligetpost_daily')) {
       	wp_schedule_event(strtotime('00:06:00 Europe/Budapest'), 'ligetpost_daily', 'ligetpost_daily');
       }
   
       // Now let's hook it up with our function
       add_action('ligetpost_daily', 'clear_litespeed_cache');
   
       function clear_litespeed_cache()
       {
       	if (defined('LSCWP_V')) {
       		do_action('litespeed_purge_all');
       	}
       }
       ```
   
    -  This reply was modified 3 years, 8 months ago by [Christian Kormos](https://wordpress.org/support/users/darkchris/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] How to purge ls cache by wp-cron?](https://wordpress.org/support/topic/how-to-purge-ls-cache-by-wp-cron/)
 *  Thread Starter [Christian Kormos](https://wordpress.org/support/users/darkchris/)
 * (@darkchris)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/how-to-purge-ls-cache-by-wp-cron/#post-16199898)
 * We use this plugin:
    [https://www.litespeedtech.com](https://www.litespeedtech.com)
   [https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration](https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration)
 * Are you sure it’s your plugin? : )
    -  This reply was modified 3 years, 8 months ago by [Christian Kormos](https://wordpress.org/support/users/darkchris/).

Viewing 15 replies - 1 through 15 (of 38 total)

1 [2](https://wordpress.org/support/users/darkchris/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/darkchris/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/darkchris/replies/page/2/?output_format=md)