leedxw
Forum Replies Created
-
Just noting that this still appears to be the case in 2.3.0
PHP Deprecated: Implicit conversion from float 62901.067733764634 to int loses precision in wp-content/plugins/broken-link-checker/legacy/modules/extras/youtube.php on line 31
I honestly don’t understand your reference to “permalink to post name”?
I’m seeing a lot of
WordPress database error Incorrect DATETIME value: ''
in the logsthe full query looks like
SELECT SQL_CALC_FOUND_ROWS (wp_tec_occurrences.occurrence_id + 10000000) as occurrence_id
FROM wp_posts
LEFT JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = '_EventHideFromUpcoming' )
JOIN wp_tec_occurrences ON wp_posts.ID = wp_tec_occurrences.post_id
WHERE 1=1
AND (
CAST(wp_tec_occurrences.start_date AS DATETIME) < ''
AND wp_postmeta.post_id IS NULL
)
AND wp_posts.post_type = 'tribe_events'
AND ((wp_posts.post_status = 'publish'))
AND (wp_posts.ID NOT IN (67146))
GROUP BY wp_tec_occurrences.occurrence_id
ORDER BY wp_tec_occurrences.start_date_utc DESC, wp_posts.post_date DESC
LIMIT 0, 1This is happening on requests for venue pages.
The venue page is being treated as a single event, but this is causing
get_closest_event()
to construct a query that references_EventStartDate
which is empty on venues.I think I can prevent the error by editing
src/Tribe/Views/V2/Template_Bootstrap.php
and removing the linetribe_context()->get( 'tec_post_type' ),
fromis_single_event()
this is the-events-calendar=6.6.0.2
- This reply was modified 3 months, 3 weeks ago by leedxw.