• Resolved linam

    (@linam)


    Hi! It’s my mom’s website. A 10 days ago categories pages stopped working, perhaps just after the last plugin update. Now instead of category list the following messages display:
    Warning: Creating default object from empty value in /home/popotamb/public_html/wp-content/plugins/events-manager/classes/em-taxonomy-frontend.php on line 50
    Warning: Creating default object from empty value in /home/popotamb/public_html/wp-content/plugins/events-manager/classes/em-taxonomy-frontend.php on line 52
    For instance: http://popotam.bg/categories/02-00/02-02
    Any help?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • You’re not the only one…. Mine’s stopped working too. I’m using version 5.9.7.3. Everything works great except for my category pages. Not sure why…

    @linam I was able to fix it on my end. For whatever reason 3 months ago I had event categories working perfectly, but I got back into the code today and PHP was having issues with the way I formatted my dates. I decided to abandon the strings that stored “Y-m-d” entirely and had my strings use the more reliable UNIX format of just time(), then you can format the strings afterwards with date(“Y-m-d”, $string);

    The only way I figured this out is my dates were reverting back to 1970. It is odd, because as mentioned earlier, I had categories working not long ago. I’ve not upgraded PHP.

    Best of luck on your end.

    Thread Starter linam

    (@linam)

    @rcarmichael I just wanted to try your suggestion but there was an EM update. I made it and the problem seems to be solved. My current version is 5.9.8.1. Thank you and good luck!

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

The topic ‘Problem with displaying categories pages’ is closed to new replies.