mb00
Forum Replies Created
-
Forum: Plugins
In reply to: [Cloudflare] Issue with latest versionUnfortunately I won’t be able to test it with just Cloudflare enabled as it is a production site, but I can try to test older versions as long as they don’t break the site. I will try to troubleshoot this myself next week and see where the problem could be.
Thanks for prompt replies.
Forum: Plugins
In reply to: [Cloudflare] Issue with latest versionhttps://postimg.cc/gallery/XybzKyb
Reactivated plugin, did “Sign in here”, logged in. Tried to enable APO but it was keep switching itself off after page reload, after some time the page crashed (1st and 2nd screenshots)
Forum: Plugins
In reply to: [Cloudflare] Issue with latest version- I’m not 100% sure, I’ve tried it couple years ago, but I don’t remember which site I’ve tried it on.
- 6.8.2
- 8.3
It manage to login with email and global token, I checked using the testing site from your official docs, and was constantly getting cf-cache-status: DYNAMIC. I’ve googled, and I saw suggestion to switch APO in Cloudflare dashboard.
At some point I tried to see plugin settings page again and then I would just keep getting the same error no matter how many times I would reload. It was ~30 mins probably before I’ve noticed after I first configured it.Could you give me a rough estimate when it could be done? Weeks, months? The problem is that not only flexible shipping plugin does not work but I can’t use any plugins that depend on it ether.
Forum: Plugins
In reply to: [Klarna for WooCommerce] Reduce excessive console.log() usageI’m aware these are not error messages, but it has no place in production environment without option to opt out. This technically should be opt-in, not an opt-out as well.
I’ve listed multiple options how to address this in my first comment. It’s not very complicated.
Forum: Plugins
In reply to: [Klarna for WooCommerce] Reduce excessive console.log() usageIt’s not related to text domain. console.log() is a JS function, it’s been triggered when payment method is changed:
#klarna_payments_pay_over_time_container
klarna_payments_pay_over_time
klarna_payments_pay_over_timeThere is 27 places where this function is called in 6 different JS files.
- This reply was modified 1 year, 5 months ago by mb00.
I’ve ran into the same issue, but found a temporary solution. This does not fix the problem, but it stops the 300030 error loop. As @thetallone mentioned, the error seems to be only triggered when widget is added above pay now button, other options seem to work fine.
- Check Advanced Settings -> Extra Failure Message checkbox.
- Add error message (not sure if this step is really needed, but doesn’t hurt).
- In simple-cloudflare-turnstile/inc/turnstile.php find function cfturnstileErrorCallback(), comment both lines out, and add return true; instead.
Forum: Plugins
In reply to: [REST API Log] Deprecated functions strpos() and str_replace()Bump.
The deprecated warning present in PHP8.1+. This warning is coming from passing null to add_submenu_page() method in admin/class-wp-rest-api-log-admin.php function admin_menu().
Changing null to ” would fix the problem, but technically a parent slug should be passed as an argument.
In addition, there is also warnings when viewing the log entry( e.g. /wp-admin/tools.php?page=wp-rest-api-log-view-entry&id=123):
WP_REST_API_Log_API_Request_Response_Base::{closure}(): Argument #2 ($k) must be passed by reference, value givenand
WP_REST_API_Log_API_Request_Response_Base::{closure}(): Argument #2 ($k) must be passed by reference, value givenin wp-rest-api-log/includes/class-wp-rest-api-log-request-response-base.php file lines 130 and 145.
Forum: Plugins
In reply to: [WooCommerce] Paypal Standard issueIt does not happen with COD.
I actually downgraded WooCommerce version, but this change might solve the issue, if it was not part of 8.0.1 release (as problem was still there):
https://github.com/woocommerce/woocommerce/commit/c584d4041a3dc1f44e4614dc76cae12f074f7cd2As mentioned in initial post PayPal return button is actually form submission button that posts data back and as the check is done above the filter, it’s simply impossible to disable that new functionality using filter because filter is never triggered.
Re: WooCommerce Paypal Payments, this issue was even more serious (also mentioned in initial post) so we had to switch plugin off and just wait for things to get bit more stable there.
Forum: Plugins
In reply to: [Redis Object Cache] Error establishing a Redis connectionI’ve also noticed a lot more failures recently. I’ve been using the plugin for 2-3 years on high load site and I never saw an error like that, but for the past month or so this is happening almost on the daily basis.
It started with 2.4.1 for me (upgraded from 2.2.2).
Forum: Plugins
In reply to: [Flat Rate per State/Country/Region for WooCommerce] HPOS SupportThank you!
Forum: Plugins
In reply to: [Flat Rate per State/Country/Region for WooCommerce] HPOS SupportAny progress on this?
Thanks
Forum: Plugins
In reply to: [Address Book for WooCommerce] HPOS supportAwesome. Thanks for quick follow up.
Forum: Plugins
In reply to: [Flat Rate per State/Country/Region for WooCommerce] HPOS SupportIt’s not about regions, its about how the orders are stored and how the data is managed. Given HPOS stores the data in new tables, standard methods like get_post_meta() or update_post_meta() can no longer be used and plugin developers need to rely on woocommerce api methods e.g. $order->get_meta().
Your plugin could be 100% compatible with HPOS and you might only need to declare support using a small php code snippet. I haven’t reviewed the actual plugin code so I’m not sure if any changes are really needed, but the documentation provides information on what parts have to be update and how to declare the support.
I understand this might take you some time, especially if you will have to make changes and retest everything, so I’m not expecting a quick update.
I’m also happy to create a PR with changes if you’re using github for development and your repository is public.
Thanks!
- This reply was modified 3 years, 2 months ago by mb00.
I second the request for HPOS support.
Here is more details:
https://github.com/woocommerce/woocommerce/wiki/High-Performance-Order-Storage-Upgrade-Recipe-Book