dshanske / indieweb-post-kinds

adds support for responding to and interacting with other sites using the standards developed by the Indieweb Community
https://wordpress.org/plugins/indieweb-post-kinds/
Other
44 stars 28 forks source link

Admin panel not loading posts #200

Open metbril opened 6 years ago

metbril commented 6 years ago

Over the last few posts, I noticed that posts that come from OwnYourSwarm, Together (alltogethernow.io) and Indigenous cause the admin panel not loading all posts (click Posts > All Posts).

As soon as I disable the plugin, the posts are loaded/shown. When I delete the specific post to the trash, the posts are show when the plugin is enabled. However, with the plugin enabled, opening the Trash (Posts > All Posts > Trash) will also not work.

The page loading sometimes stops and doesn't show anything below the errorneous post. Sometimes a memory error is shown (in debug mode).

The posts show up properly in the regular front end of my site.

Update:

These are some error logs:

[Thu Aug 02 20:17:17.963716 2018] [lsapi:error] [pid 1396734:tid 139892445648640] [client ip:63598] [host robertvanbregt.nl] Backend fatal error: PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/xxx/domains/robertvanbregt.nl/public_html/wp/wp-includes/class-wp-embed.php on line 66\n, referer: https://robertvanbregt.nl/wp/wp-admin/themes.php
[Thu Aug 02 20:19:23.966229 2018] [lsapi:error] [pid 1531045:tid 139892214871808] [client ip:63650] [host robertvanbregt.nl] Backend fatal error: PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/xxx/domains/robertvanbregt.nl/public_html/wp/wp-includes/shortcodes.php on line 79\n, referer: https://robertvanbregt.nl/wp/wp-admin/edit.php
[Thu Aug 02 20:20:36.490606 2018] [lsapi:error] [pid 1598094:tid 139892477118208] [client ip:63669] [host robertvanbregt.nl] Backend fatal error: PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/xxx/domains/robertvanbregt.nl/public_html/wp/wp-includes/wp-db.php on line 1277\n, referer: https://robertvanbregt.nl/wp/wp-admin/plugins.php?plugin_status=all&paged=1&s

Update 2:

Some comments (automatic Swarm replies) can also NOT be moderated, since the Comments section in the Admin panel can't be opened unless the plugin is deactivated.

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/xxx/domains/robertvanbregt.nl/public_html/wp/wp-includes/class-wp-embed.php on line 66

or

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /home/xxx/domains/robertvanbregt.nl/public_html/wp/wp-includes/class-wp-hook.php on line 78

Update 3:

The Dashboard (wp-admin/index.php) itself also does not load, since it queries recent posts and comments.

dougbeal commented 6 years ago

What plugins do you have installed?

metbril commented 6 years ago

Well, most of the IndieWeb plugins:

But I have the issue even if all but Post Kinds is deactivated.

Another check: is doesn't matter if WP_DEBUG is set to true or false.

metbril commented 6 years ago
  1. I used SwarmApp and OwnYourSwarm to PESOS a post and that succeeded. Admin panel loads.
  2. I used Quill to create a simple "Hello World" note and that creates a post that has this issue.
  3. Creating a "hello world" note with Micropublish.net has the same effect: admin panel not loading.

My guess is, that it perhaps is the combination with the Micropub plugin?

dshanske commented 6 years ago

That is odd. Will look into what it might be

dshanske commented 6 years ago

The only thing that appears on the posts page is the option to filter for specific kinds. Let me look at that code

vishae commented 6 years ago

I'm also having this issue, but not with all my posts - even ones I wrote using the WP web admin.

Also, when I try to click on the "Screen Options" tab, nothing happens. The usual tab letting me filter stuff doesn't expand.