I went to add a custom link, just actually a hash link because it was the top item and i just wanted it to be a button.
Anyway, I got this error:
Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home/scottish/public_html/website/wp-admin/includes/nav-menu.php on line 653
It happens when I try to add any other page. That line of code is:
I thought it might be something to do with the fact that I tried to add a hashed custom link but I when I try to do anything with the nav bar now, it just fails.
Tried commenting out that code but the whole menu part of wordpress stopped working.
Help!!!
The topic ‘nav-menu.php failure with adding menu items’ is closed to new replies.