[ad_1]
Hi!
I’m seeing this error when the WP Cron runs from the CLI:
PHP Warning: Undefined array key "HTTP_HOST" in /var/www/web/app/plugins/geodirectory/includes/general-functions.php on line 175
It makes sense that HTTP_HOST wouldn’t be set in a CLI environment.
Geo Directory version 2.3.7
PHP version 8.0
WP Version: 6.2
