• Resolved peter8nss

    (@peter8nss)


    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)
  • Plugin Support tristan083

    (@tristan083)

    Hi @peter8nss ,

    Thank you for reaching out and bringing this to our attention.

    For me to understand and learn more about your setup, could you provide the versions of the following?

    1. PHP
    2. WordPress
    3. The Events Calendar
    4. Theme and Version
    Thread Starter peter8nss

    (@peter8nss)

    • PHP: 8.3.13
    • WordPress: 6.7.1
    • Event Calendar: 6.8.3
    • Theme: Proprietary
    Plugin Support Darian

    (@d0153)

    Hi @peter8nss

    I’m glad you brought this to our attention. In the meantime, I’ve created an internal ticket [TECTRIA-603] to address this issue and I’ve included your specific use case in it to communicate it to our team.

    We prioritize bugs by taking into consideration the number of users impacted as well as how the bug impacts one’s ability to run an event/sell tickets. I don’t have a specific timeline as to when this issue will be resolved, but trust that our team is aware. Our team communicates updates and bug fixes in our newsletter and via our changelog.

    I’m happy to help if any other questions are coming up around this topic, otherwise I’ll go ahead and close this ticket.

    Thanks again for reporting this issue and for using The Events Calendar! Have a great day.

    Internal Bug Ticket Reference: TECTRIA-603

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.