My wordpress shows no posts neither in the admin and the front, while the database il full of 655 pages and 10 posts. The problem started when i was using a plugin i wrote, that import data from xml sources and create posts on wordpress. My plugin worked fine for weeks, but today i get an error while importing about memory usage. The error message was:
Allowed memory size of 33554432 bytes exhausted (tried to allocate 1966080 bytes) in /var/www/web6/web/wp-includes/wp-db.php.
After that error wp says that there are no posts, but i use a plugin named pageMash that allow me o see pages on wordpress and my posts are still on the db.
If i try to access directly the page for modify a post wp show correctly the post and allow me to modify it, but the post still not appare.
I tried to create a new post and again wp allow me to create, but the page is not visible.
What ca i do for fix my wp?