Lyk
Forum Replies Created
-
I took a quick look in the code and as you said it seems that the flag is save in the option
woosea_allow_update
. (answer came in while I was writing this)It is very likely I misunderstand something, but are we sure this works as expected?
All the updates of this option are setting it tono
and it seems to never change toyes
.e.g. This part seems to be doing the opposite than expected:
if(get_option('product_changes')){ $before = get_option('product_changes'); $diff = array_diff($after, $before); if(!$diff){ $diff['product_id'] = $product_id; } else { // Enable the product changed flag update_option('woosea_allow_update', 'no'); } delete_option('product_changes'); } else { // Enable the product changed flag update_option('woosea_allow_update', 'no'); }
Thanks.
Hello again,
1) I see. So I guess the save settings issue could be related to Redis. I think this could be ok and I could even temporarily disable redis, change the changes and re-enable.
2) Nice. Could you tell where is this flag saved so that I could check when/if it is set? Furthermore, could the not-refresh be related to redis too?
Thanks!
Hello and thank you for your reply.
1. Yes redis is used for both db and object caching. In the wp installation, w3total cache is taking care of the caching.
By the way, feeds are excluded from the page caches (and we are also checking the files directly on the server to make sure that we always see the actual file)Regarding the db cache, the plugin offers options to:
– Never cache the following pages:
– Ignored query stems:
– Reject query words: eg^\s*update\b
– Reject constants (Disable caching once specified constants defined.): eg.DOING_CRON
Should we add something as an exception?
2. Ok! So I guess the only difference of the manual click is that is always regenerates, regardless of the Refresh only when products changed, right?
I will make a few more check with that in mind and let you know.
Also, how does the Refresh only when products changed works? It adds an action to save_post and sets a flag when it runs? And before refreshing it checks whether the flag is set?Thank you!
Hello @gripgrip,
Thank you for your reply.
You are right about the head_footer_code page, it was from another plugin.
Same for the _snippets, it was not from WPCode.
Upon checking it was from another snippets plugin which does not even exist in that wp site..#2 did the job everything seems fine now.
Thank you!
Forum: Plugins
In reply to: [User Role Editor] How to let allow a role to edit other users’ profilesI came across the filter woocommerce_shop_manager_editable_roles that one can use as follows.
add_filter( 'woocommerce_shop_manager_editable_roles', function( $roles ) { return array_merge( $roles, array( 'your_custom_role_1', 'your_custom_role_2') ); } );
It seems that the shop_manager is only allowed to edit the customer role.
Not sure why that’s the case, probably for security reasons, etc.
Forum: Plugins
In reply to: [Price Based on Country for WooCommerce] Filter/hook for changing pricesThank you! Will check them both and will report back if I face any problems.
Forum: Plugins
In reply to: [Price Based on Country for WooCommerce] A few quick questions!Hello @jdavis91
2. With the plugin can create you own zones and add one or more countries inside.
So yes, you can have different prices in the same currency as long as you create separate pricing zones for the countries you want.3. Automatic exchange rates updates are supported in the pro version.
The creator will probably verify 2, 3 and will give you more info on 1.
No need to completely remove/hide the template.
Just allow the user to delete theme if they do not need them.I believe this would be a quick fix for a future release.
Thank you and keep up the good work!
Hello @hitendra-chopda,
I have seen that option. However, that setting only hides the templates at the size charts admin page.
I try to completely remove/disable them so that they do not appear in the product backend page.
e.g. Say that you have 2-3 custom templates. When creating a new product and search for the correct custom template, then the default templates also appear, making the choice pretty messy.
Forum: Plugins
In reply to: [W3 Total Cache] XML feed and page cache exceptionsI currently have browser caching disabled so this should not be the case.
I will investigate further taking into account the info you gave me and will reopen a thread if the issue persists.
Once again, thank you for your reply!
Forum: Plugins
In reply to: [W3 Total Cache] XML feed and page cache exceptionsHello again,
So if I understood correctly, disabling the option “cache feeds: […]” will automatically exclude any .xml files within the website, regardless of their origin or file location.
I occasionally have issues with the feed not showing new products and clearing the W3 caches seems to show the correct/updated feed. Thus, I am trying to find out if it’s a caching issue or something different.
Next time the issue appears, I will check the .xml file directly through the server filesystem. If the issue is related to caching, then the xml file should be updated but the browser will still show the old file because of page caching. Right?
Thank you again!
- This reply was modified 2 years, 7 months ago by Lyk.
Forum: Plugins
In reply to: [W3 Total Cache] XML feed and page cache exceptionsHello @vmarko,
Thank you for your reply.
I have the “Cache feeds” option disabled. But I guess this is for the default wordpress feeds and not for custom feed created by plugins in various folders. Correct?
The feeds exist under
https://DOMAIN/wp-content/uploads/woo-product-feed-pro/xml/some_alphanumeric_id.xml
Will excluding
/wp-content/uploads/woo-product-feed-pro/.*
be enough?
Or should I use something like/wp-content/uploads/woo-product-feed-pro/xml/.*
or just with*
instead of.*
, i.e./wp-content/uploads/woo-product-feed-pro/xml/*
Thank you again!
Forum: Plugins
In reply to: [ElementsKit Elementor addons] Apache Error logs warningHello again,
Ok I am sharing the info here:
== Server Environment ==
Operating System: Linux
Software: Apache
MySQL version: MariaDB Server v10.3.32
PHP Version: 8.0.17
PHP Memory Limit: 512M
PHP Max Input Vars: 1000
PHP Max Post Size: 64M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected== WordPress Environment ==
Version: 5.9.3
Site URL: https://–
Home URL: https://–
WP Multisite: No
Max Upload Size: 64 MB
Memory limit: 128M
Max Memory limit: 512M
Permalink Structure: /%postname%/
Language: en-US
Timezone: Europe/Athens
Admin Email: —
Debug Mode: Inactive== Theme ==
Name: — Child
Version: 1.0.0
Author: —
Child Theme: Yes
Parent Theme Name: Astra
Parent Theme Version: 3.7.9
Parent Theme Author: Brainstorm Force== User ==
Role: administrator
WP Profile lang: en_US
User Agent: …== Active Plugins ==
Advanced Woo Search
Version: 2.51
Author: ILLIDClassic Widgets
Version: 0.3
Author: WordPress ContributorsCode Snippets
Version: 2.14.3
Author: Code Snippets ProElementor
Version: 3.6.2
Author: Elementor.comElementor Pro
Version: 3.6.4
Author: Elementor.comElementsKit Lite
Version: 2.5.5
Author: WpmetElementsKit Pro
Version: 2.6.4
Author: WpmetEssential Addons for Elementor
Version: 5.0.12
Author: WPDeveloperGDPR Cookie Consent
Version: 2.1.1
Author: WebToffeeMoo Elements
Version: 2.0.2
Author: José SoteloMoosend Website Tracking
Version: 1.0.187
Author: MoosendPiraeus Bank WooCommerce Payment Gateway
Version: 1.6.5.1
Author: PapakiPixelYourSite
Version: 8.2.18
Author: PixelYourSiteProduct Feed PRO for WooCommerce
Version: 11.5.1
Author: AdTribes.ioSmash Balloon Instagram Feed
Version: 6.0.4
Author: Smash BalloonW3 Total Cache
Version: 2.2.1
Author: BoldGridWC Hide Shipping Methods
Version: 1.5
Author: Rynaldo StoltzWooCommerce
Version: 6.3.1
Author: AutomatticWooCommerce PayPal Payments
Version: 1.7.1
Author: WooCommerceWooCommerce Smart COD
Version: 1.6.1
Author: woosmartcod.comWordfence Security
Version: 7.5.9
Author: Wordfence== Elementor Experiments ==
Optimized DOM Output: Active by default
Improved Asset Loading: Active
Improved CSS Loading: Active
Inline Font Icons: Inactive
Accessibility Improvements: Inactive
Import Export Template Kit: Active by default
Additional Custom Breakpoints: Active by default
Hide native WordPress widgets from search results: Active by default
: Inactive by default
Flexbox Container: Inactive by default
Default to New Theme Builder: Active by default
Landing Pages: Inactive
Color Sampler: Inactive
Favorite Widgets: Active by default
Admin Top Bar: Active by default
Page Transitions: Inactive
Form Submissions: Active by default
Scroll Snap: Inactive== Log ==
PHP: showing 3 of 3PHP: 2022-04-07 12:22:14 [warning X 2][/var/www/vhosts/[domain]/[…]/wp-content/plugins/elementor/core/experiments/experiments-reporter.php::89] Undefined array key "title" [array (
‘trace’ => ‘
#0: Elementor\Core\Logger\Manager -> shutdown()
‘,
)]
PHP: 2022-04-07 12:30:43 [warning X 1][/var/www/vhosts/[domain]/[…]/wp-content/plugins/elementor/core/common/modules/ajax/module.php::171] Undefined array key "data" [array (
‘trace’ => ‘
#0: Elementor\Core\Logger\Manager -> shutdown()
‘,
)]
PHP: 2022-04-07 16:29:11 [warning X 3][/var/www/vhosts/[domain]/[…]/wp-content/plugins/elementor-pro/modules/forms/classes/form-record.php::179] Undefined array key "referrer" [array (
‘trace’ => ‘
#0: Elementor\Core\Logger\Manager -> shutdown()
‘,
)]== Elementor – Compatibility Tag ==
Elementor Pro: Compatible
Essential Addons for Elementor: Compatible== Elementor Pro – Compatibility Tag ==
Essential Addons for Elementor: Compatible
Thank you!
- This reply was modified 2 years, 7 months ago by Lyk.
Forum: Plugins
In reply to: [ElementsKit Elementor addons] Apache Error logs warningHello @benjirahmed and thank you for your reply.
Sure, could you please provide me with an email to sent the information?
Forum: Plugins
In reply to: [WP Armour - Honeypot Anti Spam] Elementor PopupSame here.
Popup shows the JS error when WP Armour is active.
Using a clean setup of Astra theme.Will wait for the fix, thank you!