Uncaught TypeError: Unsupported operand types: int + string

I get the following error on only one of all the sites on which we have Wordfence installed.

How do I fix it?

The function wfWAFUtils::normalizedTime() in /wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php gives the error Uncaught TypeError: Unsupported operand types: int + string

Stack trace:

0 /wp-content/plugins/wordfence/lib/wf503.php(369): wfWAFUtils::normalizedTime()

1 /wp-content/plugins/wordfence/lib/wfLog.php(713): require_once(‘…’)

2 /wp-content/plugins/wordfence/lib/wordfenceClass.php(3149): wfLog->do503()

3 /wp-content/plugins/wordfence/lib/wordfenceClass.php(3164): wordfence::checkSecurityNetwork()

4 /wp-content/plugins/wordfence/lib/wordfenceClass.php(3136): wordfence::processBruteForceAttempt()

5 /wp-includes/class-wp-hook.php(310): wordfence::authenticateFilter()

6 /wp-includes/plugin.php(205): WP_Hook->apply_filters()

7 /wp-includes/pluggable.php(618): apply_filters()

8 /wp-includes/user.php(106): wp_authenticate()

9 /wp-login.php(1241): wp_signon()

10 {main}

thrown

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer