fatal error: allowed memory size exhausted
Closed this issue · 7 comments
hello,
first thanks, for this amazing plugin. had thought to have to write this all for by myself.
the plugin works fine on my lampp and also at an hosted online installation (murstrom.at) but is not working at the installation, where i need it
honestly, i dont know if the problem is at the plugin or at my server side, but i suppose, that the problem causes of the use within a subdomain.
the installation: http://openscience.alpine-geckos.at
wordpress 3.5
json api Version 1.0.7
the error:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 82 bytes) in /wordpress/openscience/wp-includes/capabilities.php on line 750
it is happening when i create a new post or i want to add a widget, maybe otherwise too, but havent tested all options right now.
regards, stefan
Can you post a full stack trace?
It looks like it's doing something with user capabilities. Do you have an excessive number of users?
What about a large number of posts?
no, 6 users and 63 posts. I work with a copy of the online version on my local ide, and there it works.
what do you mean with stack trace? i installed the plugin and tried to post a page with some details about the api and the error occured. same with a widget text about it. i deactivated, and everything where fine again.
@skasberger http://php.net/manual/en/exception.gettraceasstring.php
It's easier to debug this with the stack trace since it's error-ing out on a non plugin page. Thanks!
where/how should i implement this function?
i deactiveted all plugins and activated them again and now it works without any problem.
@skasberger Great! Can this ticket be closed then?
yes.