Title: PHP Fatal errors
Last modified: March 18, 2021

---

# PHP Fatal errors

 *  Resolved [embercide](https://wordpress.org/support/users/embercide/)
 * (@embercide)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-errors-12/)
 * Seeing this in logs:
 *     ```
       2021-03-17T00:52:34+00:00 CRITICAL Uncaught Error: Call to a member function get_sku() on bool in /home/mysite.com/public_html/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/pixels/class-pixel-manager.php:115
       Stack trace:
       #0 /home/mysite.com/public_html/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/pixels/class-pixel-manager.php(41): WGACT\Classes\Pixels\Pixel_Manager->inject_head_pixels()
       #1 /home/mysite.com/public_html/wp-includes/class-wp-hook.php(292): WGACT\Classes\Pixels\Pixel_Manager->WGACT\Classes\Pixels\{closure}()
       #2 /home/mysite.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
       #3 /home/mysite.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action()
       #4 /home/mysite.com/public_html/wp-includes/general-template.php(3009): do_action()
       #5 /home/mysite.com/public_html/ in /home/mysite.com/public_html/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/pixels/class-pixel-manager.php on line 115
       ```
   

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-errors-12/#post-14203720)
 * Hi [@embercide](https://wordpress.org/support/users/embercide/)
 * Thanks for reporting this. The problem was reported before and appears to only
   affect misconfigured variable products.
 * One user reported to have fixed it like this:
 * > I’ve deleted one too many attribute. Reinserted the attribute and everything
   > works fine now.
 * I tried to reproduce this error in our development environment, but I couldn’t,
   which is why I can’t fix this, unless I get access to an installation where this
   error appears.
 * If you’re willing to give me access to your install, I’ll debug this and will
   build a workaround into the plugin. Send me an email with WordPress admin and
   FTP access to [support@wolfundbaer.ch](https://wordpress.org/support/topic/php-fatal-errors-12/support@wolfundbaer.ch?output_format=md)
   if you want to help.
 *  Thread Starter [embercide](https://wordpress.org/support/users/embercide/)
 * (@embercide)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-errors-12/#post-14203989)
 * Hi [@alekv](https://wordpress.org/support/users/alekv/)
 * Unfortunately I can’t provide access to our site due to customer confidentiality.
   
   Happy to follow your instruction to identify if it is related to variable products.
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php-fatal-errors-12/#post-14205246)
 * I released a new version (1.8.21) that contains a fallback when it encounters
   a misconfigured variation.
 * Let me know if that works now for you.
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-errors-12/#post-14216430)
 * I’m closing this thread as I’ve got confirmation that the issue is resolved with
   the newest version of the plugin.
 * Feel free to add another response to this thread in case it doesn’t work for 
   you.
 *  [fulviods](https://wordpress.org/support/users/fulviods/)
 * (@fulviods)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-errors-12/#post-14216861)
 * hi, i have the last version 1.8.21 but we have this fatal error
 * [22-Mar-2021 10:12:53 UTC] PHP Fatal error: Uncaught Error: Call to a member 
   function get_id() on bool in /home/clients/abbc6b8e6659c2c904f2f6597ff17c45/web/
   wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/
   pixels/class-google-pixel-manager.php:236
    Stack trace: #0 /home/clients/abbc6b8e6659c2c904f2f6597ff17c45/
   web/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/
   pixels/class-google-pixel-manager.php(222): WGACT\Classes\Pixels\Google_Pixel_Manager-
   >eec_get_visible_products(Array) #1 /home/clients/abbc6b8e6659c2c904f2f6597ff17c45/
   web/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/
   pixels/class-google-pixel-manager.php(89): WGACT\Classes\Pixels\Google_Pixel_Manager-
   >inject_data_layer_product() #2 /home/clients/abbc6b8e6659c2c904f2f6597ff17c45/
   web/wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/classes/
   pixels/class-pixel-manager.php(71): WGACT\Classes\Pixels\Google_Pixel_Manager-
   >inject_everywhere() #3 /home/clients/abbc6b8e6659c2c904f2f6597ff17c45/ in /home/
   clients/abbc6b8e6659c2c904f2f6597ff17c45/web/wp-content/plugins/woocommerce-google-
   adwords-conversion-tracking-tag/classes/pixels/class-google-pixel-manager.php
   on line 236
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-errors-12/#post-14217452)
 * Hi [@fulviods](https://wordpress.org/support/users/fulviods/)
 * That must be misconfigured variable product.
 * In any case, I’ve added a fallback to the code which will be released with the
   next version end of this week.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PHP Fatal errors’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-google-adwords-conversion-tracking-tag/assets/
   icon-256x256.png?rev=2704744)
 * [Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing](https://wordpress.org/plugins/woocommerce-google-adwords-conversion-tracking-tag/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-google-adwords-conversion-tracking-tag/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [alekv](https://wordpress.org/support/users/alekv/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/php-fatal-errors-12/#post-14217452)
 * Status: resolved