Fatal errors attendees / sales report front end

Home Forums Calendar Products Community Events Fatal errors attendees / sales report front end

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1041709
    Dirk
    Participant

    Hi guys,

    I put in the a old post from Josh but since it’s a different error I realised that I had to make a different thread.

    We had some minor problems while testing the 4.0.1 plugins but we decided to go live with it anyway, since these are the supported versions.

    We got an error on the attendees link:
    Fatal error: Call to undefined method stdClass::render_screen_reader_content() in /home/musician4you.nl/public_html/musician4you.nl/wp-admin/includes/class-wp-list-table.php on line 1128

    See this link for the screeny of the attendees page: http://concert4you.nl/wp-content/uploads/2015/12/Screenshot-2015-12-14-at-23.19.40.png

    On the sales rapport link we got the same error.

    This happens when using the frontend community list. User role doesn’t matter. Today we spend most of our time setting up a new website (different domain, fresh 4.4 wordpress installation) with only our theme and all the tribe plugins we are licensed to:
    pro, tickets plus, community, community tickes, filter bar.

    Unfortunatly the same errors occured. We really hope you can help us out because since 4.0 the community is really hampered by this…

    Thanks for the continuous support,

    Dirk

    • This topic was modified 8 years, 4 months ago by Dirk.
    #1041731
    Dirk
    Participant

    We sorta patched it with this:

    // Include WP’s list table class
    if(!class_exists(‘WP_List_Table’)){
    require_once( ABSPATH . ‘wp-admin/includes/class-wp-screen.php’ );//added
    require_once( ABSPATH . ‘wp-admin/includes/screen.php’ );//added
    require_once( ABSPATH . ‘wp-admin/includes/class-wp-list-table.php’ );
    require_once( ABSPATH . ‘wp-admin/includes/template.php’ );
    }

    So it probably has something to do with WordPress 4.4
    What do your tests say?

    #1041879
    Dirk
    Participant

    My mistake, this did not resolve the problem. Still need a solution.

    Thanks!

    #1042267
    Brian
    Keymaster

    Hi,

    Sorry for the issues here. I tested on my site and see the same thing.

    I found something that fixed it for me.

    Try this to see if it works for you.

    Add this two lines:


    include_once( ABSPATH . 'wp-admin/includes/class-wp-screen.php' );
    include_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );

    After this line (62):

    include_once ABSPATH . '/wp-admin/includes/template.php';

    In this file:

    plugins/the-events-calendar-community-events-tickets/src/Tribe/Route/Attendees_Report.php

    Please do the same for the same report after line 63 of this file:

    plugins/the-events-calendar-community-events-tickets/src/Tribe/Route/Sales_Report.php

    Let me know if that works for you right now.

    Thanks

    #1042481
    Dirk
    Participant

    Hi Brain,

    Thank you for the quick respons and resolve! It patched it up. 🙂

    Sales rapport on the front end is still only showing last couple transactions but I guess that’s still a work in progress?

    Thanks,
    Dirk

    #1042509
    Brian
    Keymaster

    Ok glad it helps get it back up.

    Look for a fix to this is 4.0.2, which will be out this week.

    As for the Sales Report not showing all the transactions we are making progress on it, but do not have a fix yet to release.

    Thanks

    #1042513
    Geoff
    Member

    Hey there,

    Great news–we have a fix for this issue ready and it will be shipping today in version 4.0.2. Please keep your eyes peeled for the update and let us know if any other issues pop-up in a new thread and we’d be happy to help.

    Cheers!
    Geoff

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Fatal errors attendees / sales report front end’ is closed to new replies.