massimomegistus
Forum Replies Created
-
Hello, after updating to 6.0.2 release this issue seems to be solved.
Thank you!
Forum: Plugins
In reply to: [The Events Calendar] Migration preview errorsHello, I have the same error:
The event ** generated an error: [The 32400 is greater than the duration of the event. The start_date and start_date_utc has a conflict when using the timezone of the event.. The end_date_utc does not match the value of end_date with the timezone.].I have a location based Timezone (Europe/Rome) and I’m using Gutenberg on Event.
I noticed that whenever changing an Event date, only _EventStartDate and _EventEndDate are updated, while _EventStartDateUTC and _EventEndDateUTC remain unchanged. For example, I’ve updated the date of an event, from 2022-08-03 to 2022-10-05 and these are is post_meta:
_EventStartDate: 2022-10-05 08:00:00
_EventEndDate: 2022-10-05 10:00:00
_EventStartDateUTC: 2022-08-03 06:00:00
_EventEndDateUTC: 2022-08-03 15:00:00Forum: Themes and Templates
In reply to: [Blocksy] Blocksy companion security modeHello Eduard, I’m here again :p
In’ve justo noticed that now on my blocksy account all domains are disappered, while in WP Bloclsy->Account page /wp-admin/admin.php?page=ct-dashboard-account the site id is still 9775282 (never changes);
I migrated the site using wp-migrate plugin, that replaces each occurrence of the localhost dev domain with the new domain, but seems that in wp-option there are still 4 occurrences of local domain. I see that also in the fs-data-dump-xxx.txt and freemium-fixer doesn’t remove it.
I’ll check whether these options are still in the database and I’ll let you know
‘fs_accounts’
‘fs_dbg_accounts’
‘fs_active_plugins’
‘fs_api_cache’
‘fs_dbg_api_cache’
‘fs_debug_mode’Update: they are still there.
It seems that fs_site_cleanup() doesn’t remove them.
Can I do that manually?- This reply was modified 2 years, 2 months ago by massimomegistus.
Forum: Themes and Templates
In reply to: [Blocksy] Blocksy companion security modeHello Eduard,
after the cleaning appears the message “Freemius records successfully cleared! You are now safe to activate any Freemius-powered plugin or theme.” but reactivating Blocksy companion the previous account is still there, with the message “Blocksy Companion entered security mode because dig.hellobnkr.it was found to be an exact copy of localhost:8888/wp-dig-awards/”Ps: I removed my account screenshots
- This reply was modified 2 years, 2 months ago by massimomegistus.
- This reply was modified 2 years, 2 months ago by massimomegistus.
Forum: Themes and Templates
In reply to: [Blocksy] Blocksy companion security modeHello Eduard,
after cliking, the cursor turns to “wait” and then… nothing.
I have also tried the other two buttons, and now i have various “dig.hellobnkr.it” in my account- This reply was modified 2 years, 2 months ago by massimomegistus.
Forum: Plugins
In reply to: [The Events Calendar] Single event page: duplicate queryHello @abzlevelup ,
I confirm that the fix solves the issue!Good job!
Thank you!Forum: Plugins
In reply to: [The Events Calendar] Single event page: duplicate queryI’ve cloned the application on stage server (php 7.4.30, 7.4.21 in local dev)
The warning appears in the same way, but php logs are different
1) After opening a Edit Event Screen (Gutenberg editor)
[08-Jul-2022 07:54:08 UTC] PHP Notice: Undefined index: post_id in /wp-content/plugins/the-events-calendar/src/views/blocks/event-website.php on line 292) After changing Event end time and updating the event
[08-Jul-2022 07:54:09 UTC] PHP Notice: Undefined property: stdClass::$status_id in /wp-content/plugins/sitepress-multilingual-cms/classes/ATE/class-wpml-tm-ate.php on line 57
[08-Jul-2022 07:54:58 UTC] PHP Notice: Undefined index: post_id in /wp-content/plugins/the-events-calendar/src/views/blocks/event-website.php on line 29
[08-Jul-2022 07:54:59 UTC] PHP Notice: Undefined property: stdClass::$status_id in /wp-content/plugins/sitepress-multilingual-cms/classes/ATE/class-wpml-tm-ate.php on line 573) The warning “Update failed. Could not update the meta value of _EventVenueID in database.” appears in the Edit Event Screen`
Forum: Plugins
In reply to: [The Events Calendar] Single event page: duplicate queryPhp warnings in debug.log
1) After opening a Edit Event Screen (Gutenberg editor)
[08-Jul-2022 06:50:03 UTC] PHP Notice: Undefined index: post_id in /wp-content/plugins/the-events-calendar/src/views/blocks/event-website.php on line 292) After changing Event end time and updating the event
[08-Jul-2022 06:50:47 UTC] PHP Warning: array_filter() expects parameter 1 to be array, bool given in /wp-content/plugins/the-events-calendar/src/Tribe/Editor/Meta.php on line 150
[08-Jul-2022 06:50:51 UTC] PHP Notice: Undefined index: post_id in /wp-content/plugins/the-events-calendar/src/views/blocks/event-website.php on line 293) The warning “Update failed. Could not update the meta value of _EventVenueID in database.” appears in the Edit Event Screen
Forum: Plugins
In reply to: [The Events Calendar] Single event page: duplicate queryHello,
after further tests I can say that the exact warning in english is “Update failed. Could not update the meta value of _EventVenueID in database.”.
It occurs only when the event date or time are updated, but not when updating Event content. Anyway, everything is saved as expected.
As a side note: I’m using WPML Advanced Translation Editor (default and recommended option)
https://wpml.org/documentation/translating-your-contents/translation-editor-options/
The connected Venue is translated in both the languages on the site, and so the event.
The warning appears even in events that exist in primary language only and doesn’t occurs if WPML is not active.Massimo
- This reply was modified 2 years, 4 months ago by massimomegistus.
Forum: Plugins
In reply to: [The Events Calendar] Single event page: duplicate queryHello @abzlevelup, glad to hear that.
I haven’t contacted the wpml team yet but I will for sure.I’ve just noticed that, whether WPML is active, when updating an Event (using Gutenberg Editor) this warning appears:
“Aggiornamento fallito. Impossibile aggiornare il valore meta di _EventVenueID nel database.”
In english:
“Update failed. Failed to update _EventVenueID meta value in database.”Is this a known issue?
Thank you.
Forum: Plugins
In reply to: [The Events Calendar] Single event page: duplicate queryA possibile dirty solution could be cashing the main event venue id in a global variable: this way, tribe_get_event_meta is called once instead of sixty times.
src/functions/template-tags/venue.php
function tribe_get_venue_id( $postId = null ) {
$postId = Tribe__Events__Main::postIdHelper( $postId );
if ( tribe_is_venue( $postId ) ) {
return $postId;
} else {
/**
* Allow for customizing the Venue ID retrieved for this item.
*
* @since ??
* @since 4.5.12 Added docblock and venue ID to filter.
*
* @param int $venue_id The Venue ID for the specified event.
* @param int $postId The ID of the event whose venue is being looked for.
*//*
* bnkr: cash current post venue_id
*/
global $wp_query, $main_post_venue_id;
if (is_singular( Tribe__Events__Main::POSTTYPE ) && $wp_query->query_vars[‘p’] === $postId) {
if (!$main_post_venue_id) {
$main_post_venue_id = apply_filters( ‘tribe_get_venue_id’, tribe_get_event_meta( $postId, ‘_EventVenueID’, true ), $postId );
}
return $main_post_venue_id;
} else {
return apply_filters( ‘tribe_get_venue_id’, tribe_get_event_meta( $postId, ‘_EventVenueID’, true ), $postId );
}
// return apply_filters( ‘tribe_get_venue_id’, tribe_get_event_meta( $postId, ‘_EventVenueID’, true ), $postId );
}
}Without this snippet:
Memory usage:
94.225.144 byte (89,9 MB)
70,2% of 128 MB WordPress limit
Database queries
0,0265s
Total: 220
With this snippet:
Memory usage:
92.065.728 byte (87,8 MB)
68,6% of 128 MB WordPress limit
Database queries
0,0219s
Total: 161- This reply was modified 2 years, 4 months ago by massimomegistus.
Forum: Plugins
In reply to: [Getwid - Gutenberg Blocks] Huge query numberAmazing!
Thank you.Forum: Plugins
In reply to: [Mailchimp for WooCommerce] Sign in during checkout [GDPR]Same problems for me
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] GPDR opt-inI’ve noticed the same problem