• Got this error. Please advise. Thank you

    WordPress version 5.8
    Current plugin: Sermon Manager for WordPress (version 2.16.8)
    PHP version 8.0.2

    Error Details
    =============
    An error of type E_ERROR was caused in line 627 of the file /home/hmccwp/jakarta/wp-content/plugins/sermon-manager-for-wordpress/sermons.php. Error message: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, bool given in /home/hmccwp/jakarta/wp-content/plugins/sermon-manager-for-wordpress/sermons.php:627
    Stack trace:
    #0 /home/hmccwp/jakarta/wp-includes/class-wp-hook.php(305): SermonManager->{closure}(1963)
    #1 /home/hmccwp/jakarta/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /home/hmccwp/jakarta/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /home/hmccwp/jakarta/wp-includes/post.php(3207): do_action('before_delete_p...', 1963, Object(WP_Post))
    #4 /home/hmccwp/jakarta/wp-includes/revision.php(458): wp_delete_post(1963)
    #5 /home/hmccwp/jakarta/wp-admin/edit-form-blocks.php(209): wp_delete_post_revision(1963)
    #6 /home/hmccwp/jakarta/wp-admin/post.php(187): require('/home/hmccwp/ja...')
    #7 {main}
      thrown
  • The topic ‘Error’ is closed to new replies.