• Resolved dageci

    (@dageci)


    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 to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter dageci

    (@dageci)

    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

    (@dageci)

    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

    (@alekv)

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

    Plugin Author alekv

    (@alekv)

    @dageci

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

    Thread Starter dageci

    (@dageci)

    Hello @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

    (@alekv)

    @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.
    Thread Starter dageci

    (@dageci)

    @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

    (@alekv)

    @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.