Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    can I know what is your current EM version? also, the quick fix solution would be to turn display_errors to off on your php settings (ask your hosts).

    Thread Starter scharc

    (@scharc)

    WordPress: 3.6
    EM Version: 5.4.4

    Hiya,

    I am unable to reproduce this error I’m afraid. However, as it’s only a Warning it’s not critical and so the suggested solution in this case is as Angelo suggested, to change your display errors settings.

    Thanks,
    Phil

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    if you could post a screenshot with your Settings > Pages > Event Categoryies section that may help us reproduce this.

    does this happen with a default wp theme like twenty twelve?

    Happens with EM 5.5 when you try to display a single event category. Did not happen with EM 5.4.4.

    Warning: Creating default object from empty value in …/wp-content/plugins/events-manager/classes/em-category-taxonomy.php on line 22

    Settings>Pages>Event Categories are:

    Categories page (a page with a parent, and just ‘CONTENTS’ in page body)

    Override with formats: Yes
    Default archive ordering: Order by start date, start time Ascending

    Default list ordering: Order by name Ascending
    List Limits 12
    Event List Limits 20

    Apologies. I just re-installed EM 5.4.4 on the test server on which I spotted the problem with EM 5.5, and EM 5.4.4 gives the same error. The test server has more verbose error reporting than the production server, it seems…

    Theme, if it makes any difference, is ‘Weaver II’.

    With EM 5.4.4 and EM 5.5 the same message is produced if I switch to Twenty Thirteen. I don’t have Twenty Eleven or Twenty Twelve installed any more to test them.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    thanks, will check this out and update this thread asap.

    @scharc if you can confirm your settings too that may help

    Hi

    Thanks for the thread, i’m having the exact same issues.. any updates? ??

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    sorry, this slipped through, but I’ve tried this on various sites and I simply can’t reproduce this problem.

    I can probably add a fix without doing so though if one of you are willing to test this out.

    in the file mentioned in the errors above, replace that line 22 with:

    $wp_query->post->post_title = $EM_Category->output(get_option('dbem_category_page_title_format'));
    $wp_query->posts[0]->post_title = $EM_Category->output(get_option('dbem_category_page_title_format'));
    $wp_query->queried_object->post_title = $EM_Category->output(get_option('dbem_category_page_title_format'));

    and tell me the error you get?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    enough people are getting this, so I’m offering to fix it directly on someone’s site and hopefully figure out what the problem is.

    will look at the first person that can send FTP and wp admin info to our contact form here – https://wp-events-plugin.com/contact-us/

    please mention this page url and your username here in your email so we know who it is.

    I just sent you my login info, forgot to mention this page url and my username, I’m sending that right now.

    I’m also having issues with the EM 5.3.2 disabling some features when adding/updating an event, such as inability to edit permalink, publish status, visual/text editor, etc.

    I’d love to be able to get back to using the most recent version of EM, I just need help figuring out why my category and tags pages don’t display correctly as pages. (and I’m almost 100% certain my settings are set to do so)

    @marcus, I’m going to replace line 22 with that code and I’ll let you know what happens. I’m doing it on a local server with the most recent EM & WP versions, I’ll try it with the 2013 theme and my theme (Avada)

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    Got it thanks. I’m assuming I can update to 5.5.1 and fix the issue, right? If not let me know (you can reply to my email), I need to be able to do that to proceed.

    Yes do whatever you need to do, you have my full permission. Thank you again so much!

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Warning: Creating default object from empty value’ is closed to new replies.