Hi, our Wordfence found a vulnerability. Can you address this message? Or do we need to disable it untill a patch is made?
]]>Dear Co2ok,
The latest version of your plugin returns the following fatal error:
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class co2ok_plugin_woocommerce\Co2ok_Plugin does not have a method "co2ok_register_shortcodes"
After investigating myself I noticed there is indeed a method “co2ok_register_shortcodes” hooked into the Init action but no such method exists anymore.
Can you guys resolve this issue in the next update, for now we’ll use a old version to get around this issue ( Version 1.0.9.21 doesn’t seem to have this issue ).
Thanks in advance,
Kind regards,
Lennart | Epicode
]]>Hi,
during deleting items from cart the price for offset carbon in box is not changing. Only if I refresh it.
Can you fix that with next Update?
Second question:
Do we need to pay you quarterly every payment we receive for carbon offset?
Thank you for responding.
Best wishes,
mistacup
Not sure when it was introduced, but a script is running PlaceButton() to position the CO2 button above the checkout button on window resize, changing the position to absolute and the width to match the Checkout button.
This might work for some themes, but gives very undesirable results for ours:
the Checkout button is pushed off screen and the CO2 button width is too small.
Users cannot make any buy on mobile screens because of this issue.
There should be an option to turn this ‘feature’ off. The initial place it gets rendered to is fine and there’s no need to any repositioning by script.
We had to disable the plugin.
]]>Hi, The clickable checkmark button suddenly stopped working. Error console says ‘Uncaught SyntaxError: Unexpected token ‘)’ on line 413. I tried removing that character and it took the whole site down. The plugin page says Warning: This plugin has not been tested with your current version of WordPress Current version: 5.9.1. Because it’s not working, I’ve been requested to disable the plugin so the link won’t show anything.
]]>Hi,
I’m busy optimizing one of my customer webshops which runs the CO2ok plugin. I see in the source the plugin is loading https://fonts.googleapis.com/css?family=Roboto%3A400%2C500%2C700&ver=5.7.2&display=swap
How can I disable this? It’s causing pagespeed to report “Eliminate render-blocking resources”
Cheers,
Jaap
Greetings!
Can you tell me how I can disable this plugin on pages that are not shopping cart or checkout?
The problem is that your “co2ok.js” file is loaded on all pages and this increases the “size” of the page, so https://www.websitecarbon.com/ scores worse than a number of other testing sites.
This is especially bad for the speed of page loading from a mobile phone with mobile Internet.
Is it possible to make this plugin load exclusively on single product, cart, checkout pages?
]]>Dear support,
We get this error using the latest versions of WooCommerce and your plugin:
CRITICAL Uncaught Error: Call to a member function get_customer_id() on null in /home/deb16365n2/domains/happytowels.nl/public_html/wp-content/plugins/co2ok-plugin-woocommerce/co2ok-plugin.php:337
Stack trace:
#0 /home/deb16365n2/domains/happytowels.nl/public_html/wp-includes/class-wp-hook.php(288): co2ok_plugin_woocommerce\Co2ok_Plugin->co2ok_plugin_woocommerce\{closure}('')
#1 /home/deb16365n2/domains/happytowels.nl/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
#2 /home/deb16365n2/domains/happytowels.nl/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /home/deb16365n2/domains/happytowels.nl/public_html/wp-settings.php(523): do_action('init')
#4 /home/deb16365n2/domains/happytowels.nl/public_html/wp-config.php(117): require_once('/home/deb16365n...')
#5 /home/deb16365n2/domains/happytowels.nl/public_html/wp-load.php(37): require_once('/home/deb16365n...')
#6 /home/deb16365n2/domains/happytowels.nl/public_html/wp-blog-header.php(13): require_once('/home/deb163 in /home/deb16365n2/domains/happytowels.nl/public_html/wp-content/plugins/co2ok-plugin-woocommerce/co2ok-plugin.php op de lijn 337
Is this a known issue?
Thanks
WP-OK