• Resolved Almiro Cunha

    (@almirocunha)


    When creating a new calendar, the shows an error: [CRITICAL] : Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes)

    Some months go, the error was in creating a new table leagle but its now solved.

    Thanks

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Roch

    (@rochesterj)

    Hi there!

    Thanks for reaching out. This is usually due to your server’s resources. Do you have access to your server’s error logs? If not your hosting provider can send you them.

    They’ll be helpful to know which files have this error. Or which function is causing this.

    Thanks!

    Thread Starter Almiro Cunha

    (@almirocunha)

    Hi, thanks for reading my message.

    This is not a server error, i discovered now that the problem é in one or two calendars that was created whithout any filter, just with the name.

    If i try to list the calendars the error occurs, but if i read a specific calendar it works, except this one.

    I must delete it, i have the code, can you give me the link to delete it ?

    Roch

    (@rochesterj)

    Hi there!

    This is definitely a server-related issue ??

    Probably your calendar with no options was too big for your server to handle.

    We don’t have any link to delete your calendars, but maybe you can do so in the calendar list Events > Calendars > hover the calendar you want to delete:
    https://prntscr.com/uj4f07

    Thanks!

    Thread Starter Almiro Cunha

    (@almirocunha)

    Hi, thanks for you answer.

    This is the problem: I can′t see the list of calendars, thats the error, but if i know the code of a specific calendar it works and i can edit it and create a now one, except one or two calendars that i created wihout any filter, thats why i asked for a link that delete this specific problematic calendar.

    Roch

    (@rochesterj)

    Hi there!

    Thanks for your reply.

    We don’t have this option, unfortunately. You’ll need to edit your calendar using your PHPmyadmin.

    Thanks!

    Plugin Contributor Savvas

    (@savvasha)

    @almirocunha so you are looking for the ID of those “problematic calendars” so as to edit or delete them?

    Did you try a code like the following?

    $args = array(
      'numberposts' => -1,
      'post_type'   => 'sp_calendar'
    );
     
    $calendars= get_posts( $args );
    var_dump($calendars);
    

    It will return all the Calendars basic info including the ID. Then you can try to direct edit the calendar you want using the link /wp-admin/post.php?post=CALENDARID&action=edit where you replace the CALENDARID with the ID you found above.

    Thanks,
    Savvas

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error creating a New Calendar’ is closed to new replies.