Bulk binning of mutiple events error
-
Getting PHP warning in system log:
Array to string conversion in .../plugins/the-events-calendar/src/Tribe/Ignored_Events.php on line 193'
Seems to be caused by selecting two published events in Event Admin screen, choosing bulk action “Move to bin” and clicking “Apply”.
Url submitted is of form:
.../wp-admin/edit.php?s=&post_status=all&post_type=tribe_events&_wpnonce=7344071d9f&_wp_http_referer=%2Fwp-admin%2Fedit.php%3Fpost_type%3Dtribe_events&action=trash&bulk_action=Apply&m=0&paged=1&post%5B%5D=428&post%5B%5D=412&action2=trash
I suspect having two “post” arguments means that line 193 of Ignored_Events.php:
tribe_get_request_var( 'post', '' )
Will return an array rather than the expected string. Hence, the error in the system log.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.