ryanpluckrose
Forum Replies Created
-
that’s great, we are also experiencing the same issue. looking forward to the updated release
Forum: Plugins
In reply to: [Kadence WooCommerce Email Designer] Can’t change more than one email typeNot quite the same issue but similar
I’ve been using Kadence WooCommerce Email Designer in our multisite setup for a long time and since upgrading to WooCommerce 9x, Kadence has had issues with editing and loading and keeps hitting timeouts.The customer reported their browser crashing and I struggled to replicate but when I open dev tools with the preview open, I did manage to crash it a few times.
2025/09/22 15:37:05 [error] 62492#62492: *1443299 FastCGI sent in stderr: "PHP message: PHP Fatal error: Maximum execution time of 120 seconds exceeded in /www/xxx/public/wp-content/plugins/woocommerce/vendor/sabberworm/php-css-parser/src/CSSList/CSSList.php on line 85" while reading upstream, client: 51.52.45.52, server: xxx.co.uk, request: "POST /xxx/?kt-woomail-preview=1&customize_changeset_uuid=4ca18b3a-d6c6-44af-ac4a-ad3c83e8b56f&customize_theme=ff-theme&customize_messenger_channel=preview-7&customize_autosaved=on HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.1-fpm-xxx.sock:", host: "xxxx", referrer: "https://xxx/wp-admin/customize.php?kt-woomail-customize=1&url=https%3A%2F%xxx%2Fxxx%2F%3Fkt-woomail-preview%3D1"From what I can tell it’s an issue with the block editor and kadence, I think the preview needs to stop trying to inline the css in the preview to stop the overload.
Below are some screenshots from Sentry, our error tool which help with further insights.
https://share.cleanshot.com/hRTDwMys
https://share.cleanshot.com/bkHHFxst
Just wanted to check if this issue is already know, has a work around or has a planned fix before I start making my own solution to get around this.
- Multisite setup. Nothing is globally managed just adding in case it helps, each site manages it’s own content.
- WooCommerce 9.9.5
- Kadence WooCommerce Email Designer 1.5.17
- WordPress 6.8.2
Thanks!
Forum: Fixing WordPress
In reply to: How to add post_meta to a block theme html file?sure!
So while it was the answer I still had to do a workaround to get the actual data.
Below is the full file and I had to do the $_SERVER stuff in each pattern that I needed to get meta data in. I’m hoping there will be a proper way to do this in the near future (unless I’ve missed it).
I’ve yet to try moving it to functions.php and doing the logic there though.
<?php /** * Title: Page Title * Slug: my-theme/page-title * Categories: content * Description: My Page Title * Keywords: content, page title * Block types: core/template-part/page-title */ // todo: Temporary workaround to get $post if (isset($_SERVER['HTTP_HOST'], $_SERVER['REQUEST_URI'])) { $url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; $post_id = url_to_postid($url); $post = get_post($post_id); $meta_hide_page_title = $post ? get_post_meta($post->ID, 'hide_page_title', true) : null; } ?> <?php // Check if page title should be hidden ?> <?php if (isset($meta_hide_page_title) && !$meta_hide_page_title): ?> <!-- wp:post-title {"level":1,"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|xl","bottom":"var:preset|spacing|xl"}}}} /--> <?php endif; ?>Forum: Fixing WordPress
In reply to: How to add post_meta to a block theme html file?Block Patterns were the answer to this question.
https://developer.ww.wp.xz.cn/themes/advanced-topics/block-patterns/Forum: Fixing WordPress
In reply to: How to add post_meta to a block theme html file?it’s a custom theme I’m building but it’s similar to the 2023 theme
Updating wordpress to version 6 fixed this issue
Forum: Plugins
In reply to: [Sales Report Email for WooCommerce] Report changed from Revenue to quantityHow can we get it to show in revenue order again?
- This reply was modified 4 years, 4 months ago by ryanpluckrose.