Dominik Lackovi?
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Tripadvisor Review Widgets] Reviews stuck at downloadingProblem was solved by itself after few more hours of waiting. That message of approximated time of 3 minutes should be updated.
Forum: Plugins
In reply to: [Disable Bloat for WordPress & WooCommerce] Not working properly after updateHi @ospiotr,
Thank for a quick bugfix. Yes, this now solves issue I was having and plugin is working great again.Let me explain more detailed what else am I experiencing with Shop Manager role although, I don’t think the problem is in your plugin.
When Disable WooCommerce Admin is enabled and when I log in as user with shop_manager role, on every WooCommerce page I visit in dashboard, I am getting lots of errors in console such as
Uncaught (in promise) {code: 'woocommerce_rest_cannot_view', message: 'Sorry, you cannot view these options.', data: {…}}
Seems like there is some wrong permissions for shop_manager role when WooCommerce Admin is disabled.
For example on page – https://wp.test/wp-admin/edit.php?post_type=shop_coupon
I am getting those errors, as so on any other WooCommerce admin page.See screenshot – https://i.imgur.com/CLf6kNg.png
Thanks again!
Forum: Plugins
In reply to: [WooCommerce] User with role Shop Manager getting error 403 – forbiddenHi,
thanks for troubleshooter link, but it does not help much because I am not using API nor API keys in any special way.
I’m just using plain WooCommerce in WP backend which is producing those errors out of the box while it shouldn’t.
Shop manager role should be able to do anything like WordPress admin but now that is not possible because for example, WooCommerce home page won’t load properly because of this errors.
Only way currently to get rid of that error is to give users an admin permission which I really don’t like because there is no need for such high permission level for only managing WooCommerce.Also, on local environment I was using HTTP protocol but on jurassic.ninja there is HTTPS protocol and the error was still the same and you basically confirmed that so, there is obviously some bug in code with shop manager role and his permission.
Best regards
Forum: Plugins
In reply to: [WooCommerce] User with role Shop Manager getting error 403 – forbiddenHi again @rainfallnixfig,
I tested on a fresh install using fantastic tool you provided (jurassic.ninja) and I replicated the error, so I will try to be more precise this time with steps:- Install WooCommerce
- Activate plugin, skip onboarding and when asked about data collection or something like that also skipping that (NOT clicking on count me in)
- Add new user and assign shop manager role to that user
- Log in as new user with shop manager role
- Visit in dashboard any WooCommerce page like
WooCommerce > Home (…/wp-admin/admin.php?page=wc-admin)
WooCommerce > Orders (…/wp-admin/edit.php?post_type=shop_order)
Products > All Products (…/wp-admin/edit.php?post_type=product)
and so on…
Literally every WC dashboard page is producing error 403 with that user on API call on endpoint …/wp-json/wc-admin/options?options=woocommerce_task_list_hidden%2Cwoocommerce_extended_task_list_hidden%2Cwoocommerce_task_list_dismissed_tasks%2Cwoocommerce_task_list_complete%2Cwoocommerce_task_list_tracked_completed_tasks&_locale=user
Error I am getting:
{"code":"woocommerce_rest_cannot_view","message":"Sorry, you cannot view these options.","data":{"status":403}}
https://snipboard.io/5EQLkD.jpg
So I can assume it’s some bug in code not giving users with role shop manager enough permission and not and server side issue.
Best regards
Forum: Plugins
In reply to: [WooCommerce] User with role Shop Manager getting error 403 – forbiddenHi,
Thanks for reaching out.Maybe I wasn’t clear enough. Errors I am getting are on dashboard/backend side.
I mean in WooCommerce dashboard, orders, coupons…
Not on frontend as I see you were testing.I will certainly try to replicate the issue using tool you mentioned above and let you know the results soon.
Best regards
Forum: Plugins
In reply to: [Super Page Cache] Logged in user getting cached versionAwesome! Thanks again ??
Forum: Plugins
In reply to: [Super Page Cache] Logged in user getting cached versionHi @isaumya,
thanks for sending new script.
I have followed your instructions and it appears that new script is working as you said perfect. ??
I just did a small test but this test would have in previous version result in getting a cached page when logged in but now it is not cached when logged in just as it needs to be.Thanks and best regards!
Forum: Plugins
In reply to: [Super Page Cache] Logged in user getting cached versionHi,
No problem. Here it is domba_bomba007[at]hotmail.comBest regards
Hi @salvatorefresta,
that did the trick. Everything working smooth now. Thanks!
Best regards
- This reply was modified 3 years, 11 months ago by Dominik Lackovi?.
Hello again,
I just noticed now that when I update plugins on multiple sites it overwrites Workers because it is using name “swcfpc_worker” and there is no unique ID for each worker.Can you please check that out? Or is there some way to set custom name of Worker?
Thanks!
Hello devs,
I can confirm after I tested latest version 4.3.7.3 that bug with Workers throwing error is now fixed on sites I have been previously experiencing it.Thanks!
Best regards
Great news! Thank you very much for really amazing support and hopefully soon public released fix.
To say thanks I donated something little but from heart.
We really appreciate what you do for free and in your free time so I think you guys totally deserve it!
Best regards from Croatia!
Dominik
OK, thank you very much for fast response and fix in work already.
I reverted to previous version of plugin so if you will be digging around my website you won’t experience previous behavior I reported.If you will be needing additional information about this bug I can gladly update to latest version and provide additional data.
Thanks and best regards!
OK. Thank you!
Can I revert to previous version or you need this version to be installed so you can debug?Hi,
You are seeing this because of firewall rules. I now disabled them so if you can please recheck again.Thanks