• Resolved rkagrahari1

    (@rkagrahari1)


    Hi

    I am getting error in WordPress plugin when accessing my dashboard. Here is email I recieved by WordPress.

    Howdy!

    WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Simple History.

    First, visit your website (https://mysite.com/) and check for any visible issues. Next, visit the page where the error was caught (https://mysite.com/wp-admin/) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.


    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.5.3
    Active theme: customtheme (version )
    Current plugin: Simple History (version 4.16.0) PHP version 8.2.19

    Error Details
    =============
    An error of type E_ERROR was caused in line 403 of the file /nas/content/live/mysite/wp-content/plugins/simple-history/inc/class-log-query.php. Error message: Uncaught Exception: Error when performing query: Table ‘wp_dbname.wp_simple_history’ doesn’t exist in /nas/content/live/mysite/wp-content/plugins/simple-history/inc/class-log-query.php:403
    Stack trace:
    #0 /nas/content/live/mysite/wp-content/plugins/simple-history/inc/class-log-query.php(68): Simple_History\Log_Query->query_overview_mysql(Array)
    #1 /nas/content/live/mysite/wp-content/plugins/simple-history/inc/class-log-query.php(44): Simple_History\Log_Query->query_overview(Array)
    #2 /nas/content/live/mysite/wp-content/plugins/simple-history/dropins/class-quick-stats.php(28): Simple_History\Log_Query->query(Array)
    #3 /nas/content/live/mysite/wp-includes/class-wp-hook.php(324): Simple_History\Dropins\Quick_Stats->output_quick_stats(Object(Simple_History\Services\Dashboard_Widget))
    #4 /nas/content/live/mysite/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #5 /nas/content/live/mysite/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /nas/content/live/mysite/wp-content/plugins/simple-history/inc/services/class-dashboard-widget.php(64): do_action(‘simple_history/…’, Object(Simple_History\Services\Dashboard_Widget))
    #7 /nas/content/live/mysite/wp-admin/includes/template.php(1456): Simple_History\Services\Dashboard_Widget->dashboard_widget_output(”, Array)
    #8 /nas/content/live/mysite/wp-admin/includes/dashboard.php(271): do_meta_boxes(Object(WP_Screen), ‘normal’, ”)
    #9 /nas/content/live/mysite/wp-admin/index.php(204): wp_dashboard()
    #10 {main}
      thrown

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

    (@eskapism)

    It sounds like the database table does not exist. Did you install the plugin on the site you’re having issues with or have you transferred the database from another site somehow?

    Could you try these things:

    • De-activate and then activate the plugin again?
    • Uninstall and reinstall the plugin
    • Go to Settings ? Simple History ? Debug and see if there is a message/notice there with information about what’s happening.
    Thread Starter rkagrahari1

    (@rkagrahari1)

    Thanks for replying. We moved it from staging to production. If first two steps not work can we get MySQL table details to manually insert it.

    Thanks

    Plugin Author eskapism

    (@eskapism)

    Great, thanks for the update. Some site-mover-tools only move the built in wp tables and does not always see the tables used by other plugins, but the options table is moves so Simple History thinks it’s installed but it actually isn’t :/.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.