• PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /public/wp-content/plugins/wp-security-audit-log/classes/WidgetManager.php:73
    Stack trace:
    #0 /public/wp/wp-admin/includes/template.php(1443): WSAL_WidgetManager->render_widget('', Array)
    #1 /public/wp/wp-admin/includes/dashboard.php(271): do_meta_boxes(Object(WP_Screen), 'normal', '')
    #2 /public/wp/wp-admin/index.php(203): wp_dashboard()
    #3 {main}
      thrown in /public/wp-content/plugins/wp-security-audit-log/classes/WidgetManager.php on line 73

    This error is happening over and over especially on the WordPress Dashboard. This is on WordPress 6.4 on PHP 8.1.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support robertabela

    (@robert681)

    Thank you for using our plugin Tim.

    I am sorry to read about your issue. Can you please let us know:

    1. What version of WP Activity Log are you using?
    2. Does this error happen when you activate the plugin or when you do something specific only?

    The more information you can share for us to understand the context the quicker we can find the source of the issue.

    Looking forward to hearing from you.

    Thread Starter Tim Nolte

    (@tnolte)

    The sites we are seeing this on are all running the latest 4.6.1 version. This error is happening while the plugin is already active. It it throwing these errors in the WP debug log while navigating the WordPress backend dashboard.

    Plugin Support robertabela

    (@robert681)

    Hello Tim,

    I am running this by the developers and I’ll get back to you shortly. Another question; do you know exactly when the plugin triggers this error? As in is it when you access a specific page on the dashboard or you are not sure?

    Thanks.

    Thread Starter Tim Nolte

    (@tnolte)

    It for sure happens on the Dashboard, but in other pages as well.

    Plugin Support robertabela

    (@robert681)

    Hello Tim,

    We found the culprit and prepared a patch for you. Please download the patch 20231205-3677-wp-security-audit-log-tim.zip from our plugin patches downloads section.

    We have tested it but we were unable to reproduce the problem, so can you please install it and confirm the fix to us?

    Thank you very much.

    Thread Starter Tim Nolte

    (@tnolte)

    I didn’t get a chance to test this out today. Will check it tomorrow.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Fatal error: Uncaught TypeError: count()’ is closed to new replies.