• Resolved dave_garlock

    (@dave_garlock)


    Hi. I moved the hosting of a site using this plugin, and after the move the plugin began breaking the wordpress admin area. It gave the following errors:

    Error Details
    =============
    An error of type E_ERROR was caused in line 273 of the file /home/peoplesc/public_html/wp-content/plugins/participants-database/classes/PDb_Admin_Notices.class.php. Error message: Uncaught TypeError: Argument 1 passed to PDb_Admin_Notices::notice_is_shown() must be an instance of pdb_admin_notice_message, instance of stdClass given, called in /home/peoplesc/public_html/wp-content/plugins/participants-database/classes/PDb_Admin_Notices.class.php on line 196 and defined in /home/peoplesc/public_html/wp-content/plugins/participants-database/classes/PDb_Admin_Notices.class.php:273
    Stack trace:
    #0 /home/peoplesc/public_html/wp-content/plugins/participants-database/classes/PDb_Admin_Notices.class.php(196): PDb_Admin_Notices->notice_is_shown(Object(stdClass))
    #1 /home/peoplesc/public_html/wp-includes/class-wp-hook.php(286): PDb_Admin_Notices->action_admin_notices(”)
    #2 /home/peoplesc/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #3 /home/peoplesc/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 /home/peoplesc/public_html/wp-admin/admin-header.php(281): do_action(‘admin_notices’)
    #5 /home/peoplesc/public_html/wp-admin/index.php(111):

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    I suggest you go to your database using phpMyAdmin (or similar) go to the options table (wp_options) and find an option named “pdb_admin_notices” Clear the value of that option, and you should be good.

    Somehow that option ended up with an out-of-sync value.

    Thread Starter dave_garlock

    (@dave_garlock)

    That fixed it. Thanks for the great support!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin breaking site after moving hosting’ is closed to new replies.