It has been a month and we’re still seeing this issue. Is this plugin still being maintained?
We are seeing this same error:
PHP Warning: Undefined array key "HTTP_USER_AGENT" in wp-content/plugins/zapier/zapier.php on line 176
We could do with getting a resolution for this even though its a warning it’s filling up the logs.
Many thanks.
-
This reply was modified 3 years, 5 months ago by
BigEd.
I’m seeing the same error every time a page loads… Filling up the log.
Anyone have any suggestions on this ?
Its still filling up the logs and could do with getting a resolution.
The solution to fix the error is to change the line 176 in plugins/zapier/zapier.php FROM:
$is_zapier_request = $_SERVER['HTTP_USER_AGENT'] === 'Zapier' && isset($_SERVER['HTTP_X_ZAPIER_AUTH']);
TO:
$is_zapier_request = isset($_SERVER['HTTP_USER_AGENT']) && $_SERVER['HTTP_USER_AGENT'] === 'Zapier' && isset($_SERVER['HTTP_X_ZAPIER_AUTH']);