WordPress and php 8.1

After hours of investigation and heavy testing I found the reason. Uninstall the php-extension php8.1-uopz changed everything. It seems uopz will break every wordpress. I hope this information will help others not to install it. Thanks to Bosco, he made me take a closer look at this issue.

Ways to disable or limit WordPress postmeta caching

I don’t have full confirmation that they no longer see out of memory issues, but from logging the memory usage at shutdown it appears that this memory issue has likely been reduced by setting the following option in the get_posts call in cartflows: ‘update_post_meta_cache’ => false Obviously this isn’t ideal as a plugin update will … Read more

Single post template not working in wordpress

When we’re editing a post, the post editor is used to define the post’s content (and associated meta data). Meanwhile, the Block Templates within the Site Editor as you have accessed via Appearance > Editor > Templates define how the site and content is laid out and rendered. Admittedly none of the terminology terribly intuitive, … Read more

How to block checkout process when session origin is unknown?

add_action(‘woocommerce_checkout_create_order’, function($order, $data) { if (!isset($_REQUEST[‘wc_order_attribution_utm_source’])) { wc_add_notice(__(‘Order creation failed: Safetech Security.’, ‘woocommerce’), ‘error’); throw new Exception(‘Order creation halted.’); } }, 10, 2); This works for me Updates the issue is in the Paypal wooocommerce plugin, I had to edit the code and stop auto-update if (!isset($_COOKIE[‘sbjs_first’])) { throw new RuntimeException( __(‘Order creation failed: Origin … Read more

techhipbettruvabetnorabahisbahis forumuedueduedusedueduseduedueduedusedu