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)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3032322-perfmon-does-not-work-on-php71-3.patch | 1.08 KB | armrus |
Comments
Comment #2
armrus commentedComment #3
armrus commentedThanks for report.
In next release this bug will be fixed.
You can use attached patch for fixing bug immediately.
Comment #5
armrus commentedComment #7
armrus commentedClose on next release (28.03.2019)