WordPress customizer not working – check timezone

Just had a weird issue with my docker containerized wordpress install I use for one of the sites. When clicking on any customize options it would keep showing me this message over and over again without letting me use customizer: Your scheduled changes just published Nothing in the logs. I’ve checked my varnish, checked nginx … Read more

Google tag manager – partial publish, publish only one tag and not the others. Cherry-pick changes

When working with GTM as a team – people tend to always just use a single “default workspace” for all chnages. And this creates situations where there sometimes could be a mix of changes – some ready to publish and some not. If you find yourself wondering about how to to publish just some tags/changes … Read more

PHP Swoole setcookie urlencode and base64 alternative

One issue Ive ran into recently: Swoole and Openswoole use urlencode to encode cookies when one invokes Swoole\Http\Response->cookie() method instead of rawurlencode. While swoole offers an alternative in form of rawCookie ( and then you could encode value as you wish) – not all depnedent frameworks and libraries support that: https://openswoole.com/docs/modules/swoole-http-response-cookie Some popular PHP libraries … Read more

Swoole – solve “WARNING Worker_reactor_try_to_exit() (ERRNO 9012): worker exit timeout, forced termination”

I’ve recently ran into this error message with mezzio/swoole – which would popup for every hot reload on code change. Ive tried couple of different things (completely on the hunch) like: disabling ticks (this didn’t help) disabling side swoole processes (this didn’t help) raising max_wait_time to 60 seconds (this didn’t help) checking mysql/redis connection pools … Read more

Mezzio swoole/openswoole – determine if we are in a worker or task worker process

I’m a huge fan of swoole/openswoole for php as It solves a lot of hard scalability problems for us that is hard to solve otherwise in php. One of these problems is connection pooling. Why use connection pools for your redis or mysql connections? – but for speed of course! it takes relatively significant amount … Read more