• Resolved Chetan Satasiya

    (@ketuchetan)


    How I disable the At a Glance widget from admin dashboard as it querying to much and making the site 500 Error and making Fatal error

    PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 139264 bytes) in /var/www/wp-includes/functions.php on line 5309

Viewing 5 replies - 1 through 5 (of 5 total)
  • Jean A

    (@jeanabarquez)

    Hi @ketuchetan,

    Thank you for reaching out to us!

    To help you with your issue, please try adding the following code snippet to the bottom of the event-tickets.php file (in wp-content/plugins/event-tickets/)

    add_action( 'plugins_loaded', function () {
    tribe_singleton( TEC\Tickets\Admin\Glance_Items::class, TEC\Tickets\Admin\Glance_Items::class);
    }, 1 );
    
    add_action( 'admin_init', function() {
    remove_filter( 'dashboard_glance_items', [ tribe( TEC\Tickets\Admin\Glance_Items::class ), 'custom_glance_items_attendees' ], 10 );
    }, 20 );

    Please let us know if that works for you.

    Kind regards,
    Jean

    @jeanabarquez Last night, I suddenly had the same issue. Adding your code, fixed it.

    Will you update the plugin to address this issue more permanently?

    • This reply was modified 1 year, 10 months ago by justravis.
    Jean A

    (@jeanabarquez)

    Hello @justravis ,

    Thank you for letting us know that the workaround has been applied successfully. Please know that our development team is aware of the issue and is actively working on a permanent solution for it. [ET-1698]

    In the meantime, please don’t hesitate to start a new thread if you have other concerns.

    Kind regards,
    Jean

    Plugin Support Erica

    (@eeide)

    Hi @ketuchetan and @justravis,

    I’m writing to let you know that in Event Tickets 5.5.11.1, we resolved the performance issue with the At a Glance widget.

    As always, we recommend?testing updates?on a staging site first, but it should all be smooth sailing.

    Thank you,
    Erica

    Plugin Support Chika Ibeneme

    (@chikaibeneme)

    Hi @ketuchetan

    This thread has been inactive for a while, so we’ll go ahead and mark it?Resolved. Please feel free to open a new thread if any other questions come up, and we’d be happy to help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable At a Glance widget from admin dashboard’ is closed to new replies.