• l r

    (@lainyrache)


    Hi
    I am getting constant, repeated errors in my error log relating to Events Manager. It doesn’t seem to be causing as issue on the website, but it’s worrying how these are coming in every few minutes.

    This is the error:

    [06-Jun-2024 09:47:44 UTC] PHP Warning:  Attempt to read property "post_type" on null in .../wp-includes/link-template.php on line 4155
    [06-Jun-2024 09:47:44 UTC] PHP Warning:  Attempt to read property "post_type" on null in .../wp-includes/link-template.php on line 4157
    [06-Jun-2024 09:50:45 UTC] PHP Warning:  Attempt to read property "post_type" on null in .../wp-includes/link-template.php on line 4155
    [06-Jun-2024 09:50:45 UTC] PHP Warning:  Attempt to read property "post_type" on null in .../wp-includes/link-template.php on line 4157
    [06-Jun-2024 09:51:22 UTC] PHP Fatal error:  Uncaught TypeError: reset(): Argument #1 ($array) must be of type array, null given in /wp-content/plugins/events-manager/classes/em-tickets.php:294
    Stack trace:
    #0 .../wp-content/plugins/events-manager/classes/em-tickets.php(294): reset()
    #1 .../wp-content/plugins/events-manager/classes/em-event.php(2060): EM_Tickets->rewind()
    #2 .../wp-content/plugins/events-manager/classes/em-event.php(2235): EM_Event->is_free()
    #3 .../wp-content/plugins/events-manager/classes/em-event.php(2079): EM_Event->output()
    #4 .../wp-content/plugins/events-manager/templates/templates/event-single.php(22): EM_Event->output_single()
    #5 .../wp-content/plugins/events-manager/events-manager.php(837): include('/...')
    #6 .../wp-content/plugins/events-manager/classes/em-event-post.php(165): em_locate_template()
    #7 .../wp-includes/class-wp-hook.php(324): EM_Event_Post::the_content()
    #8 .../wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #9 .../wp-includes/post-template.php(256): apply_filters()
    #10 .../wp-content/themes/twentythirteen-bc/page.php(29): the_content()
    #11 .../wp-includes/template-loader.php(106): include('/...')
    #12 .../wp-blog-header.php(19): require_once('/...')
    #13 .../index.php(17): require('/...')
    #14 {main}
      thrown in .../wp-content/plugins/events-manager/classes/em-tickets.php on line 294

    Can anyone help with what might be causing this?

    Thanks

  • You must be logged in to reply to this topic.