• Resolved Louise Harris

    (@louiseh86)


    Hello, I just updated your plugin and it crashed our website, please see error below:

    [15-Jan-2021 08:23:01 UTC] PHP Fatal error: Uncaught Error: Class ‘WGACT\Classes\Pixels\Cookie_Consent_Management’ not found in /wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/wgact.php:161
    Stack trace:
    #0 /wp-includes/class-wp-hook.php(287): WGACT\WGACT->inject_pixels(”)
    #1 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /wp-settings.php(535): do_action(‘after_setup_the…’)
    #4 /wp-config.php(92): require_once(‘/home/threewre/…’)
    #5 /wp-load.php(37): require_once(‘/home/threewre/…’)
    #6 /wp-blog-header.php(13): require_once(‘/home/threewre/…’)
    #7 /index.php(17): require(‘/home/threewre/…’)
    #8 {main}
    thrown in /wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/wgact.php on line 161

    Please fix asap

    Thank you

Viewing 15 replies - 1 through 15 (of 17 total)
  • Same here, fatal error, the website is broken because of it, need to disable the plugin by FTP.

    Same error for me.
    I’ve disabled the plugin

    Plugin Author alekv

    (@alekv)

    Hi @mcasadiomp and @louiseh86

    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 [email protected]

    Hi,
    now I’ve this error:

    Line 617
    Message Uncaught Error: Call to a member function get() on bool in .../wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/admin/class-admin.php:617 Stack trace: #0 .../wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/admin/class-admin.php(517): WgactAdmin->get_debug_info() #1 .../wp-admin/includes/template.php(1688): WgactAdmin->wgact_plugin_section_support_description(Array) #2 .../wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/admin/class-admin.php(439): do_settings_sections('wgact_plugin_op...') #3 .../wp-includes/class-wp-hook.php(287): WgactAdmin->wgact_plugin_options_page('') #4 .../wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #5 .../wp-includes/plugin.php(484): WP_Hook->do_action(Array) #6 .../wp-admin/admin.php(259): do_action('woocom
    File .../wp-content/plugins/woocommerce-google-adwords-conversion-tracking-tag/admin/class-admin.php

    but the plugin is still enabled

    • This reply was modified 3 years, 10 months ago by mcasadiomp.
    • This reply was modified 3 years, 10 months ago by mcasadiomp.
    Plugin Author alekv

    (@alekv)

    @mcasadiomp

    Thanks for that report!

    That was fixed in 1.7.8, but because of the rollback we lost that.

    I just pushed a new version (1.7.10) which also fixes this error. Please update and let me know if it works.

    Thanks!

    (One of those days. Sorry again for the inconvenience)

    Plugin Author alekv

    (@alekv)

    @mcasadiomp @louiseh86

    Could you let me know which PHP version you’re running?

    I’m running 7.3

    Our e-commerce site went down also…

    Plugin Author alekv

    (@alekv)

    @userofmakers

    I already pushed a fix with current version 1.7.10. Please update and try again.

    Let me know if it works.

    I’m sorry for the inconvenience caused!

    Plugin Author alekv

    (@alekv)

    @userofmakers @mcasadiomp @arnaudfr @louiseh86

    Thanks to your quick responses and the additional help of some of you. 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 to everyone for being such loyal users !

    thank you for the quickly issue management

    This update crashed my WordPress site. I can’t log in to uninstall. Im trying to delete the plugin via ftp and its saying access denied?!!

    Plugin Author alekv

    (@alekv)

    @mediasyko

    1. If you have problems using FTP then this cannot be caused by the plugin or WordPress. Those systems are independent. It means that for example your password was changed or it expired. You will have to reset the password with your server provider.

    2. When you manage to FTP into the server, you don’t need to delete the plugin to fix this.
    Go to the root folder of the plugin and change into the “classes” directory. Once you’re there, change the “Pixels” folder (with capital P) to lowercase “pixels”.
    Once done your site should start working again.

    Let me know if that works for you

    I searched the entire cpanel directly/root folder for the folder classes or the word Pixel in a file name and nothing came up.

    I still get this error:

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

    Maybe it didn’t even finish updating. Idk. I just know Im locked out. How am I supposed to access my site without erasing the whole thing and starting over?

    Plugin Author alekv

    (@alekv)

    @mediasyko

    Don’t delete your install! If you know where to look, it is a very simple fix.

    Send me a message to [email protected] and I’ll guide you through it.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘PHP Fatal error: Uncaught Error’ is closed to new replies.