mcdeth
Forum Replies Created
-
Forum: Plugins
In reply to: [Pixel Cat - Conversion Pixel Manager] wpml – multiple pixelsHi, thanks for prompt reply. pixelyoursite has this feature, so it’s definitively possible. in fact when you think about it, its quite simple in terms of php, wpml allows to check whats current language.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] spawn sync 4k requestsAlright, thanks a lot for detailed help!
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] spawn sync 4k requestsHi, the site URL of my client is whybaby.pl. During these API calls, I noticed messages about a database upgrade and thumbnail regeneration. I’m not sure why it forced the regeneration of thumbnails, especially since none of the “force regenerate thumbnails” plugins were active at the time.
Forum: Plugins
In reply to: [Klarna Order Management for WooCommerce] errorHello, there are 2 shops on this server and error shows up only on one of them, only on product pages, for example https://whybaby.pl/djeco-pilka-gumowa-sawanna-sr-22cm/
Forum: Plugins
In reply to: [Klarna Order Management for WooCommerce] errorHi, I checked just now. Current version is 3.6.1. I also enabled logs a second ago to confirm and the bug still persists.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] spawn sync 4k requestsDisabling cron for an hour
define('DISABLE_WP_CRON', true);didn’t bring any help
I also get a lot of these in logs:
[29-Aug-2024 13:12:56 UTC] PHP Fatal error: Uncaught TypeError: Automattic\WooCommerce\Utilities\ArrayUtil::get_value_or_default(): Argument #1 ($items) must be of type array, int given, called in /home/public_html/wp-content/plugins/woocommerce/src/Internal/Features/FeaturesController.php on line 935 and defined in /home/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php:95
Stack trace:
#0 /home/public_html/wp-content/plugins/woocommerce/src/Internal/Features/FeaturesController.php(935): Automattic\WooCommerce\Utilities\ArrayUtil::get_value_or_default()
#1 /home/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Features\FeaturesController->filter_plugins_list()
#2 /home/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/class-functions.php(453): apply_filters()
#4 [internal function]: Automattic\Jetpack\Sync\Functions::get_plugins()
#5 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/modules/class-callables.php(257): call_user_func()
#6 [internal function]: Automattic\Jetpack\Sync\Modules\Callables->get_callable()
#7 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/modules/class-callables.php(240): array_map()
#8 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/modules/class-callables.php(481): Automattic\Jetpack\Sync\Modules\Callables->get_all_callables()
#9 /home/public_html/wp-includes/class-wp-hook.php(324): Automattic\Jetpack\Sync\Modules\Callables->maybe_sync_callables()
#10 /home/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#11 /home/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#12 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/class-sender.php(598): do_action()
#13 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/class-sender.php(487): Automattic\Jetpack\Sync\Sender->do_sync_for_queue()
#14 /home/public_html/wp-content/plugins/woocommerce-payments/vendor/automattic/jetpack-sync/src/class-sender.php(362): Automattic\Jetpack\Sync\Sender->do_sync_and_set_delays()
#15 /home/public_html/wp-includes/class-wp-hook.php(324): Automattic\Jetpack\Sync\Sender->do_sync()
#16 /home/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#17 /home/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#18 /home/public_html/wp-includes/load.php(1280): do_action()
#19 [internal function]: shutdown_action_hook()
#20 {main}
thrown in /home/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php on line 95- This reply was modified 6 months, 3 weeks ago by mcdeth.
Forum: Plugins
In reply to: [Tidio – Live Chat & AI Chatbots] huge performance hit with tidioThanks, I’ve uninstalled plugin and placed code in functions, then delaying with litespeed worked. Ranked 5*. Thanks!
- This reply was modified 7 months ago by mcdeth.
Forum: Plugins
In reply to: [After Registration Redirect] Not redirecting to custom pagejust use the snippet and dont install this garbage
function custom_registration_redirect() {
// Redirect to the desired page
wp_redirect(home_url('*your url here*'));
exit;
}
add_filter('registration_redirect', 'custom_registration_redirect');Thanks, I will try. One more question, I couldn’t find it on forums or website. What about newsletter, is there any way to sync it? Get 5 points for newsletter signup etc. It could be anyservice, free or paid (the newsletter for wordpress or mailchimp)
Forum: Plugins
In reply to: [LiteSpeed Cache] serving old cache with LSCWP_CTRL before_optmI can’t edit anymore. Turns out the problem was CSS version. once I made sure that it’s for example timestamp, all good
Forum: Plugins
In reply to: [LiteSpeed Cache] serving old cache with LSCWP_CTRL before_optmHi, so steps I took to test:
- Disabled cloudflare
- Disabled litespeed on both server (hostinger) and plugin
- do change in css file – set black background on a div, checked in private mode on first load, is ok
- refreshed page with ?LSCWP_CTRL=before_optm
- no change
- enabled dev tools in browser, in network tab disabled cache, refresh
- serving proper version
Server header is litespeed
HTTP/2 200
cache-control: public, max-age=31557600
expires: Thu, 14 Aug 2025 20:36:01 GMT
content-type: text/css
last-modified: Sun, 11 Aug 2024 19:50:32 GMT
etag: "493c-66b91608-1f71d3a08d139d31;br"
accept-ranges: bytes
content-encoding: br
vary: Accept-Encoding
content-length: 3090
date: Wed, 14 Aug 2024 14:36:01 GMT
server: LiteSpeed
platform: hostinger
content-security-policy: upgrade-insecure-requests
X-Firefox-Spdy: h2
GET /wp-content/plugins/wp-loyalty-rules/App/Apps/Launcher/V2/Assets/Site/Css/launcher_site_ui.css?ver=1.2.13&t=1723646160 HTTP/2
Host: xxx
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0
Accept: text/css,*/*;q=0.1
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br, zstd
DNT: 1
Sec-GPC: 1
Connection: keep-alive
Referer: domain/page/?LSCWP_CTRL=before_optm
Cookie:
Sec-Fetch-Dest: style
Sec-Fetch-Mode: no-cors
Sec-Fetch-Site: same-origin
Priority: u=2
TE: trailersI am updating CSS version, but it’s not changing unless I set no cache in browser,
Yes, problem is resolved. 5 star given. My question is:
Display position of earn points product page message(Optional)
It’s not “optional”, there’s no possibility to disable this option? Either before or after the cart is available in dropdown. I can’t turn it off (except for css)?
Forum: Plugins
In reply to: [EWWW Image Optimizer] Access token has expired, please reload the page.setting nonce life *helped*, but it was still interrupted after 3 days, at around 80%. Since I’ve tried earlier twice, at the end I had $300 vps running for a week at CPU peaks for nothing.
So this morning I found out process was interrupted. There’s a retry button which generated url with few k GET params. Even if I tried to regenerate only one id, I had problems with link expired, changing nonce didn’t help. Eventually gave up, spent $50 and bought shortpixel pro version for thumbs + $20 for webp.
It’s quite ironical, because most of the garbage was created by this plugin. What the description doesn’t mention is, when user regenerates thumbnail, it generates literally every registered size, even if post is attached to product and some media sizes are for registered for blog posts. My blog posts had 50×50 thumbs that come from swatches plugin.
So to sum up, started with 1.5m files and ended with 500k after proper cleaning. If I had webp plugin on, it’d be 3m files.
Are you using any third-party plugin to delay the loading JS?
Yes, litespeed cache. After some testing, the problem was UCSS
- This reply was modified 7 months, 1 week ago by mcdeth.
Ok, one is in Rewards and other one is launcher. All clear regarding first part.
The only thing is about delaying JS loading, with enabled delay launcher won’t work.
Is it possible to create anchor link so that launcher opens?
- This reply was modified 7 months, 1 week ago by mcdeth.