The performance index definition functionality does not work on PHP 7.1.

Error:

Service unavailable (with message) ArgumentCountError: Too few arguments to function _perfmon_log(), 4 passed in /public_html/sites/all/modules/perfmon/perfmon.inc on line 67 and exactly 5 expected in function _perfmon_log() (line 569 in file /public_html/sites/all/modules/perfmon/perfmon.inc).

The function is called with 4 arguments:
_perfmon_log($test_name, '!name tested', $variables, WATCHDOG_INFO);

But it has 5 required arguments:
function _perfmon_log($module, $check_name, $message, $variables, $type)

Comments

Skerth created an issue. See original summary.

armrus’s picture

Assigned: Unassigned » armrus
armrus’s picture

Thanks for report.
In next release this bug will be fixed.
You can use attached patch for fixing bug immediately.

  • armrus authored 38ee868 on 7.x-1.x
    Issue #3032322 by armrus: The performance index definition functionality...
armrus’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

armrus’s picture

Status: Closed (fixed) » Fixed

Close on next release (28.03.2019)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.