• Resolved peter8nss

    (@peter8nss)


    I’m seeing the following error in my system log:

    PHP Warning: Array to string conversion in …../wp-content/plugins/the-events-calendar/src/Tribe/Ignored_Events.php on line 193′

    This is happening when I use bulk actions to delete multiple events. In this case, the ids of the events to be deleted are passed as multiple &post args. This causes problems in function action_restore_events() which is expecting tribe_get_request_var( ‘post’, ” ) to return one value but instead gets an array. Hence, the error reported.

    This warning would easily be avoided if the check on action were moved before the check on nonce.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Darian

    (@d0153)

    Hi @peter8nss

    Thank you so much for bringing this to our attention. I’ve tested this on my own site and can confirm that I’m able to replicate the issue you described.

    To ensure this gets addressed, I’ve created an internal bug ticket (TECTRIA-1401) and included the details from this conversation so our development team is fully informed.

    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. We’ll also update you here as soon as the fix is released.

    In the meantime, if you’d like to prevent the PHP warning from appearing in your debug log or page, you can temporarily disable debugging. Please rest assured that this warning does not affect the core functionality of the plugin—everything should continue to work as expected.

    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-1401

    Plugin Support Darian

    (@d0153)

    Hi there,

    We haven’t heard back from you in some time, so this thread will be closed for now. Rest assured, we will update you here once the fix is out.

    If you require additional support, you may reopen this thread or submit a new one at your convenience.

    Plugin Support Darian

    (@d0153)

    Hi there,

    Great news! We’ve just released an update that addresses the issue you experienced when deleting multiple events.

    To benefit from this fix, please update The Events Calendar plugin on your site to the latest version.

    If you run into any problems after updating, or have any other questions, don’t hesitate to reach out—we’re here to help!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Array to string conversion in Ignored_Events.php on line 193’ is closed to new replies.