We may get an error like 'Categories not found' error while accessing wordpress site.
Let's see how we can fix this issue.
1. Login to mysql using the credentials
2. run the following command:
UPDATE wp_term_taxonomy,wp_terms SET wp_term_taxonomy.description =wp_terms.name WHERE wp_term_taxonomy.term_id = wp_terms.term_id
3. This will automatically fill the description field in wp_term_taxonomy with the right content from wp_terms table and will fix the error.
Now we can access the wordpress site without any issue.