I’ve seen this happen a couple of times where one of the database tables count of posts differs from the actual number and all the posts disappear.
Using PHPMyAdmin and go into your WP database. Look down your columns (I think it’s the “Records” column) and see if any of them show corrupt or some other error message. If so, check the box next to that table name, then at the bottom of the table, select “Repair Table” from the select box that says “With Selected”.
If that’s your problem, the above should fix it.
Related Posts:
- Plugin SVN & update API – how are plugins identified?
- How to add a new product type on woocommerce product types? [closed]
- Upgrading WordPress and Plugins; any Tips to Avoid Trouble?
- How to override wp-login.php
- How to rotate the header image per day?
- Make page template that is just an “include” of another?
- WooCommerce Checkout page customization [closed]
- How to get multiple Action Hooks in an Array
- woocommerce Add custom field set like billing fields
- Creating Search Engine Friendly URL’s with Word Press
- ‘Customize’ button in admin bar for CSS
- Make wordpress generate a custom XML file(not a sitemap) that is updated only when new content is posted?
- Updating Existed RocketTheme Theme on WordPress
- Updates for a private theme
- $wpdb->replace: WHERE?
- Qtranslate + Woocommerce (multiple tinymce) [closed]
- Changing settings of WooCommerce
- Redirect to another page using contact form 7? [closed]
- Installing new theme on running site
- How to customize and keep things up-to-date?
- How to update theme from localhost to online site
- Woocommerce – Print Product’s Custom Field In Email
- How Can I limit the visible part of the short-description on the Category page?
- Translating (WooCommerce) placeholder text
- WooCommer Product Category Loop – How to change the display order of the rating and price?
- Changing update message from Newspaper child theme
- Will WordPress updates remove Gutenberg Additional Classes?
- Change post template the proper way
- To merge customized codes upon wordpress update
- How to make my wordpress site responds for 2 domains
- Custom Slider Per Page created
- Admin new order email customization
- Consolidate ‘add-to-cart’ buttons into one ‘add-all-to-cart’ button
- Update to WordPress 4.9.2, but have heavily customized theme
- What keys are needed when passing the icons array to plugins_api()?
- How to add textarea field to taxonomy (tag)?
- Get Custom Logo Alt Text
- Resizing of a header/div in a website through css in wordpress [closed]
- Contact From 7 Custom Validation Issues
- How to add an extra button on woocommerce shop page and use it to send the product info with image in a mail? [closed]
- Gutenberg block outputting JSON in front end – is this normal?
- How to change the category url jusy show /category/%category_id% in wordpress?
- Overide plugin files from child theme (/inc/ ) folder
- Change the Labels of Users to Customers in Admin
- how do I remove the shipping from woocommerce thankyou page and from the email
- Load MediaPlayerElement after Infinity Scroll loads more posts
- wp_generate_attachment_metadata is creating an empty array
- custom payment gateway in woocommerce failed to connect to remote api server
- Custom post type adds time/date and author to the post?
- How would you implement a CTA infront of a videoplayer? [closed]
- Get Date of custom field and use conditional logic
- Control Content On Non-Blog Pages
- Display encrypted content on my website
- need help with a user-specific custom page template
- How can I use a Tiny MCE editor in my custom Gutenberg block?
- Always logged in even if remember me is unchecked?
- Add custom profile field only for site admins?
- Two problems on my WordPress installation [closed]
- Adding posts to custom menu [closed]
- Woocomerce custom billing address fields display in order details [closed]
- How to add an extra variable to login and authenticate it?
- Bind JS event to WordPress control customizer
- Color swatches on category page? [closed]
- Post category with counts been display like a menu
- Post custom Data value in The Events Calendar plugin [closed]
- Steps for custom data retrieval
- Send reply with pre-prepared answers
- changing font size and font of a custom message added after comment
- Edit sticky header html – How to locate corresponding php file
- Include custom JS without child theme
- help to change some colors (woocomerce and store locator) [closed]
- Remove add news page and posts from menu
- Best way to maintain and update 3rd-party WP plugin when developer is unresponsive?
- Custom Status of Custom Post type need to EXCLUDE from Taxonomy pages
- Show Featured Post Only On The Homepage
- `plugins_api()`: why does a commercial plugin changelog link result in a tailing plugins repo check and 500 error? [closed]
- get 404 when accessing wp-admin/plugin-install.php
- Prepopulating a specific page template with HTML/CSS
- The function can not create a table on MariaDB server
- Child theme .css files are not overriding their parent .css files
- redirect post id to post full url
- Allow a Widget to be used one time only?
- One WordPress Installation for 2 Domains
- custom meta box for page default template
- result from custom filter admin table list backend does not work
- Save custom attributes of product in woocommerce
- How can I create a second multisite network in a subdirectory?
- Silo Structure; Will links from home page to a Sub-category or Post undermine silo seo advantage? [closed]
- Calling an attribute from a plugin shortcode
- Best place for short bio,image and button [closed]
- education system [closed]
- How to wrap the list with custom class using wp_nav_menu?
- Custom search to display results within same page
- How can I get the custom post type assigned to a current custom taxonomy for query?
- Search widget will search everything in the site, how to limit to only search gallery name
- How can I display a PHP foreach loop’s answers by AJAX
- Use of Templates in a Plugin
- No shipping method has been selected [closed]
- Why can’t I access my Intranet LDAPS with NADI?
- Alphabetical Custom Menu