Title: ablears's Replies | WordPress.org

---

# ablears

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Beetle Tracking - Cloudflare Zaraz for WooCommerce] Does this support Google Ads Enhanced Conversions?](https://wordpress.org/support/topic/does-this-support-google-ads-enhanced-conversions/)
 *  Thread Starter [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/does-this-support-google-ads-enhanced-conversions/#post-18901221)
 * No worries. Just to let you know this is possible. I wrote my own solution to
   this that sends the hashed user data and Woo order data from the order received
   page to Zaraz and that is confirmed working in Google Ads.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Offload, AI & Optimize with Cloudflare Images] Multisite install causing slowdown with switch_to_blog](https://wordpress.org/support/topic/multisite-install-causing-slowdown-with-switch_to_blog/)
 *  Thread Starter [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [10 months ago](https://wordpress.org/support/topic/multisite-install-causing-slowdown-with-switch_to_blog/#post-18565057)
 * The issue is with `network_settings` in `app/modules/class-multisite.php`
   The
   current logic unconditionally pulls the main site’s settings on sub-sites, regardless
   of value for cf-images-network-wide.
    -  This reply was modified 10 months ago by [ablears](https://wordpress.org/support/users/ablears/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[mPDF add-on for RTL and Unicode Support] Fatal Error](https://wordpress.org/support/topic/fatal-error-4739/)
 *  Thread Starter [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/fatal-error-4739/#post-18009175)
 * I had a look on the server, searching for other instances of Psr\Log\LoggerInterface::
   log and found that WooCommerce was logging errors on one domain only on this 
   network, and that is the one showing the error. It backtraces to woocommerce/
   includes/class-woocommerce.php.
   3:2024-09-09T20:22:02+00:00 CRITICAL Declaration
   of Psr\Log\NullLogger::log($level, $message, array $context = []) must be compatible
   with Psr\Log\LoggerInterface::log($level, Stringable|string $message, array $
   context = []): void CONTEXT: {“error”:{“type”:64,”file”:”/var/www/z/wp-content/
   plugins/mpdf-addon-for-pdf-invoices/vendor/psr/log/Psr/Log/NullLogger.php”,”line”:
   26},”backtrace”:[{“file”:”/var/www/z/wp-content/plugins/woocommerce/includes/
   class-woocommerce.php”,”line”:359,”function”:”critical”,”class”:”WC_Logger”,”
   type”:”->”},{“function”:”log_errors”,”class”:”WooCommerce”,”type”:”->”}]}
 * Running `ack 'LoggerInterface' .` showed a number of themes and plugins using
   it, but mpdf is the only one that generates a fatal error.
    -  This reply was modified 1 year, 8 months ago by [ablears](https://wordpress.org/support/users/ablears/).
      Reason: more detail
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[mPDF add-on for RTL and Unicode Support] Fatal Error](https://wordpress.org/support/topic/fatal-error-4739/)
 *  Thread Starter [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/fatal-error-4739/#post-18008986)
 * I had to make the code change to your plugin to prevent the fatal errors. I’m
   not sure what else I can do, considering this is the only plug-in that generates
   this error on our WordPress network.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing] cdn.polyfill.io removal](https://wordpress.org/support/topic/cdn-polyfill-io-removal/)
 *  Thread Starter [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/cdn-polyfill-io-removal/#post-17867440)
 * No worries, I found the changelog and can see it was removed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Unable to edit variations in Woocommerce](https://wordpress.org/support/topic/unable-to-edit-variations-in-woocommerce/)
 *  [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/unable-to-edit-variations-in-woocommerce/#post-17519212)
 * I have exactly the same issue, but on PHP 8.1.13. It manifests on both my staging
   and production servers, and both our WordPress networks, and started happening
   yesterday when we updated all plugins. We test on staging first, but did not 
   notice this issue.
   Support info:[https://pastebin.mozilla.org/uegLK4rd](https://pastebin.mozilla.org/uegLK4rd)
   When viewing the variations tab, an AJAX POST is triggered, and that responds
   with a 500 error. I can see most of the variations markup is returned in the 
   response, but is truncated due to a fatal error. In our case, it is due to the
   following
 *     ```wp-block-code
       add_action( 'woocommerce_product_after_variable_attributes', 'variation_settings_fields', 10, 3 );
   
       function variation_settings_fields( $loop, $variation_data, $variation ) {
       	echo '<h3>Automation options</h3>';
   
       	woocommerce_wp_select( 
       		array( 
       			'id'          => 'product_automation_type[' . $variation->ID . ']', 
       			'label'       => __( 'Automation type', 'woocommerce' ), 
       			'description' => __( 'Select type of automation.', 'woocommerce' ),
       			'value'       => $variation->get_meta('product_automation_type', true) <-- PHP Fatal error:  Uncaught Error: Call to undefined method WP_Post::get_meta() 
       ```
   
 * In this case, I solved the issue by changing calls from `$variation->get_meta`
   to `get_post_meta( $variation->ID, 'product_automation_type', true )`
    -  This reply was modified 2 years, 1 month ago by [ablears](https://wordpress.org/support/users/ablears/).
      Reason: added debug
    -  This reply was modified 2 years, 1 month ago by [ablears](https://wordpress.org/support/users/ablears/).
      Reason: added fix
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Store Exporter – Export WooCommerce Products, Orders, Subscriptions, Customers] HPOS support – when?](https://wordpress.org/support/topic/hpos-support-when/)
 *  Thread Starter [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/hpos-support-when/#post-17276079)
 * Ah, I noticed we’re on the premium version which is on 5.2.1. I’ll check the 
   Visser site for more info about that.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Appearance > Widget > Page blank](https://wordpress.org/support/topic/appearance-widget-page-blank/)
 *  [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/appearance-widget-page-blank/#post-17208176)
 * Blank admin pages after a core update is very likely related to cached JS files.
   This has become an issue as WordPress has moved to JS-based functionality (the
   blocks editor). So, clear any caching you may have (I need to purge Cloudflare
   and Varnish), and try in an incognito/private tab.
   Normally if this is JS/cache
   related you can also check by looking at the dev console. You’ll see a whole 
   bunch of JS errors there.It’s very annoying. I have over 200 sites on a network
   and cannot purge all the domains after a core update as the server would get 
   hammered.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Email Template Designer - WP HTML Mail] How to integrate with other plugins?](https://wordpress.org/support/topic/how-to-integrate-with-other-plugins/)
 *  Thread Starter [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/how-to-integrate-with-other-plugins/#post-17039694)
 * Thanks for the reply.
 * Can your plugin return templated HTML content when given raw email body text?
   Our system handles order delivery through additional emails, using Postmark’s
   PHP library for sending. Since we aren’t using `wp_mail()`, these emails aren’t
   processed by your plugin. What I’m after is a way to pass email content to WP
   HTML Mail and get back the templated HTML, which we can then send through Postmark.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Deprecated: strstr(): Passing null to parameter](https://wordpress.org/support/topic/deprecated-strstr-passing-null-to-parameter/)
 *  [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/deprecated-strstr-passing-null-to-parameter/#post-16856036)
 * Yes, agreed [@dbemowsk](https://wordpress.org/support/users/dbemowsk/). My error
   logs are being polluted by thousands of entries `strstr(): Passing null to parameter#
   1 ($haystack) of type string is deprecated in woocommerce/includes/wc-page-functions.
   php on line 139`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autocomplete WooCommerce Orders] Version 7.1.4?](https://wordpress.org/support/topic/version-7-1-4/)
 *  [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/version-7-1-4/#post-16835316)
 * Ahhh. That is why after running `composer update` I found autocomplete-woocommerce-
   orders had disappeared from WP Admin. In the plugins folder I found autocomplete-
   woocommerce-orders contained WooCommerce Checkout Manager instead. Specifying
   3.1.0 fixed it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AI Engine - The Chatbot, AI Framework & MCP for WordPress] Monthly Usage was detected for a removed model (gpt-3.5-turbo-0301).](https://wordpress.org/support/topic/monthly-usage-was-detected-for-a-removed-model-gpt-3-5-turbo-0301/)
 *  Thread Starter [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/monthly-usage-was-detected-for-a-removed-model-gpt-3-5-turbo-0301/#post-16541974)
 * Hi, this appears solved in the latest version, thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Store Exporter – Export WooCommerce Products, Orders, Subscriptions, Customers] Scheduled Export: Unknown named parameter $id wp-hook.php:308](https://wordpress.org/support/topic/scheduled-export-unknown-named-parameter-id-wp-hook-php308/)
 *  [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/scheduled-export-unknown-named-parameter-id-wp-hook-php308/#post-16446096)
 * Hey, could you email me at [hello@moso.nz](https://wordpress.org/support/users/ablears/replies/hello@moso.nz?output_format=md)
   please.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Store Exporter – Export WooCommerce Products, Orders, Subscriptions, Customers] Scheduled Export: Unknown named parameter $id wp-hook.php:308](https://wordpress.org/support/topic/scheduled-export-unknown-named-parameter-id-wp-hook-php308/)
 *  [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/scheduled-export-unknown-named-parameter-id-wp-hook-php308/#post-16427509)
 * I have fixed the pro version so it’s compatible with PHP 8.1, not sure if it’s
   the same fixes for the free version. Our support license has run out and no way
   to contact [@visser](https://wordpress.org/support/users/visser/) these days.
   Consider moving to another plugin.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Performance: Multisite or not?](https://wordpress.org/support/topic/performance-multisite-or-not/)
 *  [ablears](https://wordpress.org/support/users/ablears/)
 * (@ablears)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/performance-multisite-or-not/#post-15772443)
 * If you’re having performance issues try focusing on improving that through caching.
   I manage a WP network with hundreds of ecommerce sites and they all zip along,
   getting 90+ in Core Web Vitals. The key is caching at every layer – my setup 
   is Cloudflare (so most requests don’t even make it to the web server), Varnish,
   WP Rocket and Redis (object caching). Without having proper caching in place 
   you will always have awful performance. 2000 job listings is absolutely trivial
   if you serve them cached.

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

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