• Hi there
    the latest version of WordPress includes health agent detecting potential issue with web site
    The plugin is being reported as having an issue: below the trace from the WP health (I removed the full path)
    Fatal error: Uncaught TypeError: Argument 1 passed to ApplicationInsights\WordPress\Server_Instrumentation::exceptionHandler() must be an instance of Exception, instance of Error given in <removed>\wp-content\plugins\application-insights\src\Server_Instrumentation.php:47 Stack trace: #0 [internal function]: ApplicationInsights\WordPress\Server_Instrumentation->exceptionHandler(Object(Error)) #1 {main}thrown in <removed>\wp-content\plugins\application-insights\src\Server_Instrumentation.php on line 47

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi. I am reporting the same issue. WP 5.2.1 PHP 7.3.3. Can someone fix this please?

    Hi. You can test this. On line 47 in wp-content\plugins\application-insights\src\Server_Instrumentation.php remove word Exception and put Throwable instead. So it will look like this:

    function exceptionHandler(\Throwable $exception)

    I hope it helps. I am testing it on our website.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP 5.2 – Plugin causes health reporting’ is closed to new replies.