• Server Info:
    nginx/1.18.0
    PHP Version: 8.0.7
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.74.0
    OpenSSL/1.1.1j

    [17-Jun-2021 13:13:04 UTC] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, null given in /var/www//html/wp-content/plugins/sucuri-scanner/src/sitecheck.lib.php:393
    Stack trace:
    #0 /var/www//html/wp-content/plugins/sucuri-scanner/src/sitecheck.lib.php(543): SucuriScanSiteCheck::iFramesTitle()
    #1 /var/www//html/wp-content/plugins/sucuri-scanner/src/pagehandler.php(201): SucuriScanSiteCheck::ajaxMalwareScan()
    #2 /var/www//html/wp-includes/class-wp-hook.php(292): sucuriscan_ajax()
    #3 /var/www//html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #4 /var/www//html/wp-includes/plugin.php(484): WP_Hook->do_action()
    #5 /var/www//html/wp-admin/admin-ajax.php(187): do_action()
    #6 {main}
    thrown in /var/www//html/wp-content/plugins/sucuri-scanner/src/sitecheck.lib.php on line 393

    GitHub Issue https://github.com/Sucuri/sucuri-wordpress-plugin/issues/113

  • The topic ‘PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type’ is closed to new replies.