Title: New version crashes wordpress
Last modified: January 15, 2021

---

# New version crashes wordpress

 *  Resolved [dageci](https://wordpress.org/support/users/dageci/)
 * (@dageci)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/new-version-crashes-wordpress/)
 * After installing the latest version of this plugin my site is down.
    Here is 
   the error: Fatal error: Uncaught Error: Class ‘WGACT\Classes\Pixels\Cookie_Consent_Management’
   not found in /home/customer/www/virtual-forms.com/public_html/wp-content/plugins/
   woocommerce-google-adwords-conversion-tracking-tag/wgact.php:161 Stack trace:#
   0 /home/customer/www/virtual-forms.com/public_html/wp-includes/class-wp-hook.
   php(287): WGACT\WGACT->inject_pixels(”) #1 /home/customer/www/virtual-forms.com/
   public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, 
   Array) #2 /home/customer/www/virtual-forms.com/public_html/wp-includes/plugin.
   php(484): WP_Hook->do_action(Array) #3 /home/customer/www/virtual-forms.com/public_html/
   wp-settings.php(535): do_action(‘after_setup_the…’) #4 /home/customer/www/virtual-
   forms.com/public_html/wp-config.php(93): require_once(‘/home/customer/…’) #5 /
   home/customer/www/virtual-forms.com/public_html/wp-load.php(37): require_once(‘/
   home/customer/…’) #6 /home/customer/www/virtual-forms.com/public_html/wp-admin/
   admin.php(34): require_once(‘/home/customer/…’) #7 /home/customer in /home/customer/
   www/virtual-forms.com/public_html/wp-content/plugins/woocommerce-google-adwords-
   conversion-tracking-tag/wgact.php on line 161
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnew-version-crashes-wordpress%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [dageci](https://wordpress.org/support/users/dageci/)
 * (@dageci)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/new-version-crashes-wordpress/#post-13910838)
 * For now I have deleted all the code in wgact.php from line 158 to 170 in public
   function inject_pixels() so that I could get the site back up
 *  Thread Starter [dageci](https://wordpress.org/support/users/dageci/)
 * (@dageci)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/new-version-crashes-wordpress/#post-13910862)
 * Now with deleted code in this function I get this error:
 * Warning: “call_user_func_array() expects parameter 1 to be a valid callback, 
   function ‘wga_fs_settings_url’ not found or invalid function name in”
 * But the site is now up again. When I now deactivate the plugin, the warning disapears.
   
   If this can help to fix the problem. Regards, Davor
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/new-version-crashes-wordpress/#post-13911094)
 * Hi [@dageci](https://wordpress.org/support/users/dageci/)
 * I reverted back to the old, working version. You can update and re-activate it.
 * I’m sorry for the inconvenience.
 * Let me know if it works.
 * I’ve tested the new version with namespaces, but it seems not to work on every
   install. Would one of you be ready to help debugging the problem and give us 
   access to your install. If yes, please send me an email to [support@wolfundbaer.ch](https://wordpress.org/support/topic/new-version-crashes-wordpress/support@wolfundbaer.ch?output_format=md)
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/new-version-crashes-wordpress/#post-13911183)
 * [@dageci](https://wordpress.org/support/users/dageci/)
 * Could you let me know which PHP version you’re running?
 *  Thread Starter [dageci](https://wordpress.org/support/users/dageci/)
 * (@dageci)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/new-version-crashes-wordpress/#post-13911200)
 * Hello [@alekv](https://wordpress.org/support/users/alekv/),
    thanks for the quick
   response and for the fix. I will send you the info for my page if you want to
   test it on there.
 * P.S.
    Maybe you could add “Conversion ID 2” and “Conversion Label 2” in Advanced
   Tab if we want to use 2 Google Ads accounts?
 * Thanks once again, and happy to help you out with the development of this great
   plugin.
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/new-version-crashes-wordpress/#post-13911774)
 * [@dageci](https://wordpress.org/support/users/dageci/)
 * Thanks to your quick response and the additional help. I was able to identify
   the problem that was introduced in version 1.7.8
 * Do you spot the mistake?
 * /classes/Pixels/class-cookie-consent-management.php
 * vs.
 * /classes/pixels/class-cookie-consent-management.php
 * It was a simple capitalization error!
 * And I didn’t catch it in my local tests, because my machine is set to ignore 
   capitalization, while certain servers are sensitive to capitalization.
 * Well, one more lesson learned about something that I never intended to learn…
 * Later today I will roll out the changes which were meant for 1.7.8 with version
   1.7.11. Brace for impact! And this time hopefully with no incident.
 * Thanks again for being such loyal user !
    -  This reply was modified 5 years, 3 months ago by [alekv](https://wordpress.org/support/users/alekv/).
 *  Thread Starter [dageci](https://wordpress.org/support/users/dageci/)
 * (@dageci)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/new-version-crashes-wordpress/#post-13911820)
 * [@alekv](https://wordpress.org/support/users/alekv/) thanks for the quick response
   and for quick fix.
    Who works makes mistakes. No problem, thank you for this 
   plugin! Davor
 *  Plugin Author [alekv](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/new-version-crashes-wordpress/#post-13913702)
 * [@dageci](https://wordpress.org/support/users/dageci/)
 * Regarding your question about a second conversion pixel.
 * That might be something we are going to build into a pro version.
 * I’ll let you know once it is implemented.
 * Regards
    Aleksandar

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

The topic ‘New version crashes wordpress’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [alekv](https://wordpress.org/support/users/alekv/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/new-version-crashes-wordpress/#post-13913702)
 * Status: resolved