Code and error message I don't understand

by 2 replies
3
Hi there

I have a situation with one of my sites that is preventing me from deleting a post. I have also been having a problem with this site not being able to produce an up to-date xml sitemap being generated by a plugin. The error message I am receiving when I want to delete the post is this:

Fatal error: Out of memory (allocated 42991616) (tried to allocate 41 bytes) in /home/..../public_html/....../wp-includes/functions.php on line 2913

I receive this same message when I ask to manually build the sitemap.

I don't know how to fix this. I have been into the file wp-includes/functions.php and scrolled down to line 2913 but I don't understand code so I don't know what is wrong at this line.

This is what is at line 2913:

The code of this file ends at 2917.

I also don't understand the connection between not being able to delete a post and trying to manually rebuild the sitemap.

Is anyone able to throw any light on this for me?

Cheers
Viv
#programming #code #error #message #understand
  • post the code before 2913...or post the whole block of statement...within curly braces...
    • [1] reply
    • Hi Hire_Us

      I have de-activated the plug-in and it is now out of error. I have also been to Wordpress.org and found that there are other website owners experiencing the same problem. It seems to be related to an update of the plugin.

      I will wait to see what the developer comes up with but thank you for wanting to help, I appreciate it

      Cheers
      Viv

Next Topics on Trending Feed

  • 3

    Hi there I have a situation with one of my sites that is preventing me from deleting a post. I have also been having a problem with this site not being able to produce an up to-date xml sitemap being generated by a plugin. The error message I am receiving when I want to delete the post is this: