Dustin L.
Forum Replies Created
-
I created an issue on GitHub: https://github.com/woocommerce/woocommerce/issues/63373
Forum: Plugins
In reply to: [Easy Table of Contents] Smooth Scroll of Offset Not WorkingThis problem has been resolved.
Thank you
Forum: Plugins
In reply to: [Easy Table of Contents] Smooth Scroll of Offset Not WorkingI got this working by switching the TOC Loading Method to JavaScript. Then I saw the option to enable Smooth Scroll.
Forum: Plugins
In reply to: [WooCommerce] KILLED QUERY on WP EngineThank you. I implemented the:
define( 'WPE_GOVERNOR', false );…code yesterday. I didn’t get the KILLED QUERY notice overnight and the site is still standing, so I guess it is okay.
Forum: Plugins
In reply to: [WooCommerce] KILLED QUERY on WP EngineHi @mosesmedh
Thanks for your help!
We have received on average 7 orders per day so far this year.
Here is the info you requested:
fatal-errors-2025-02-21.log
https://pastebin.com/LL8g5N9Zplugin-woocommerce-2025-02-24.log
https://pastebin.com/zsBEmYsMSystemStatusReport_redacted.com_2025-02-24T17-21-04.txt
https://pastebin.com/DSbc5wT8The last fatal errors report was on February 21. The same KILLED QUERY errors occurred today (February 24), so I’m not sure that the fatal errors are a factor.
One thing that may be involved:
This store has been around since before HPOS. In December, I enabled HPOS with compatibility mode. It was on for a few days until I discovered a problem. At that time, I switched back to WordPress posts storage (legacy) and disabled compatibility mode.
Could this be a left over process from then? The store has over 11,000 orders.
Thank you
Forum: Plugins
In reply to: [Schema & Structured Data for WP & AMP] Unexpected Schema OutputPlease disregard this request.
I understand why the VideoObject schema was added to the page now.
There isn’t a video embedded on the page but we do link to a video. I guess that is why the VideoObject schema is added.
I no longer need help.
Forum: Plugins
In reply to: [Easy Table of Contents] Plugin Does Not Save Changes@registriran By the way, installing the previous version, 2.0.66, will fix the problem.
Forum: Plugins
In reply to: [Easy Table of Contents] Plugin Does Not Save ChangesI’m having the same issue and reported this to the support team earlier today.
You are right. This is resolved now.
Thanks
Does on_all_plugins() really need all of the logic it has now? Since you already know the directory and filename for the plugin, can’t this be made much simpler?
public static function on_all_plugins( $all_plugins ) { $all_plugins[ 'woocommerce-legacy-rest-api/woocommerce-legacy-rest-api.php' ][ 'Description' ] = 'The legacy WooCommerce REST API, which is now part of WooCommerce itself but will be removed in WooCommerce 9.0.'; return $all_plugins; }…That seems to fix the issue on my system.
I think the original code is causing problems when I am on a Windows server.
I found out how to reproduce it. The bug only seems to be present on my local development environment: Laragon.
I installed a fresh copy of WordPress, WooCommerce, and WooCommerce Legacy REST API and the same issue occurred.
I noticed the active plugin has the description: The legacy WooCommerce REST API, which used to be part of WooCommerce itself but is removed as of WooCommerce 9.0.
…which is found in the typical plugin header of woocommerce-legacy-rest-api.php.
The phantom plugin has a different description: The legacy WooCommerce REST API, which is now part of WooCommerce itself but will be removed in WooCommerce 9.0.
…which is found in \includes\class-wc-legacy-rest-api-plugin.php
/** * Handler for the all_plugins hook, used to change the description of the plugin if it's seen before June 2024. */ public static function on_all_plugins( $all_plugins ) { $plugin_relative_path = str_replace( WP_PLUGIN_DIR . '/', '', self::$plugin_filename ); $all_plugins[ $plugin_relative_path ][ 'Description' ] = 'The legacy WooCommerce REST API, which is now part of WooCommerce itself but will be removed in WooCommerce 9.0.'; return $all_plugins; }…which is called by:
// 1717192800 = June 1st, 2024 if( time() < 1717192800 ) { add_action( 'all_plugins', self::class . '::on_all_plugins' ); }For some reason, my installation is showing both descriptions.
Thank you for getting back to me.
The problem only exists on a local development version of our production site.
I don’t know how to reproduce the problem.
To troubleshoot, I created a copy of the site and changed the theme to Twenty Twenty-Four and deleted all plugins except WooCommerce & WooCommerce Legacy REST API. I also deleted all transients and deleted the uninstalled_plugins and active_plugins options.
There is nothing else in my plugins folder:
View post on imgur.com
The phantom entry is still there:
View post on imgur.com
Any other ideas?
Forum: Plugins
In reply to: [Payment Plugins for PayPal WooCommerce] Euros showing on USD store?It turns out her browser was automatically translating the page to German. When it did that, it changed the $ sign to the € sign. It didn’t change the amount.
She disabled the translation and the price was displayed as it should be.
Forum: Plugins
In reply to: [Payment Plugins for PayPal WooCommerce] Euros showing on USD store?I’m sorry! I created this thread under the PayPal plugin by accident. I am actually using your Stripe plugin:
It is the only payment gateway enabled on the site.
Could your Stripe plugin be showing Euros to our customer? Any other thoughts on this?
Sorry for the confusion.