EncodeDotHost
Forum Replies Created
-
Just following up on this as it has been two weeks. Have you seen this on any other sites?
It was due to the default login and the PMPro login using the same function name.
@dcrabill You can see the changes that I made here: https://github.com/nbwpuk/simple-cloudflare-turnstile and specific commit here: https://github.com/ElliotSowersby/simple-cloudflare-turnstile/compare/master…nbwpuk:simple-cloudflare-turnstile:master
I did submit a PR, but waiting for it to be merged.
Hope that helps.
Neil.Forum: Reviews
In reply to: [EDH Bad Bots] Simple, does the job@asterselene Thanks for the review; Much appreciated and glad you found it useful.
Forum: Plugins
In reply to: [WP Snow Effect] Reduce MotionI think it would be a nice addition: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@media/prefers-reduced-motion
In the meantime, as a workaround, I have added this to the<head>of the site to override:<script>
(function ($) {
// Check for reduced motion preference
if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
// 1. Store a reference to the original jQuery prototype object
const originalFn = $.fn;
// 2. Replace $.fn with a Proxy object
// The Proxy intercepts attempts to define new properties (like .jSnow)
$.fn = new Proxy(originalFn, {
// Intercept attempts to 'set' a property on $.fn
set: function(target, prop, value) {
// Check if the property being set is the one we want to block
if (prop === 'jSnow') {
console.warn(Blocked definition of $.fn.${prop} due to prefers-reduced-motion.);
// We return true (success) without actually defining the property,
// effectively discarding the jSnow function definition.
return true;
}
// For all other properties, execute the original set operation
return Reflect.set(target, prop, value);
}
});
console.log("jQuery.fn is now guarded against jSnow definition.");
// Note: The original $.fn is still accessible via the 'target' inside the Proxy,
// so other plugins should still be able to define functions correctly.
}
})(jQuery);
</script>
Tested on Firefox and Chromium on Ubuntu and works well.Yours,
NeilAwesome. Glad it was helpful 🙂
@juaancmendez I have had this issue with a client’s website and can confirm that commenting out those two lines does rectify the issue.
Will this be removed in a future version? I’m conscious that the error could return on the next update.
Thanks in advance,
Neil- This reply was modified 6 months, 3 weeks ago by EncodeDotHost. Reason: sign-off
The error message “Maximum call stack size of 8306688 bytes (zend.max_allowed_stack_size – zend.reserved_stack_size) reached. Infinite recursion?” indicates that a program has entered an endless loop of function calls without a proper stopping point. This has caused the program’s memory allocation for storing these calls (the “call stack”) to exceed its limit.
Specifically, the error occurred in the file
/home/USER/public_html/wp-includes/post.phpon line1094. The detailed “Call stack” shows a recurring pattern of functions related to:- WordPress post handling (
get_post(),get_post_ancestors()) - Permalink generation (
get_page_uri(),_get_page_link(),get_page_link(),get_permalink()) - WooCommerce functionalities (e.g.,
WC_Cart::needs_shipping(),WC_Gateway_COD::is_available(),WC_Payment_Gateways::get_available_payment_gateways(),WC_Stripe_Express_Checkout_Helper::should_show_express_checkout_button(),WC_Tax::get_tax_location(),WC_Tax::get_rates(),wc_get_price_including_tax(),wc_get_price_to_display()) - DuracellTomi Google Tag Manager plugin (
gtm4wp_woocommerce_process_product(),gtm4wp_woocommerce_cart_item_product_filter()) - WooCommerce Gift Cards Lite plugin (
Woocommerce_Gift_Cards_Lite_Public::wps_wgm_wc_shipping_enabled())
The repeated calls, particularly involving
Woocommerce_Gift_Cards_Lite_Public::wps_wgm_wc_shipping_enabled()andgtm4wp_woocommerce_cart_item_product_filter(), suggest a conflict or an issue within the WooCommerce plugins or the DuracellTomi Google Tag Manager plugin, or an interaction between them. This is likely creating an infinite loop when the system tries to calculate prices or determine shipping availability.How?
Hi Mara,
Thank you for looking into this, I appreciate it!
Yours,
Jacob.@joneiseman Thank you very much for the update and your input! Could you clarify, we just need to amend line 708 on that file (wp-content/plugins/events-manager/classes/em-bookings.php), and not run any SQL in the database?
Many thanks,
Jacob 👋To confirm, we’re also seeing this same database error on a client’s website with the same missing table.
Thanks, Jacob 👍
@rsouzaam Yes, of course. The client had really simple form needs, so this definitely wasn’t something against WPForms Lite. 👍
@rsouzaam Thanks for following up.
Since raising this, the client has switched out for another form plugin, which has then in turn resolved this issue.
Hi Hendra,
Thank you for your response, it is appreciated.
Unfortunately, we’ve decided to use a different plugin to display my client’s Instagram feed as she needed it up and running ASAP.
Thank you for all your help with this issue, have a nice day!
Yours, Jacob.
Hey again Hendra,
I used the workaround as you advised, and the previous error log when trying to update the feed is gone, however the feed is still not updating and is now coming up with the following Error:
The Instagram API responded with an error: Error #190 [OAuthException]: Got unexpected null
Spotlight Error MessageCan you advise how to get the feed to update again?
Yours, Jacob.