• Resolved qaws

    (@qaws)


    If I have no future events scheduled, accessing the “/events/” url of my site gives a HTTP 500 error if the default view is List or Day. Month works perfectly.

    If I publish a future event, I get a 500 error only when using a view of Day, if the event is not set to today’s date. List and Month work correctly in this case.

    I read a few minutes ago (although I can’t find the reference now) to use the Debug Bar to get the error, but there were no notes on how to use this. Also, I can’t use it on the page which gives a 500 error because it doesn’t render anything to the screen.

    Any advice you can give would be much appreciated.

    https://wordpress.org/plugins/the-events-calendar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter qaws

    (@qaws)

    I enabled WP_DEBUG and WP_DEBUG_DISPLAY so that accessing /events/ displays the error.

    Warning: Attempt to assign property of non-object in page.php on line 16

    Line 16 of my theme page.php says:
    $latteParams['post']->classes = implode(' ', get_post_class());

    So it looks like it’s trying to get the post class but failing? My theme is out of support, so do you have any suggestions how I can fix this?

    Thread Starter qaws

    (@qaws)

    Oh, it looks like I asked this before but it’s still not fixed for me and it was mistakenly marked as resolved:
    https://wordpress.org/support/topic/warning-attempt-to-assign-property-of-non-object-1

    From your previous comments, it looks like my issue was introduced with v3.10 so it would be good to have a look at the code to see what changed.

    Hi and thank you for posting,

    Unfortunately, theme support is out of the scope we’re able to provide :-/

    A few bits of info worth exploring are our Themer’s Guide and Testing for conflicts articles.

    Best of luck with the issues/customizations and have a good week!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTTP 500 error if no future events’ is closed to new replies.