Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @vlvshein,

    Looks like at least one of the plugin’s database tables is missing from your database (either deleted by accident or your database may be partially corrupted?). That’s why your popular posts aren’t loading.

    If you have a recent database backup, try restoring it (or at least the owdug_popularpostsdata table) to fix this.

    If you don’t have a database backup, log in into your hosting’s control panel, go to phpMyAdmin (or whatever your hosting provider uses to manage database tables), select your site’s database, then run this query to recreate the missing table:

    CREATE TABLE IF NOT EXISTS owdug_popularpostsdata (
      postid bigint(20) NOT NULL,
      day datetime NOT NULL,
      last_viewed datetime NOT NULL,
      pageviews bigint(20) DEFAULT '1',
      PRIMARY KEY (postid),
      UNIQUE KEY id (postid)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8

    Alternatively, you can also just uninstall the plugin and install it again.

    Thread Starter vlvshein

    (@vlvshein)

    Reinstalling helped. Thank you. Why did this happen? Could a wordpress update break the plugin?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Well, WordPress updates shouldn’t normally break plugins nor delete database tables. I’m inclined to think that something happened server side (database files were corrupted for some reason, read/write errors, etc; or someone deliberately deleted the table which isn’t great news).

    If you’re not already doing so, I recommend setting up daily backups so you can quickly recover your site if anything like this (or worse) happens again.

    Anyways, glad to know that everything is back to normal. If you have any further questions please let me know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcode not working’ is closed to new replies.