robertstaddon
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Admin Bar Missing on front end Divi SitesI have confirmed that it is the following two lines of code added in LiteSpeed Cache 6.4 on lines 369 and 370 of src/esi.cls.php (to fix the Elementor button on the admin bar) that is causing the top admin bar to disappear on the frontend of all these Divi installs.
remove_action('wp_body_open', 'wp_admin_bar_render', 0);
add_action('wp_body_open', array($this, 'sub_admin_bar_block'), 0);I haven’t figured out exactly why quite yet and how to duplicate this on a clean new staging install…
Forum: Plugins
In reply to: [LiteSpeed Cache] Admin Bar Missing on front end Divi SitesI’ve repeated these same steps with a brand new dev site with Divi and LiteSpeed with ESI enabled and I am also unable to replicate the issue of the admin bar disappearing on the frontend.
However, I have over a dozen live sites where this issue is very much a problem and oddly enough disabling all other plugins does not seem to resolve it. There must be a special LiteSpeed or Divi setting somewhere that’s causing the problem but so far I have not been able to pinpoint it. In fact, the only solution that I’ve found so far for all of these live sites has been to roll back to LiteSpeed 6.3.0.1.
At the moment I’m working through the LiteSpeed 6.4 update code line by line to find out which one is triggering the problem. I’ll let you know what I find…
You might want to check your plugins and make sure that the latest version of “Product Recommendations – Custom Locations” is both installed and activated. Everything is working fine for me after updating to Product Recommendations to the latest 4.0.2 version but I had to go in and re-activate this “Product Recommendations – Custom Locations” to get the “Custom Locations” tab back. (For some reason upgrading this plugin to 2.0 caused it to deactivate and need to be re-activated.)
This issue has been resolved in the latest version of Woo Product Recommendations 4.0.2!
Forum: Plugins
In reply to: [WooCommerce] Always visible “add a discount code” form on the checkout pageThis would be a very helpful feature to have! I just added a feature request for it: https://woocommerce.com/feature-request/allow-the-cart-and-checkout-blocks-coupon-field-to-be-displayed-by-default/
I found the following snippet of code on the #developer Slack channel:
function enqueue_open_coupon_section_script() {
// Check if we are on the checkout page
if ( is_checkout() || is_cart() ) {
?>
<script type="text/javascript">
// using MutationObserver to detect when the coupon section is added to the DOM
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (mutation.addedNodes && mutation.addedNodes.length > 0) {
var couponButton = document.querySelector('.wc-block-components-totals-coupon button');
if (couponButton && !document.querySelector('.wc-block-components-totals-coupon').classList.contains('is-open')) {
couponButton.click();
observer.disconnect();
}
}
});
});
observer.observe(document.body, {
childList: true,
subtree: true
});
</script>
<?php
}
}
add_action('wp_footer', 'enqueue_open_coupon_section_script');Forum: Plugins
In reply to: [LiteSpeed Cache] Admin Bar Missing on front end Divi SitesI’m having the same issue on a bunch of Divi sites after updating to this latest version of LiteSpeed Cache. If ESI is turned on, the admin bar disappears on the frontend. It can re-appear intermittently but then disappears again. I’ve tried disabling all plugins and it appears to not be plugin related. It’s just an issue with Divi + ESI + the latest version of LiteSpeed Cache causes issues with the frontend admin bar.
Thank you!
I started getting this exact same error on all of my sites using the now-default “High-Performance Order Storage” in WooCommerce after installing this latest 1.0.9 plugin update of Variation Swatches for WooCommerce by CartFlows
Forum: Reviews
In reply to: [Code Snippets] Good to organise your code but slowed my website@bungeshea Thank you for sharing about this work to load snippets directly from files instead of from the database. I was really intrigued to see how this was being done by FluentSnippets and thought that it made a lot of sense to improve performance and efficiency. Please keep us posted on your progress in this area!
Thank you!
Forum: Plugins
In reply to: [Wise Chat] “No Channel available” after updateI was having this same “No Channel available” message with no chat after updating to the latest version of this plugin and found the following error in my error logs:
WordPress database error Unknown column 'chat_recipient_id' in 'where clause' for query SELECT * FROM wp_wise_chat_messages WHERE channel = 'global' AND (chat_recipient_id IS NULL OR chat_recipient_id = '') ORDER BY id DESC LIMIT 100Sure enough, there was no ‘chat_recipient_id’ column in the ‘wp_wise_chat_messages’ table! I deactivated and reactivated the Wise Chat plugin and the issue was fixed! The ‘chat_recipient_id’ column had been created and the chat loaded fine after that.
Forum: Plugins
In reply to: [Social Sharing Plugin - Social Warfare] NO MORE SHARE COUNTS??I received this response from Social Warfare Pro support:
We have recently made the tough decision to remove Facebook share counts from Social Warfare. We have just published a blog-post explaining the reasons why we decided to make this change. You can read our blog-post here: https://warfareplugins.com/why-were-saying-goodbye-to-facebook-share-counts-on-our-plugin/
Forum: Plugins
In reply to: [Social Sharing Plugin - Social Warfare] NO MORE SHARE COUNTS??We’ve experienced the same issue with all three sites we host that use Social Warfare. Social Share counts have completely disappeared.
I’m also curious if ACF Pro is planning to release an update with HPOS compatibility. I just tried upgrading to HPOS on a site but had to roll it back when I found that none of my ACF fields worked.
Forum: Plugins
In reply to: [Pinterest for WooCommerce] Start Verification issue!!!I just found this https://github.com/woocommerce/pinterest-for-woocommerce/pull/876 and followed steps 7-8 to go to the wp_options database table, search for the pinterest_for_woocommerce option, and carefully edit the “verified_user_websites” subset by removing the website domain from the list. After that, I was finally able to complete the setup process.