Nino Mihovilic
Forum Replies Created
-
Hi!
Yes, it works with the snippet, but I don’t think this is a long-term solution. I would need to figure out which countries don’t use “state” and then add those to the snippet. This will only fix the issue on my site, while others will still have the same problem with the your plugin. When using WooPayments, it works normally without adding any snippet.
Hi!
Which country is being used when the issue occurs?
I’m using Croatia.
Which wallet (Apple Pay, Google Pay) and which gateway is processing it?
Apple Pay, WooCommerce Square
Hi!
I don’t use Google Pay, so I’m not sure if it works correctly in production, but while testing, it worked. It worked because I can see that Google populates the fields with random data, which has the State field set.
Hi!
Here is the link https://ninomihovilictestingo.wpcomstaging.com.
System report -> https://pastebin.com/YDGJbbpM
It’s important to not have State set on the Apple Pay account. This is what causes the issue.
Hi!
Sorry, now I’ve noticed that I wrongly explained above. In the plugin code
billing_stateandshipping_statestate are NOT set torequired false, but instead onlybilling_company&shipping_companyare set torequired false.The issue happens if you are using a Digital Wallet in a country where state is not mandatory (not set in Apple Wallet for example), WP returns validation errors that the state is a required field which breaks the purchase flow.
Hi! We have the same issue.
The issue originates from the
EmbedPress\Includes\Classes\Analytics\Data_Collectorclass, which performs an unbounded query (SELECT ID, post_content, post_type FROM wp_posts WHERE ...) that scans all posts of all types, which can cause OOM errors if your site has a lot of posts.The issue is triggered by the
MilestoneNotificationclass, which hooks into the WordPress Dashboard to display milestone-related notices.Within
MilestoneNotification::should_show_milestone(), it callsAnalytics_Manager::get_total_content_by_type()→Data_Collector::get_total_content_by_type().Hope this help!
Forum: Plugins
In reply to: [The Events Calendar] Customizer Memory ErrorHi Atousa!
The issue occurs because I have over 2,000 events in the plugin. I’ve limited the
tribe_eventsper page to 10 in the customizer, and now it works. Here is the code in case someone else encounters the same issue./**
* Cap Events Calendar queries for customizer preview for memory issues.
*
* @param WP_Query $current_query The current query object.
*
* @return void
*/
function mc_limit_tribe_queries( $current_query ) {
if ( ! ( $current_query instanceof WP_Query ) ) {
return;
}
if ( 'tribe_events' !== $current_query->get( 'post_type' ) ) {
return;
}
if ( ! is_customize_preview() ) {
return;
}
$posts_per_page = (int) $current_query->get( 'posts_per_page' );
if ( $posts_per_page <= 0 || $posts_per_page > 10 ) {
$current_query->set( 'posts_per_page', 10 );
}
$current_query->set( 'no_found_rows', true );
$current_query->set( 'update_post_meta_cache', false );
$current_query->set( 'update_post_term_cache', false );
}
add_action( 'pre_get_posts', 'mc_limit_tribe_queries', 9 );I’ve reported the topics to the moderators to remove the system information from my first message.
Hi Adrian!
Yeah, it’s true that
wp-cron.phpuses the same flow, but since it’s part of the WP core, other plugins, caching mechanisms, etc. are already aware of it and can exclude/whitelist that file.Your file isn’t part of the WP core, and in my opinion, it’s easier to fix your file than to expect everyone else to know they need to handle it.
We fixed the file on our side, so we’re fine, but I just wanted to suggest an improvement.
Forum: Plugins
In reply to: [The Events Calendar] Fatal Error on PHP 8+Hi Darian,
yes we are using PHP 8. But even with the PHP 8.0 version it throws that error.
- PHP – 8.0
- WordPress – 6.1.1
- The Events Calendar – 6.0.10
- Theme is custom
The issue exists because of bad code in that part. The function “get_the_terms” can return false but that is not being checked. I believe that this fix should be added.
Hi Steve,
thank you. Will it be in the next version? So, we can keep an eye out if it’s fixed.
Forum: Plugins
In reply to: [The Events Calendar] 404 Error on Recurring Events | The Events CalendarHi!
I’m having the same issues as above. This happens only on Events Calendar Version 6.0.2 on 6.0.0 it works ok.
Hm I found the problem. All image jpg-s have a mime type “image/x-citrix-jpeg”, because my client probably uploads an image in IE and Citrix. Could you enable support for this mime type?
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Deprecated acfe/flexible/previewWorks! Thanks!
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Custom Gutenberg compatibilityIt works 🙂 thanks 🙂
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Custom Gutenberg compatibilityHi,
it works now with the filter. Tnx