Fatal error: Declaration of Monolog\Logger::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void in /home/oqweb/public_html/wp-content/plugins/directories/vendor/monolog/monolog/src/Monolog/Logger.php on line 780
*
* @param string $message The log message
* @param array $context The log context
* @return bool Whether the record has been processed
*/
public function emerg($message, array $context = array())
{
return $this->addRecord(static::EMERGENCY, $message, $context);
}
/**
* Adds a log record at the EMERGENCY level.
*
* This method allows for compatibility with common interfaces.
*
* @param string $message The log message
* @param array $context The log context
* @return bool Whether the record has been processed
*/
public function emergency($message, array $context = array())
{
return $this->addRecord(static::EMERGENCY, $message, $context);
}
/**
* Set the timezone to be used for the timestamp of log records.
*
* This is stored globally for all Logger instances
*
* @param \DateTimeZone $tz Timezone object
*/
public static function setTimezone(\DateTimeZone $tz)
{
self::$timezone = $tz;
}
}
*
* @return void
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* @param InspectorFactoryInterface $factory
*
* @return void
*/
public function setInspectorFactory(InspectorFactoryInterface $factory)
{
$this->inspectorFactory = $factory;
}
public function addFrameFilter($filterCallback)
{
if (!is_callable($filterCallback)) {
throw new \InvalidArgumentException(sprintf(
"A frame filter must be of type callable, %s type given.",
}
// Propagate error to the next handler.
if ($this->platformExceptionHandler) {
call_user_func_array($this->platformExceptionHandler, [&$exception]);
}
}
/**
* Special case to deal with Fatal errors and the like.
*/
public function handleShutdown()
{
$handler = $this->whoopsShutdownHandler;
$error = $this->getLastError();
// Ignore core warnings and errors.
if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
$handler();
}
}
}
| Key | Value |
| SERVER_SOFTWARE | Apache |
| REQUEST_URI | /sitemap.xml |
| TEMP | /tmp |
| TMPDIR | /tmp |
| TMP | /usr/local/apps/apache2/tmp |
| HOSTNAME | \\$HOSTNAME |
| USER | oqweb |
| HOME | /home/oqweb |
| SCRIPT_NAME | /index.php |
| QUERY_STRING | |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_URL | /sitemap.xml |
| REMOTE_PORT | 2762 |
| SCRIPT_FILENAME | /home/oqweb/public_html/index.php |
| SERVER_ADMIN | kothergani@gmail.com |
| CONTEXT_DOCUMENT_ROOT | /home/oqweb/public_html |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | https |
| DOCUMENT_ROOT | /home/oqweb/public_html |
| REMOTE_ADDR | 216.73.217.75 |
| SERVER_PORT | 443 |
| SERVER_ADDR | 204.13.237.237 |
| SERVER_NAME | omanquest.com |
| SERVER_SIGNATURE | |
| LD_LIBRARY_PATH | /usr/local/apps/apache2/lib |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
| HTTP_HOST | omanquest.com |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| proxy-nokeepalive | 1 |
| SSL_TLS_SNI | omanquest.com |
| HTTPS | on |
| HTTP_AUTHORIZATION | |
| SCRIPT_URI | https://omanquest.com/sitemap.xml |
| SCRIPT_URL | /sitemap.xml |
| REDIRECT_STATUS | 200 |
| REDIRECT_SSL_TLS_SNI | omanquest.com |
| REDIRECT_HTTPS | on |
| REDIRECT_TMP | /usr/local/apps/apache2/tmp |
| REDIRECT_HTTP_AUTHORIZATION | |
| REDIRECT_SCRIPT_URI | https://omanquest.com/sitemap.xml |
| REDIRECT_SCRIPT_URL | /sitemap.xml |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1780205702.5405 |
| REQUEST_TIME | 1780205702 |
| argv | Array ( ) |
| argc | 0 |
| Key | Value |
| TEMP | /tmp |
| TMPDIR | /tmp |
| TMP | /usr/local/apps/apache2/tmp |
| HOSTNAME | \$HOSTNAME |
| USER | oqweb |
| HOME | /home/oqweb |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /sitemap.xml |
| QUERY_STRING | |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_URL | /sitemap.xml |
| REMOTE_PORT | 2762 |
| SCRIPT_FILENAME | /home/oqweb/public_html/index.php |
| SERVER_ADMIN | kothergani@gmail.com |
| CONTEXT_DOCUMENT_ROOT | /home/oqweb/public_html |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | https |
| DOCUMENT_ROOT | /home/oqweb/public_html |
| REMOTE_ADDR | 216.73.217.75 |
| SERVER_PORT | 443 |
| SERVER_ADDR | 204.13.237.237 |
| SERVER_NAME | omanquest.com |
| SERVER_SOFTWARE | Apache |
| SERVER_SIGNATURE | |
| LD_LIBRARY_PATH | /usr/local/apps/apache2/lib |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
| HTTP_HOST | omanquest.com |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| proxy-nokeepalive | 1 |
| SSL_TLS_SNI | omanquest.com |
| HTTPS | on |
| HTTP_AUTHORIZATION | |
| SCRIPT_URI | https://omanquest.com/sitemap.xml |
| SCRIPT_URL | /sitemap.xml |
| REDIRECT_STATUS | 200 |
| REDIRECT_SSL_TLS_SNI | omanquest.com |
| REDIRECT_HTTPS | on |
| REDIRECT_TMP | /usr/local/apps/apache2/tmp |
| REDIRECT_HTTP_AUTHORIZATION | |
| REDIRECT_SCRIPT_URI | https://omanquest.com/sitemap.xml |
| REDIRECT_SCRIPT_URL | /sitemap.xml |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1780205702.5405 |
| REQUEST_TIME | 1780205702 |
| argv | Array ( ) |
| argc | 0 |