Fatal error: Uncaught Whoops\Exception\ErrorException: is_404 was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/functions.php:4784 Stack trace: #0 [internal function]: Whoops\Run->handleError(1024, 'is_404 was call...', '/home/christie/...', 4784, Array) #1 /home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/functions.php(4784): trigger_error('is_404 was call...') #2 /home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/query.php(823): _doing_it_wrong('is_404', 'Conditional que...', '(This message w...') #3 /home/christie/ultrasound.christieinnomed.com/web/app/plugins/wp-rocket/inc/front/process.php(338): is_404() #4 [internal function]: do_rocket_callback('<br />\n<b>Depre...', 11) in /home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/functions.php on line 4784
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_ERROR)
Uncaught Whoops\Exception\ErrorException: is_404 was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/functions.php:4784 Stack trace: #0 [internal function]: Whoops\Run->handleError(1024, 'is_404 was call...', '/home/christie/...', 4784, Array) #1 /home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/functions.php(4784): trigger_error('is_404 was call...') #2 /home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/query.php(823): _doing_it_wrong('is_404', 'Conditional que...', '(This message w...') #3 /home/christie/ultrasound.christieinnomed.com/web/app/plugins/wp-rocket/inc/front/process.php(338): is_404() #4 [internal function]: do_rocket_callback('<br />\n<b>Depre...', 11) Whoops\Exception\ErrorException thrown with message "Uncaught Whoops\Exception\ErrorException: is_404 was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/functions.php:4784 Stack trace: #0 [internal function]: Whoops\Run->handleError(1024, 'is_404 was call...', '/home/christie/...', 4784, Array) #1 /home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/functions.php(4784): trigger_error('is_404 was call...') #2 /home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/query.php(823): _doing_it_wrong('is_404', 'Conditional que...', '(This message w...') #3 /home/christie/ultrasound.christieinnomed.com/web/app/plugins/wp-rocket/inc/front/process.php(338): is_404() #4 [internal function]: do_rocket_callback('<br />\n<b>Depre...', 11)" Stacktrace: #2 Whoops\Exception\ErrorException in /home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/functions.php:4784 #1 Whoops\Run:handleError in /home/christie/ultrasound.christieinnomed.com/vendor/filp/whoops/src/Whoops/Run.php:433 #0 Whoops\Run:handleShutdown in [internal]:0
Stack frames (3)
2
Whoops\Exception\ErrorException
/web/wp/wp-includes/functions.php4784
1
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php433
0
Whoops\Run handleShutdown
[internal]0
/home/christie/ultrasound.christieinnomed.com/web/wp/wp-includes/functions.php
     * @param bool   $trigger  Whether to trigger the error for _doing_it_wrong() calls. Default true.
     * @param string $function The function that was called.
     * @param string $message  A message explaining what has been done incorrectly.
     * @param string $version  The version of WordPress where the message was added.
     */
    if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true, $function, $message, $version ) ) {
        if ( function_exists( '__' ) ) {
            if ( is_null( $version ) ) {
                $version = '';
            } else {
                /* translators: %s: version number */
                $version = sprintf( __( '(This message was added in version %s.)' ), $version );
            }
            /* translators: %s: Codex URL */
            $message .= ' ' . sprintf(
                __( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ),
                __( 'https://codex.wordpress.org/Debugging_in_WordPress' )
            );
            /* translators: Developer debugging message. 1: PHP function name, 2: Explanatory message, 3: Version information message */
            trigger_error( sprintf( __( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s' ), $function, $message, $version ) );
        } else {
            if ( is_null( $version ) ) {
                $version = '';
            } else {
                $version = sprintf( '(This message was added in version %s.)', $version );
            }
            $message .= sprintf(
                ' Please see <a href="%s">Debugging in WordPress</a> for more information.',
                'https://codex.wordpress.org/Debugging_in_WordPress'
            );
            trigger_error( sprintf( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s', $function, $message, $version ) );
        }
    }
}
 
/**
 * Is the server running earlier than 1.5.0 version of lighttpd?
 *
 * @since 2.5.0
 *
/home/christie/ultrasound.christieinnomed.com/vendor/filp/whoops/src/Whoops/Run.php
    /**
     * Special case to deal with Fatal errors and the like.
     */
    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']
            );
        }
    }
 
    /**
     * In certain scenarios, like in shutdown handler, we can not throw exceptions
     * @var bool
     */
    private $canThrowExceptions = true;
 
    /**
     * Echo something to the browser
     * @param  string $output
     * @return $this
     */
    private function writeToOutputNow($output)
    {
        if ($this->sendHttpCode() && \Whoops\Util\Misc::canSendHeaders()) {
            $this->system->setHttpResponseCode(
                $this->sendHttpCode()
[internal]

Environment & details:

empty
empty
empty
empty
empty
empty
Key Value
wp-wpml_current_language en
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /
CONTEXT_DOCUMENT_ROOT /home/christie/ultrasound.christieinnomed.com/web
CONTEXT_PREFIX
DOCUMENT_ROOT /home/christie/ultrasound.christieinnomed.com/web
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING br,gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_CONNECTION Keep-Alive
HTTP_HOST ultrasound.christieinnomed.com
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
PATH /bin:/usr/bin
PHP_INI_SCAN_DIR /opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.
QUERY_STRING
REDIRECT_STATUS 200
REMOTE_ADDR 35.172.230.21
REMOTE_PORT 46848
REQUEST_METHOD GET
REQUEST_SCHEME http
SCRIPT_FILENAME /home/christie/ultrasound.christieinnomed.com/web/index.php
SCRIPT_NAME /index.php
SCRIPT_URI http://ultrasound.christieinnomed.com/
SCRIPT_URL /
SERVER_ADDR 67.43.238.211
SERVER_ADMIN webmaster@ultrasound.christieinnomed.com
SERVER_NAME ultrasound.christieinnomed.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
TZ America/Toronto
UNIQUE_ID ZpxWEzNc7ymEERz5DpVEmgAABNc
WPR_ENC _gzip
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1721521683.2177
REQUEST_TIME 1721521683
argv Array ( )
argc 0
DB_NAME christie_ultrasound
DB_USER christie_ultrasound
DB_PASSWORD U1tr@$0und!
DB_HOST localhost
WP_ENV development
WP_HOME http://ultrasound.christieinnomed.com
WP_SITEURL http://ultrasound.christieinnomed.com/wp
ACF_PRO_KEY b3JkZXJfaWQ9ODQ3MjB8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTA2LTMwIDE2OjA3OjAw
AUTH_KEY }{-mV<b&*Uqmo?DRyEE&w</f0M;YM#N4q>(ef5uhmZxfshT7wRE|rkE1<L7F)<+}
SECURE_AUTH_KEY )kZMQg2.mj@CY%?._6ilS@`YqnU.ZG-j(`B5qhQ(r|J(+Q3&*JE#A09?BQV/}kBf
LOGGED_IN_KEY q3n6g0+}<@(#Vle3+MwE{cxDnplKP.2?KkVQp!<,(rpw,un5|y^^84,[l*nQ)JD5
NONCE_KEY 3a|ew3u,Y}m+[}8AK`M4c^4VpVWyGOwT4%|kZyColN8YACObjX^m##9>mFhVkL:{
AUTH_SALT 5nyi0@F7eryChNs)c6p7Kjrum(5%HOaQo&m)/Lre@6u4-|<b*_zLQTM&J(:Z=Y5/
SECURE_AUTH_SALT <e%BEgecUlqYZAF[}HPRtRoP%+{ri:2hV6e&-1eIqpd&TA<C3R?Ct6ilk8}yzDF.
LOGGED_IN_SALT ic5m{[47Y734j@g?/5TLT5&Hm:.M]3e/ye/wPVtBF,7beQJ5JD(Om5N4]9+KW!;_
NONCE_SALT &17wX=]>vs4,=y{L$%7,hv&Ur|6E6B>v*TJ{`mv-S*N;$L,#4_41gXbeh@h;d.uv
Key Value
DB_NAME christie_ultrasound
DB_USER christie_ultrasound
DB_PASSWORD U1tr@$0und!
DB_HOST localhost
WP_ENV development
WP_HOME http://ultrasound.christieinnomed.com
WP_SITEURL http://ultrasound.christieinnomed.com/wp
ACF_PRO_KEY b3JkZXJfaWQ9ODQ3MjB8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTA2LTMwIDE2OjA3OjAw
AUTH_KEY }{-mV<b&*Uqmo?DRyEE&w</f0M;YM#N4q>(ef5uhmZxfshT7wRE|rkE1<L7F)<+}
SECURE_AUTH_KEY )kZMQg2.mj@CY%?._6ilS@`YqnU.ZG-j(`B5qhQ(r|J(+Q3&*JE#A09?BQV/}kBf
LOGGED_IN_KEY q3n6g0+}<@(#Vle3+MwE{cxDnplKP.2?KkVQp!<,(rpw,un5|y^^84,[l*nQ)JD5
NONCE_KEY 3a|ew3u,Y}m+[}8AK`M4c^4VpVWyGOwT4%|kZyColN8YACObjX^m##9>mFhVkL:{
AUTH_SALT 5nyi0@F7eryChNs)c6p7Kjrum(5%HOaQo&m)/Lre@6u4-|<b*_zLQTM&J(:Z=Y5/
SECURE_AUTH_SALT <e%BEgecUlqYZAF[}HPRtRoP%+{ri:2hV6e&-1eIqpd&TA<C3R?Ct6ilk8}yzDF.
LOGGED_IN_SALT ic5m{[47Y734j@g?/5TLT5&Hm:.M]3e/ye/wPVtBF,7beQJ5JD(Om5N4]9+KW!;_
NONCE_SALT &17wX=]>vs4,=y{L$%7,hv&Ur|6E6B>v*TJ{`mv-S*N;$L,#4_41gXbeh@h;d.uv
0. Rarst\wps\Rest_Api_Handler
1. Rarst\wps\Admin_Ajax_Handler
2. Whoops\Handler\PrettyPageHandler