Twig \ Error \ RuntimeError
An exception has been thrown during the rendering of a template ("Failed to write cache file "/nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/73/7377af7a14b500012fcf0badaceeadb5742f42738310928eb8dd2684f9132d49.php".").
Previous exceptions
  • Failed to write cache file "/nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/73/7377af7a14b500012fcf0badaceeadb5742f42738310928eb8dd2684f9132d49.php". (0)
Twig\Error\RuntimeError thrown with message "An exception has been thrown during the rendering of a template ("Failed to write cache file "/nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/73/7377af7a14b500012fcf0badaceeadb5742f42738310928eb8dd2684f9132d49.php".")." Stacktrace: #38 Twig\Error\RuntimeError in /nas/content/live/midhudsonaddic/wp-content/themes/uranium/views/partials/content-single.html.twig:59 #37 RuntimeException in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Cache/FilesystemCache.php:80 #36 Twig\Cache\FilesystemCache:write in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Environment.php:487 #35 Twig\Environment:loadClass in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Environment.php:445 #34 Twig\Environment:loadTemplate in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Environment.php:423 #33 Twig\Environment:load in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Loader.php:78 #32 Timber\Loader:render in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Timber.php:334 #31 Timber\Timber:compile in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Timber.php:383 #30 Timber\Timber:fetch in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Timber.php:410 #29 Timber\Timber:render in /nas/content/live/midhudsonaddic/wp-content/themes/uranium/comments.php:28 #28 require in /nas/content/live/midhudsonaddic/wp-includes/comment-template.php:1627 #27 comments_template in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Twig.php:296 #26 call_user_func_array in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Twig.php:296 #25 Timber\Twig:exec_function in /nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/5f/5f2682a58ea20b6c00c944468209d0e0ca7df31c943d0cf275fba2da30191141.php:175 #24 __TwigTemplate_32dbdb8b90913be5605884560f64f5f9971f9a4b8f5c2200bcbca54ecddf9950:block_content in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Template.php:216 #23 Twig\Template:displayBlock in /nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/5f/5f2682a58ea20b6c00c944468209d0e0ca7df31c943d0cf275fba2da30191141.php:41 #22 __TwigTemplate_32dbdb8b90913be5605884560f64f5f9971f9a4b8f5c2200bcbca54ecddf9950:doDisplay in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Template.php:455 #21 Twig\Template:displayWithErrorHandling in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Template.php:422 #20 Twig\Template:display in /nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/51/51087caac9e607a201ffd55d26aefb0a366289dc4cd23480b2e8be8683ad9c93.php:54 #19 __TwigTemplate_dd8a51ce613e079d9e96f97f550bcb55098661950939393a1ced90e29f8ad617:block_content in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Template.php:216 #18 Twig\Template:displayBlock in /nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/b4/b4105390ca007f6f3bb4cd44cb3a1eeae9a51c2fba5f4c455e11fc8ef1743fdc.php:55 #17 __TwigTemplate_c9dcec21bfac60c1014161812b98c78c90ee7b74c28d99988defc4a553c6f905:doDisplay in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Template.php:455 #16 Twig\Template:displayWithErrorHandling in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Template.php:422 #15 Twig\Template:display in /nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/ed/ede6d1c9f94ec56dbafe6b3e101aabbde0f1f8cb245036c4c30e9378ab033b2a.php:36 #14 __TwigTemplate_f6fd3b679e1b79555526896720d8cfb6f19313c471af28c72fba16425b575be4:doDisplay in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Template.php:455 #13 Twig\Template:displayWithErrorHandling in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Template.php:422 #12 Twig\Template:display in /nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/51/51087caac9e607a201ffd55d26aefb0a366289dc4cd23480b2e8be8683ad9c93.php:40 #11 __TwigTemplate_dd8a51ce613e079d9e96f97f550bcb55098661950939393a1ced90e29f8ad617:doDisplay in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Template.php:455 #10 Twig\Template:displayWithErrorHandling in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Template.php:422 #9 Twig\Template:display in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/Template.php:434 #8 Twig\Template:render in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/twig/twig/src/TemplateWrapper.php:47 #7 Twig\TemplateWrapper:render in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Loader.php:79 #6 Timber\Loader:render in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Timber.php:334 #5 Timber\Timber:compile in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Timber.php:383 #4 Timber\Timber:fetch in /nas/content/live/midhudsonaddic/wp-content/plugins/gantry5/src/vendor/timber/timber/lib/Timber.php:410 #3 Timber\Timber:render in /nas/content/live/midhudsonaddic/wp-content/themes/uranium/single.php:31 #2 include in /nas/content/live/midhudsonaddic/wp-includes/template-loader.php:125 #1 require_once in /nas/content/live/midhudsonaddic/wp-blog-header.php:19 #0 require in /nas/content/live/midhudsonaddic/index.php:17
Stack frames (39)
38
Twig\Error\RuntimeError
/nas/content/live/midhudsonaddic/wp-content/themes/uranium/views/partials/content-single.html.twig59
37
RuntimeException
/vendor/twig/twig/src/Cache/FilesystemCache.php80
36
Twig\Cache\FilesystemCache write
/vendor/twig/twig/src/Environment.php487
35
Twig\Environment loadClass
/vendor/twig/twig/src/Environment.php445
34
Twig\Environment loadTemplate
/vendor/twig/twig/src/Environment.php423
33
Twig\Environment load
/vendor/timber/timber/lib/Loader.php78
32
Timber\Loader render
/vendor/timber/timber/lib/Timber.php334
31
Timber\Timber compile
/vendor/timber/timber/lib/Timber.php383
30
Timber\Timber fetch
/vendor/timber/timber/lib/Timber.php410
29
Timber\Timber render
/nas/content/live/midhudsonaddic/wp-content/themes/uranium/comments.php28
28
require
/nas/content/live/midhudsonaddic/wp-includes/comment-template.php1627
27
comments_template
/vendor/timber/timber/lib/Twig.php296
26
call_user_func_array
/vendor/timber/timber/lib/Twig.php296
25
Timber\Twig exec_function
/nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/5f/5f2682a58ea20b6c00c944468209d0e0ca7df31c943d0cf275fba2da30191141.php175
24
__TwigTemplate_32dbdb8b90913be5605884560f64f5f9971f9a4b8f5c2200bcbca54ecddf9950 block_content
/vendor/twig/twig/src/Template.php216
23
Twig\Template displayBlock
/nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/5f/5f2682a58ea20b6c00c944468209d0e0ca7df31c943d0cf275fba2da30191141.php41
22
__TwigTemplate_32dbdb8b90913be5605884560f64f5f9971f9a4b8f5c2200bcbca54ecddf9950 doDisplay
/vendor/twig/twig/src/Template.php455
21
Twig\Template displayWithErrorHandling
/vendor/twig/twig/src/Template.php422
20
Twig\Template display
/nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/51/51087caac9e607a201ffd55d26aefb0a366289dc4cd23480b2e8be8683ad9c93.php54
19
__TwigTemplate_dd8a51ce613e079d9e96f97f550bcb55098661950939393a1ced90e29f8ad617 block_content
/vendor/twig/twig/src/Template.php216
18
Twig\Template displayBlock
/nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/b4/b4105390ca007f6f3bb4cd44cb3a1eeae9a51c2fba5f4c455e11fc8ef1743fdc.php55
17
__TwigTemplate_c9dcec21bfac60c1014161812b98c78c90ee7b74c28d99988defc4a553c6f905 doDisplay
/vendor/twig/twig/src/Template.php455
16
Twig\Template displayWithErrorHandling
/vendor/twig/twig/src/Template.php422
15
Twig\Template display
/nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/ed/ede6d1c9f94ec56dbafe6b3e101aabbde0f1f8cb245036c4c30e9378ab033b2a.php36
14
__TwigTemplate_f6fd3b679e1b79555526896720d8cfb6f19313c471af28c72fba16425b575be4 doDisplay
/vendor/twig/twig/src/Template.php455
13
Twig\Template displayWithErrorHandling
/vendor/twig/twig/src/Template.php422
12
Twig\Template display
/nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/51/51087caac9e607a201ffd55d26aefb0a366289dc4cd23480b2e8be8683ad9c93.php40
11
__TwigTemplate_dd8a51ce613e079d9e96f97f550bcb55098661950939393a1ced90e29f8ad617 doDisplay
/vendor/twig/twig/src/Template.php455
10
Twig\Template displayWithErrorHandling
/vendor/twig/twig/src/Template.php422
9
Twig\Template display
/vendor/twig/twig/src/Template.php434
8
Twig\Template render
/vendor/twig/twig/src/TemplateWrapper.php47
7
Twig\TemplateWrapper render
/vendor/timber/timber/lib/Loader.php79
6
Timber\Loader render
/vendor/timber/timber/lib/Timber.php334
5
Timber\Timber compile
/vendor/timber/timber/lib/Timber.php383
4
Timber\Timber fetch
/vendor/timber/timber/lib/Timber.php410
3
Timber\Timber render
/nas/content/live/midhudsonaddic/wp-content/themes/uranium/single.php31
2
include
/nas/content/live/midhudsonaddic/wp-includes/template-loader.php125
1
require_once
/nas/content/live/midhudsonaddic/wp-blog-header.php19
0
require
/nas/content/live/midhudsonaddic/index.php17
                    </a>
                {% endif %}
                {# End Featured Image #}

                {# Begin Page Content #}
                {{ post.paged_content|raw }}

                {{ function('wp_link_pages', {'before': '<div class="page-links" itemprop="pagination">', 'after': '</div>', 'link_before': '<span class="page-number page-numbers">', 'link_after': '</span>', 'echo': 0}) }}
                {# End Page Content #}

                {# Begin Edit Link #}
                {{ function('edit_post_link', __('Edit', theme.details.configuration.theme.textdomain), '<span class="edit-link">', '</span>') }}
                {# End Edit Link #}

            </section>
            {# End Entry Content #}

            {# Begin Comments #}
            {% if (post.comment_status == 'open' or post.comment_count > 0) and post.post_type != 'product' %}
                {{ function('comments_template')|raw }}
            {% endif %}
            {# End Comments #}

        {% else %}

            {# Begin Password Protected Form #}
            <div class="password-form">

                {# Include the password form #}
                {% include 'partials/password-form.html.twig' %}

            </div>
            {# End Password Protected Form #}

        {% endif %}

    {% endblock %}

</article>
 
            throw new \RuntimeException(sprintf('Unable to write in the cache directory (%s).', $dir));
        }
 
        $tmpFile = tempnam($dir, basename($key));
        if (false !== @file_put_contents($tmpFile, $content) && @rename($tmpFile, $key)) {
            @chmod($key, 0666 & ~umask());
 
            if (self::FORCE_BYTECODE_INVALIDATION == ($this->options & self::FORCE_BYTECODE_INVALIDATION)) {
                // Compile cached file into bytecode cache
                if (\function_exists('opcache_invalidate') && filter_var(ini_get('opcache.enable'), FILTER_VALIDATE_BOOLEAN)) {
                    @opcache_invalidate($key, true);
                } elseif (\function_exists('apc_compile_file')) {
                    apc_compile_file($key);
                }
            }
 
            return;
        }
 
        throw new \RuntimeException(sprintf('Failed to write cache file "%s".', $key));
    }
 
    public function getTimestamp($key)
    {
        if (!file_exists($key)) {
            return 0;
        }
 
        return (int) @filemtime($key);
    }
}
 
class_alias('Twig\Cache\FilesystemCache', 'Twig_Cache_Filesystem');
 
Exception message: Failed to write cache file "/nas/content/live/midhudsonaddic/wp-content/cache/gantry5/midhudsonaddictionrecovery/twig/73/7377af7a14b500012fcf0badaceeadb5742f42738310928eb8dd2684f9132d49.php".
 
            if (!$this->isAutoReload() || $this->isTemplateFresh($name, $this->cache->getTimestamp($key))) {
                $this->cache->load($key);
            }
 
            $source = null;
            if (!class_exists($cls, false)) {
                $loader = $this->getLoader();
                if (!$loader instanceof SourceContextLoaderInterface) {
                    $source = new Source($loader->getSource($name), $name);
                } else {
                    $source = $loader->getSourceContext($name);
                }
 
                $content = $this->compileSource($source);
 
                if ($this->bcWriteCacheFile) {
                    $this->writeCacheFile($key, $content);
                } else {
                    $this->cache->write($key, $content);
                    $this->cache->load($key);
                }
 
                if (!class_exists($mainCls, false)) {
                    /* Last line of defense if either $this->bcWriteCacheFile was used,
                     * $this->cache is implemented as a no-op or we have a race condition
                     * where the cache was cleared between the above calls to write to and load from
                     * the cache.
                     */
                    eval('?>'.$content);
                }
            }
 
            if (!class_exists($cls, false)) {
                throw new RuntimeError(sprintf('Failed to load Twig template "%s", index "%s": cache might be corrupted.', $name, $index), -1, $source);
            }
        }
 
        if (!$this->runtimeInitialized) {
            $this->initRuntime();
    /**
     * Loads a template internal representation.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @param string $name  The template name
     * @param int    $index The index if it is an embedded template
     *
     * @return \Twig_TemplateInterface A template instance representing the given template name
     *
     * @throws LoaderError  When the template cannot be found
     * @throws RuntimeError When a previously generated cache is corrupted
     * @throws SyntaxError  When an error occurred during compilation
     *
     * @internal
     */
    public function loadTemplate($name, $index = null)
    {
        return $this->loadClass($this->getTemplateClass($name), $name, $index);
    }
 
    /**
     * @internal
     */
    public function loadClass($cls, $name, $index = null)
    {
        $mainCls = $cls;
        if (null !== $index) {
            $cls .= '___'.$index;
        }
 
        if (isset($this->loadedTemplates[$cls])) {
            return $this->loadedTemplates[$cls];
        }
 
        if (!class_exists($cls, false)) {
            if ($this->bcGetCacheFilename) {
                $key = $this->getCacheFilename($name);
            } else {
     *
     * @param string|TemplateWrapper|\Twig\Template $name The template name
     *
     * @throws LoaderError  When the template cannot be found
     * @throws RuntimeError When a previously generated cache is corrupted
     * @throws SyntaxError  When an error occurred during compilation
     *
     * @return TemplateWrapper
     */
    public function load($name)
    {
        if ($name instanceof TemplateWrapper) {
            return $name;
        }
 
        if ($name instanceof Template) {
            return new TemplateWrapper($this, $name);
        }
 
        return new TemplateWrapper($this, $this->loadTemplate($name));
    }
 
    /**
     * Loads a template internal representation.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @param string $name  The template name
     * @param int    $index The index if it is an embedded template
     *
     * @return \Twig_TemplateInterface A template instance representing the given template name
     *
     * @throws LoaderError  When the template cannot be found
     * @throws RuntimeError When a previously generated cache is corrupted
     * @throws SyntaxError  When an error occurred during compilation
     *
     * @internal
     */
    public function loadTemplate($name, $index = null)
        }
 
        $key = null;
        $output = false;
        if ( false !== $expires ) {
            ksort($data);
            $key = md5($file.json_encode($data));
            $output = $this->get_cache($key, self::CACHEGROUP, $cache_mode);
        }
 
        if ( false === $output || null === $output ) {
            $twig = $this->get_twig();
            if ( strlen($file) ) {
                $loader = $this->get_loader();
                $result = $loader->getCacheKey($file);
                do_action('timber_loader_render_file', $result);
            }
            $data = apply_filters('timber_loader_render_data', $data);
            $data = apply_filters('timber/loader/render_data', $data, $file);
            $template = $twig->load($file);
            $output = $template->render($data);
        }
 
        if ( false !== $output && false !== $expires && null !== $key ) {
            $this->delete_cache();
            $this->set_cache($key, $output, self::CACHEGROUP, $expires, $cache_mode);
        }
        $output = apply_filters('timber_output', $output);
        return apply_filters('timber/output', $output, $data, $file);
    }
 
    protected function delete_cache() {
        Cleaner::delete_transients();
    }
 
    /**
     * Get first existing template.
     *
     * @param array|string $templates  Name(s) of the Twig template(s) to choose from.
     * @return string|bool             Name of chosen template, otherwise false.
        if ( $via_render ) {
            $file = apply_filters('timber_render_file', $file);
        } else {
            $file = apply_filters('timber_compile_file', $file);
        }
 
        $output = false;
 
        if ($file !== false) {
            if ( is_null($data) ) {
                $data = array();
            }
 
            if ( $via_render ) {
                $data = apply_filters('timber_render_data', $data);
            } else {
                $data = apply_filters('timber_compile_data', $data);
            }
 
            $output = $loader->render($file, $data, $expires, $cache_mode);
        } else {
            if ( is_array($filenames) ) {
                $filenames = implode(", ", $filenames);
            }
            Helper::error_log( 'Error loading your template files: '.$filenames.'. Make sure one of these files exists.' );
        }
 
        do_action('timber_compile_done');
        return $output;
    }
 
    /**
     * Compile a string.
     *
     * @api
     * @example
     * ```php
     * $data = array(
     *     'username' => 'Jane Doe',
     * );
        $twig = $dummy_loader->get_twig();
        $template = $twig->createTemplate($string);
        return $template->render($data);
    }
 
    /**
     * Fetch function.
     *
     * @api
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
     *                                 array, the first value is used for non-logged in visitors, the second for users.
     *                                 Default false.
     * @param string       $cache_mode Optional. Any of the cache mode constants defined in TimberLoader.
     * @return bool|string The returned output.
     */
    public static function fetch( $filenames, $data = array(), $expires = false, $cache_mode = Loader::CACHE_USE_DEFAULT ) {
        $output = self::compile($filenames, $data, $expires, $cache_mode, true);
        $output = apply_filters('timber_compile_result', $output);
        return $output;
    }
 
    /**
     * Render function.
     *
     * Passes data to a Twig file and echoes the output.
     *
     * @api
     * @example
     * ```php
     * $context = Timber::context();
     *
     * Timber::render( 'index.twig', $context );
     * ```
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
     * Passes data to a Twig file and echoes the output.
     *
     * @api
     * @example
     * ```php
     * $context = Timber::context();
     *
     * Timber::render( 'index.twig', $context );
     * ```
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
     *                                 array, the first value is used for non-logged in visitors, the second for users.
     *                                 Default false.
     * @param string       $cache_mode Optional. Any of the cache mode constants defined in TimberLoader.
     * @return bool|string The echoed output.
     */
    public static function render( $filenames, $data = array(), $expires = false, $cache_mode = Loader::CACHE_USE_DEFAULT ) {
        $output = self::fetch($filenames, $data, $expires, $cache_mode);
        echo $output;
        return $output;
    }
 
    /**
     * Render a string with Twig variables.
     *
     * @api
     * @example
     * ```php
     * $data = array(
     *     'username' => 'Jane Doe',
     * );
     *
     * Timber::render_string( 'Hi {{ username }}, I’m a string with a custom Twig variable', $data );
     * ```
     * @param string $string A string with Twig variables.
     * @param array  $data   An array of data to use in Twig template.
     * @return bool|string
     */
 */

defined('ABSPATH') or die;

use Timber\Timber;

/*
 * The template for displaying comments
 */

$context = Timber::get_context();

$post            = new \Timber\Post();
$context['post'] = $post;

if (post_password_required($post)) {
    return;
}

Timber::render(['partials/comments-' . $post->ID . '.html.twig', 'partials/comments-' . $post->post_type . '.html.twig', 'partials/comments.html.twig'], $context);
 
 
    if ( ! defined( 'COMMENTS_TEMPLATE' ) ) {
        define( 'COMMENTS_TEMPLATE', true );
    }
 
    $theme_template = trailingslashit( $wp_stylesheet_path ) . $file;
 
    /**
     * Filters the path to the theme template file used for the comments template.
     *
     * @since 1.5.1
     *
     * @param string $theme_template The path to the theme template file.
     */
    $include = apply_filters( 'comments_template', $theme_template );
 
    if ( file_exists( $include ) ) {
        require $include;
    } elseif ( file_exists( trailingslashit( $wp_template_path ) . $file ) ) {
        require trailingslashit( $wp_template_path ) . $file;
    } else { // Backward compat code will be removed in a future release.
        require ABSPATH . WPINC . '/theme-compat/comments.php';
    }
}
 
/**
 * Displays the link to the comments for the current post ID.
 *
 * @since 0.71
 *
 * @param false|string $zero      Optional. String to display when no comments. Default false.
 * @param false|string $one       Optional. String to display when only one comment is available. Default false.
 * @param false|string $more      Optional. String to display when there are more than one comment. Default false.
 * @param string       $css_class Optional. CSS class to use for comments. Default empty.
 * @param false|string $none      Optional. String to display when comments have been turned off. Default false.
 */
function comments_popup_link( $zero = false, $one = false, $more = false, $css_class = '', $none = false ) {
    $post_id         = get_the_ID();
    $post_title      = get_the_title();
    $comments_number = (int) get_comments_number( $post_id );
        if ( is_array($arr) ) {
            return $arr;
        }
        $arr = array($arr);
        return $arr;
    }
 
    /**
     *
     *
     * @param string  $function_name
     * @return mixed
     */
    public function exec_function( $function_name ) {
        $args = func_get_args();
        array_shift($args);
        if ( is_string($function_name) ) {
            $function_name = trim($function_name);
        }
        return call_user_func_array($function_name, ($args));
    }
 
    /**
     *
     *
     * @param string  $content
     * @return string
     */
    public function twig_pretags( $content ) {
        return preg_replace_callback('|<pre.*>(.*)</pre|isU', array(&$this, 'convert_pre_entities'), $content);
    }
 
    /**
     *
     *
     * @param array   $matches
     * @return string
     */
    public function convert_pre_entities( $matches ) {
        return str_replace($matches[1], htmlentities($matches[1]), $matches[0]);
        if ( is_array($arr) ) {
            return $arr;
        }
        $arr = array($arr);
        return $arr;
    }
 
    /**
     *
     *
     * @param string  $function_name
     * @return mixed
     */
    public function exec_function( $function_name ) {
        $args = func_get_args();
        array_shift($args);
        if ( is_string($function_name) ) {
            $function_name = trim($function_name);
        }
        return call_user_func_array($function_name, ($args));
    }
 
    /**
     *
     *
     * @param string  $content
     * @return string
     */
    public function twig_pretags( $content ) {
        return preg_replace_callback('|<pre.*>(.*)</pre|isU', array(&$this, 'convert_pre_entities'), $content);
    }
 
    /**
     *
     *
     * @param array   $matches
     * @return string
     */
    public function convert_pre_entities( $matches ) {
        return str_replace($matches[1], htmlentities($matches[1]), $matches[0]);
            echo "
                ";
            // line 51
            echo "                ";
            echo call_user_func_array($this->env->getFunction('function')->getCallable(), ["edit_post_link", __("Edit", $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["theme"] ?? null), "details", []), "configuration", []), "theme", []), "textdomain", [])), "<span class=\"edit-link\">", "</span>"]);
            echo "
                ";
            // line 53
            echo "
            </section>
            ";
            // line 56
            echo "
            ";
            // line 58
            echo "            ";
            if (((($this->getAttribute(($context["post"] ?? null), "comment_status", []) == "open") || ($this->getAttribute(($context["post"] ?? null), "comment_count", []) > 0)) && ($this->getAttribute(($context["post"] ?? null), "post_type", []) != "product"))) {
                // line 59
                echo "                ";
                echo call_user_func_array($this->env->getFunction('function')->getCallable(), ["comments_template"]);
                echo "
            ";
            }
            // line 61
            echo "            ";
            // line 62
            echo "
        ";
        } else {
            // line 64
            echo "
            ";
            // line 66
            echo "            <div class=\"password-form\">
 
                ";
            // line 69
            echo "                ";
            $this->loadTemplate("partials/password-form.html.twig", "partials/content-single.html.twig", 69)->display($context);
            // line 70
 
        if ($useBlocks && isset($blocks[$name])) {
            $template = $blocks[$name][0];
            $block = $blocks[$name][1];
        } elseif (isset($this->blocks[$name])) {
            $template = $this->blocks[$name][0];
            $block = $this->blocks[$name][1];
        } else {
            $template = null;
            $block = null;
        }
 
        // avoid RCEs when sandbox is enabled
        if (null !== $template && !$template instanceof self) {
            throw new \LogicException('A block must be a method on a \Twig\Template instance.');
        }
 
        if (null !== $template) {
            try {
                $template->$block($context, $blocks);
            } catch (Error $e) {
                if (!$e->getSourceContext()) {
                    $e->setSourceContext($template->getSourceContext());
                }
 
                // this is mostly useful for \Twig\Error\LoaderError exceptions
                // see \Twig\Error\LoaderError
                if (-1 === $e->getTemplateLine()) {
                    $e->guess();
                }
 
                throw $e;
            } catch (\Exception $e) {
                $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
                $e->guess();
 
                throw $e;
            }
        } elseif (false !== $parent = $this->getParent($context)) {
            $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false);
 
        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }
 
    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        echo "<article class=\"post-type-";
        echo $this->getAttribute(($context["post"] ?? null), "post_type", []);
        echo " ";
        echo $this->getAttribute(($context["post"] ?? null), "class", []);
        echo "\" id=\"post-";
        echo $this->getAttribute(($context["post"] ?? null), "ID", []);
        echo "\">
 
    ";
        // line 3
        $this->displayBlock('content', $context, $blocks);
        // line 77
        echo "
</article>
";
    }
 
    // line 3
    public function block_content($context, array $blocks = [])
    {
        // line 4
        echo "
        ";
        // line 6
        echo "        <section class=\"entry-header\">
 
            ";
        // line 9
        echo "            ";
        if ($this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "config", []), "get", [0 => (("content." . ($context["scope"] ?? null)) . ".title.enabled"), 1 => "1"], "method")) {
            // line 10
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
            $e->guess();
 
            throw $e;
        }
    }
 
    {
        return $this;
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
        $context["twigTemplate"] = "single.html.twig";
        // line 3
        $context["scope"] = "single";
        // line 1
        $this->parent = $this->loadTemplate("partials/page.html.twig", "single.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }
 
    // line 5
    public function block_content($context, array $blocks = [])
    {
        // line 6
        echo "
    <div class=\"platform-content\">
        <div class=\"content-wrapper\">
            <section class=\"entry\">
 
                ";
        // line 11
        $this->loadTemplate([0 => (("partials/content-" . ($context["scope"] ?? null)) . ".html.twig"), 1 => "partials/content.html.twig"], "single.html.twig", 11)->display($context);
        // line 12
        echo "
            </section>
        </div> <!-- /content-wrapper -->
    </div>
 
";
    }
 
    public function getTemplateName()
    {
        return "single.html.twig";
    }
 
    public function isTraitable()
    {
        return false;
    }
 
    public function getDebugInfo()
 
        if ($useBlocks && isset($blocks[$name])) {
            $template = $blocks[$name][0];
            $block = $blocks[$name][1];
        } elseif (isset($this->blocks[$name])) {
            $template = $this->blocks[$name][0];
            $block = $this->blocks[$name][1];
        } else {
            $template = null;
            $block = null;
        }
 
        // avoid RCEs when sandbox is enabled
        if (null !== $template && !$template instanceof self) {
            throw new \LogicException('A block must be a method on a \Twig\Template instance.');
        }
 
        if (null !== $template) {
            try {
                $template->$block($context, $blocks);
            } catch (Error $e) {
                if (!$e->getSourceContext()) {
                    $e->setSourceContext($template->getSourceContext());
                }
 
                // this is mostly useful for \Twig\Error\LoaderError exceptions
                // see \Twig\Error\LoaderError
                if (-1 === $e->getTemplateLine()) {
                    $e->guess();
                }
 
                throw $e;
            } catch (\Exception $e) {
                $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getSourceContext(), $e);
                $e->guess();
 
                throw $e;
            }
        } elseif (false !== $parent = $this->getParent($context)) {
            $parent->displayBlock($name, $context, array_merge($this->blocks, $blocks), false);
    }
 
    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "debugger", []), "startTimer", [0 => "render", 1 => "Rendering page"], "method");
        // line 2
        $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "theme", []), "setLayout", [], "method");
        // line 3
        $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "theme", []), "loadAtoms", [], "method");
        // line 4
        $context["segments"] = $this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "theme", []), "segments", [], "method");
        // line 6
        ob_start(function () { return ''; });
        // line 7
        echo "    ";
        if ($this->getAttribute($this->getAttribute(($context["gantry"] ?? null), "theme", []), "hasContent", [], "method")) {
            // line 8
            echo "        ";
            $this->displayBlock('content', $context, $blocks);
            // line 10
            echo "    ";
        }
        $context["content"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
        // line 13
        $context["offcanvas"] = null;
        // line 14
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["segments"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["segment"]) {
            if (($this->getAttribute($context["segment"], "type", []) == "offcanvas")) {
                // line 15
                $context["offcanvas"] = $context["segment"];
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['segment'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 18
        ob_start(function () { return ''; });
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
            $e->guess();
 
            throw $e;
        }
    }
 
    {
        return $this;
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
    public function __construct(Environment $env)
    {
        parent::__construct($env);
 
        $this->blocks = [
            'page_head' => [$this, 'block_page_head'],
            'page_footer' => [$this, 'block_page_footer'],
        ];
    }
 
    protected function doGetParent(array $context)
    {
        // line 1
        return "@nucleus/page.html.twig";
    }
 
    protected function doDisplay(array $context, array $blocks = [])
    {
        $this->parent = $this->loadTemplate("@nucleus/page.html.twig", "partials/page.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }
 
    // line 3
    public function block_page_head($context, array $blocks = [])
    {
        // line 4
        if (($context["page_head"] ?? null)) {
            // line 5
            echo "        ";
            echo ($context["page_head"] ?? null);
            echo "
    ";
        } else {
            // line 7
            echo "        ";
            $this->displayParentBlock("page_head", $context, $blocks);
            echo "
    ";
        }
    }
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
            $e->guess();
 
            throw $e;
        }
    }
 
    {
        return $this;
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }
 
    protected function doGetParent(array $context)
    {
        // line 1
        return "partials/page.html.twig";
    }
 
    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 2
        $context["twigTemplate"] = "single.html.twig";
        // line 3
        $context["scope"] = "single";
        // line 1
        $this->parent = $this->loadTemplate("partials/page.html.twig", "single.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }
 
    // line 5
    public function block_content($context, array $blocks = [])
    {
        // line 6
        echo "
    <div class=\"platform-content\">
        <div class=\"content-wrapper\">
            <section class=\"entry\">
 
                ";
        // line 11
        $this->loadTemplate([0 => (("partials/content-" . ($context["scope"] ?? null)) . ".html.twig"), 1 => "partials/content.html.twig"], "single.html.twig", 11)->display($context);
        // line 12
        echo "
            </section>
        </div> <!-- /content-wrapper -->
    </div>
 
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Exception $e) {
            $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
            $e->guess();
 
            throw $e;
        }
    }
 
    {
        return $this;
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Exception $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
     * @internal
     */
    public function __construct(Environment $env, Template $template)
    {
        $this->env = $env;
        $this->template = $template;
    }
 
    /**
     * Renders the template.
     *
     * @param array $context An array of parameters to pass to the template
     *
     * @return string The rendered template
     */
    public function render($context = [])
    {
        // using func_get_args() allows to not expose the blocks argument
        // as it should only be used by internal code
        return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []);
    }
 
    /**
     * Displays the template.
     *
     * @param array $context An array of parameters to pass to the template
     */
    public function display($context = [])
    {
        // using func_get_args() allows to not expose the blocks argument
        // as it should only be used by internal code
        $this->template->display($context, \func_num_args() > 1 ? func_get_arg(1) : []);
    }
 
    /**
     * Checks if a block is defined.
     *
     * @param string $name    The block name
     * @param array  $context An array of parameters to pass to the template
     *
 
        $key = null;
        $output = false;
        if ( false !== $expires ) {
            ksort($data);
            $key = md5($file.json_encode($data));
            $output = $this->get_cache($key, self::CACHEGROUP, $cache_mode);
        }
 
        if ( false === $output || null === $output ) {
            $twig = $this->get_twig();
            if ( strlen($file) ) {
                $loader = $this->get_loader();
                $result = $loader->getCacheKey($file);
                do_action('timber_loader_render_file', $result);
            }
            $data = apply_filters('timber_loader_render_data', $data);
            $data = apply_filters('timber/loader/render_data', $data, $file);
            $template = $twig->load($file);
            $output = $template->render($data);
        }
 
        if ( false !== $output && false !== $expires && null !== $key ) {
            $this->delete_cache();
            $this->set_cache($key, $output, self::CACHEGROUP, $expires, $cache_mode);
        }
        $output = apply_filters('timber_output', $output);
        return apply_filters('timber/output', $output, $data, $file);
    }
 
    protected function delete_cache() {
        Cleaner::delete_transients();
    }
 
    /**
     * Get first existing template.
     *
     * @param array|string $templates  Name(s) of the Twig template(s) to choose from.
     * @return string|bool             Name of chosen template, otherwise false.
     */
        if ( $via_render ) {
            $file = apply_filters('timber_render_file', $file);
        } else {
            $file = apply_filters('timber_compile_file', $file);
        }
 
        $output = false;
 
        if ($file !== false) {
            if ( is_null($data) ) {
                $data = array();
            }
 
            if ( $via_render ) {
                $data = apply_filters('timber_render_data', $data);
            } else {
                $data = apply_filters('timber_compile_data', $data);
            }
 
            $output = $loader->render($file, $data, $expires, $cache_mode);
        } else {
            if ( is_array($filenames) ) {
                $filenames = implode(", ", $filenames);
            }
            Helper::error_log( 'Error loading your template files: '.$filenames.'. Make sure one of these files exists.' );
        }
 
        do_action('timber_compile_done');
        return $output;
    }
 
    /**
     * Compile a string.
     *
     * @api
     * @example
     * ```php
     * $data = array(
     *     'username' => 'Jane Doe',
     * );
        $twig = $dummy_loader->get_twig();
        $template = $twig->createTemplate($string);
        return $template->render($data);
    }
 
    /**
     * Fetch function.
     *
     * @api
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
     *                                 array, the first value is used for non-logged in visitors, the second for users.
     *                                 Default false.
     * @param string       $cache_mode Optional. Any of the cache mode constants defined in TimberLoader.
     * @return bool|string The returned output.
     */
    public static function fetch( $filenames, $data = array(), $expires = false, $cache_mode = Loader::CACHE_USE_DEFAULT ) {
        $output = self::compile($filenames, $data, $expires, $cache_mode, true);
        $output = apply_filters('timber_compile_result', $output);
        return $output;
    }
 
    /**
     * Render function.
     *
     * Passes data to a Twig file and echoes the output.
     *
     * @api
     * @example
     * ```php
     * $context = Timber::context();
     *
     * Timber::render( 'index.twig', $context );
     * ```
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
     * Passes data to a Twig file and echoes the output.
     *
     * @api
     * @example
     * ```php
     * $context = Timber::context();
     *
     * Timber::render( 'index.twig', $context );
     * ```
     * @param array|string $filenames  Name of the Twig file to render. If this is an array of files, Timber will
     *                                 render the first file that exists.
     * @param array        $data       Optional. An array of data to use in Twig template.
     * @param bool|int     $expires    Optional. In seconds. Use false to disable cache altogether. When passed an
     *                                 array, the first value is used for non-logged in visitors, the second for users.
     *                                 Default false.
     * @param string       $cache_mode Optional. Any of the cache mode constants defined in TimberLoader.
     * @return bool|string The echoed output.
     */
    public static function render( $filenames, $data = array(), $expires = false, $cache_mode = Loader::CACHE_USE_DEFAULT ) {
        $output = self::fetch($filenames, $data, $expires, $cache_mode);
        echo $output;
        return $output;
    }
 
    /**
     * Render a string with Twig variables.
     *
     * @api
     * @example
     * ```php
     * $data = array(
     *     'username' => 'Jane Doe',
     * );
     *
     * Timber::render_string( 'Hi {{ username }}, I’m a string with a custom Twig variable', $data );
     * ```
     * @param string $string A string with Twig variables.
     * @param array  $data   An array of data to use in Twig template.
     * @return bool|string
     */
use Timber\Timber;

/*
 * The Template for displaying all single posts
 */

$gantry = Gantry\Framework\Gantry::instance();
$theme  = $gantry['theme'];

// We need to render contents of <head> before plugin content gets added.
$context              = Timber::get_context();
$context['page_head'] = $theme->render('partials/page_head.html.twig', $context);

$post = Timber::query_post();

$context['post'] = $post;
$context['wp_title'] .= ' - ' . $post->title();

Timber::render(['single-' . $post->ID . '.html.twig', 'single-' . $post->post_type . '.html.twig', 'single.html.twig'], $context);
 
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        /**
         * Fires immediately before including the template.
         *
         * @since 6.9.0
         *
         * @param string $template The path of the template about to be included.
         */
        do_action( 'wp_before_include_template', $template );
 
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 

Environment & details:

empty
Key Value
TCM_PostShown WP_Post Object ( [ID] => 5096 [post_author] => 8 [post_date] => 2021-11-01 11:10:10 [post_date_gmt] => 2021-11-01 15:10:10 [post_content] => <!-- wp:paragraph --> <p>Unlike other drugs, hard liquor, beer, and other inebriants are seldom ever demonized or considered addictive. In fact, from the age of 21 onwards, it is perfectly legal to enjoy an alcoholic beverage on occasion or even more often if one so chooses. Some might even go so far as to say that drinking has become more socially accepted in recent years. Unfortunately, this acceptance may have contributed to turning many one-time social drinkers into full-on <a href="https://midhudsonaddictionrecovery.com/treatment/alcoholism/">alcoholics</a>, not to mention making alcoholism a chronic and pervasive problem in the U.S. It should be noted that none of this is rooted solely in conjecture; several studies underscore the gravity of America's struggle when it comes to binge drinking and full-on alcohol use disorders (AUDs).&nbsp;</p> <!-- /wp:paragraph --> <!-- wp:image {"align":"center","id":5098,"sizeSlug":"large","linkDestination":"none"} --> <figure class="wp-block-image aligncenter size-large"><img src="https://midhudsonaddictionrecovery.com/wp-content/uploads/2021/11/is-Alcohol-a-Depressant-1024x683.jpg" alt="Is Alcohol a Depressant?" class="wp-image-5098"/></figure> <!-- /wp:image --> <!-- wp:paragraph --> <p>According to a 2015 study, the most recent and relevant data available, from the&nbsp;<a target="_blank" href="https://medlineplus.gov/genetics/condition/alcohol-use-disorder/#frequency" rel="noreferrer noopener">National Survey on Drug Use and Health</a>, some 16 million Americans have an alcohol use disorder. Of those, 8 percent are men, 4 percent are women, and just a little over 2.5 percent are teenagers. Many of these same individuals who admitted to abusing <a href="https://midhudsonaddictionrecovery.com/treatment/alcoholism/">alcohol say they started drinking</a> to cope with depression. But they soon found out that they were not doing themselves any favors since alcohol is a depressant.&nbsp;</p> <!-- /wp:paragraph --> <!-- wp:heading --> <h2 class="wp-block-heading">Why Are Inebriants Considered Depressants?</h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p>One of the things that very people know about their favorite liquors, beers, wines, and other inebriants is that they are all characterized as central nervous system depressants. In plain language, this means that consuming these alcoholic beverages can slow down brain function and neural activity by enhancing the effects of the neurotransmitter&nbsp;<a target="_blank" href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC165791/" rel="noreferrer noopener">gamma-aminobutyric acid</a>&nbsp;(GABA) in the brain. When this happens, most people will exhibit the following:</p> <!-- /wp:paragraph --> <!-- wp:list --> <ul><!-- wp:list-item --> <li>Slurred speech&nbsp;</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>An extreme lack of coordination</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>Hallucinations&nbsp;</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>Delayed reaction times and abilities</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>Depression</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li></li> <!-- /wp:list-item --></ul> <!-- /wp:list --> <!-- wp:paragraph --> <p>The process whereby inebriants affect the central nervous system helps to explain why many people who binge drink or otherwise drink excessively often behave irrationally. It also explains why drinking lowers inhibitions and lends itself to people making bad decisions as they succumb to poor judgment.</p> <!-- /wp:paragraph --> <!-- wp:heading --> <h2 class="wp-block-heading">Stimulating and Sedating Effects: Understanding the True Consequences of Excessive Drinking</h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p>Having detailed why alcohol is considered a depressant, let us now take a moment to discuss the stimulating and sedating effects that go hand-in-hand with it and why it is so alluring to someone wanting to free themselves from their inhibitions. Yes, along with drinking <a href="https://midhudsonaddictionrecovery.com/levofloxacin-and-alcohol/">alcohol</a> to cope with depression, many people drink to overcome anxiety or as a way to coax themselves out of their proverbial shell. And this is precisely why many ordinarily quiet social and heavy drinkers refer to alcohol as their social lubricant. In a study published by<a target="_blank" href="https://www.medicinenet.com/script/main/art.asp?articlekey=160850" rel="noreferrer noopener">&nbsp;MedicineNet</a>, researchers echoed the same sentiment. In short, they found that consuming even a modest amount of hard liquor, wine, or even beer in a <a href="https://midhudsonaddictionrecovery.com/therapy/group/">group</a> setting can help boost emotions and enhance social bonding. Of course, the feeling of being liberated from inhibition and the short-lived euphoria that comes with drinking <a href="https://midhudsonaddictionrecovery.com/treatment/alcoholism/">alcoholic beverages often leads</a> people down a path of addiction. And this is because most people develop a tolerance that requires them to consume significantly more of their preferred alcoholic beverage to achieve the same euphoria, freedom from inhibition, and comfort when it comes to social bonding. That said, the more inebriants someone consumes, the more likely they are to struggle with the sedating effects of those inebriants.</p> <!-- /wp:paragraph --> <!-- wp:heading --> <h2 class="wp-block-heading">Depressants and How They Affect the Body and Mind</h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p>With the understanding that alcoholic beverages of all kinds are, indeed, depressants, let's take a deep dive into how these very depressants affect both the mind and body. Of course, to do that, we <a href="https://midhudsonaddictionrecovery.com/switching-adderall/">need to know</a> a little more about the neurotransmitter in the brain called gamma-aminobutyric acid. When someone consumes hard liquor, wine, beer, or another inebriant, the substances in those drinks bind to the GABA receptors in the brain. When this happens, it can affect people in a couple of different ways. For one, when inebriants bind to GABA receptors, it triggers feelings of calmness and sedation. Beyond that, it depresses the central nervous system, which, in turn, slows down breathing and heart rate.</p> <!-- /wp:paragraph --> <!-- wp:heading --> <h2 class="wp-block-heading">Glutamate: How This One Neurotransmitter Triggers Depression When We Consume Alcoholic Beverages</h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p>Along with gamma-aminobutyric acid, the substances in alcoholic beverages also bind to receptors in the brain known as&nbsp;<a target="_blank" href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6826830/" rel="noreferrer noopener">glutamate</a>. For those not aware, glutamate is an excitatory neurotransmitter released by nerve cells in the brain. The primary role of this particular neurotransmitter is to send signals between cells, and this signaling plays an important role when it comes to learning and memory. Consuming too much in the way of alcoholic beverages interferes with this process, and for many people, it impedes brain functionality and causes memory loss. While we are on the topic, it is worth pointing out that consuming inebriants can also alter dopamine levels in the brain. This particular neurotransmitter is associated with pleasure and reward. That said, the more someone drinks, the more intense those feelings become. For many, these feelings caused by an uptick in dopamine are so great that it drives them to keep drinking despite the risk to their health.</p> <!-- /wp:paragraph --> <!-- wp:heading --> <h2 class="wp-block-heading">Combining Alcoholic Beverages With Other Depressants</h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p>Sadly, excessive drinking alone is not the only problem in America. Many people who binge drink or struggle with alcoholism will sometimes take prescription depressant drugs commonly prescribed to treat anxiety and other mental illnesses with their favorite alcoholic beverages. Of course, doing so poses multiple health risks. According to most physicians and addiction experts, combining Xanax, <a href="https://midhudsonaddictionrecovery.com/benzodiazepines/valium/">Valium</a>, Klonopin, and the like with any alcoholic beverage can either intensify or cause the following:</p> <!-- /wp:paragraph --> <!-- wp:list --> <ul><!-- wp:list-item --> <li>Depression</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>Dizziness</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>Fatigue</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>Impaired motor skills</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>Feeling lightheaded</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>Low blood pressure</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>Nausea and vomiting</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>Slowed breathing</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>A lower heart rate</li> <!-- /wp:list-item --> <!-- wp:list-item --> <li>Slurred speech</li> <!-- /wp:list-item --></ul> <!-- /wp:list --> <!-- wp:paragraph --> <p>It is worth noting that in addition to these symptoms, combining alcoholic beverages with other depressants can trigger seizures and may even be fatal for some people. This combination can also further strain the relationships people have with their friends and family, and the same applies to relationships with work colleagues and interactions with people in general.</p> <!-- /wp:paragraph --> <!-- wp:heading --> <h2 class="wp-block-heading">Final Thoughts on the Depressant Effects of Inebriants</h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p>Even if the chief objective for partaking in the consumption of alcoholic drinks is to destress, relax, or overcome inhibitions, drinking even small amounts can significantly change one's mood, behavior, and neuropsychological function due to the impact on the central nervous system. And it is for these very reasons, hard liquor, wine, beer, and the like are all considered depressants, much like Xanax, Valium, and similar psychotropic drugs prescribed to treat anxiety and other mental illnesses.</p> <!-- /wp:paragraph --> <!-- wp:image {"align":"center","id":5100,"sizeSlug":"large","linkDestination":"none"} --> <figure class="wp-block-image aligncenter size-large"><img src="https://midhudsonaddictionrecovery.com/wp-content/uploads/2021/11/say-no-to-alcohol-1024x683.jpg" alt="say no to alcohol" class="wp-image-5100"/></figure> <!-- /wp:image --> <!-- wp:paragraph --> <p>With that in mind, if you're among the millions of people in America struggling with a drinking problem, you should know that there is no shortage of <a href="https://midhudsonaddictionrecovery.com/treatment/">treatment</a> facilities that can help. For instance, many facilities offer medication-assisted <a href="https://midhudsonaddictionrecovery.com/detox/">detox</a> to help ease the severe withdrawal symptoms that most people experience once they quit drinking for good, including elevated blood pressure, fever, insomnia, headaches, profuse sweating, and tremors. Many facilities also offer counseling with a licensed therapist to help individuals understand what drove them to start drinking in the first place. This understanding is critical in enabling people to achieve both short and long-term sobriety. Indeed, the journey to sobriety is long and arduous, but it is not impossible when you have help and, of course, the right mindset.</p> <!-- /wp:paragraph --> [post_title] => Is Alcohol a Depressant? [post_excerpt] => [post_status] => publish [comment_status] => open [ping_status] => open [post_password] => [post_name] => is-alcohol-a-depressant [to_ping] => [pinged] => [post_modified] => 2025-08-07 09:27:59 [post_modified_gmt] => 2025-08-07 13:27:59 [post_content_filtered] => [post_parent] => 0 [guid] => https://midhudsonaddictionrecovery.com/?p=5096 [menu_order] => 0 [post_type] => post [post_mime_type] => [comment_count] => 0 [filter] => raw [status] => publish [id] => 5096 [slug] => is-alcohol-a-depressant [custom] => Array ( [_edit_lock] => 1754573282:6 [_edit_last] => 6 [_yoast_wpseo_content_score] => 60 [_yoast_wpseo_estimated-reading-time-minutes] => 6 [_yoast_wpseo_primary_category] => 80 [_thumbnail_id] => 5098 [schema_disabled] => 0 [_schema_disabled] => feild_schema_disabled [schema_sameAs_repeater] => [_schema_sameAs_repeater] => field_schema_sameAs_repeater [schema_custom_json_repeater] => [_schema_custom_json_repeater] => field_schema_custom_json_repeater [schema_custom_json_override] => 0 [_schema_custom_json_override] => feild_schema_custom_json_override [_yoast_wpseo_wordproof_timestamp] => [wpil_sync_report3] => 1 ) )
TCM_SnippetsWrittenIds Array ( [5] => Array ( [active] => 1 [trackMode] => 0 [trackPage] => 0 [id] => 5 [name] => GA4 + Fathom [code] => <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-T181RYY20Q"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-T181RYY20Q'); </script> <!-- Fathom - beautiful, simple website analytics --> <script src="https://cdn.usefathom.com/script.js" data-site="HZBZHIAP" defer></script> <!-- / Fathom --> [order] => 1000 [position] => 0 [includeEverywhereActive] => 1 [includeCategoriesActive] => 0 [includeTagsActive] => 0 [exceptCategoriesActive] => 0 [exceptTagsActive] => 0 [deviceType] => Array ( [0] => all ) [includePostsOfType_page_Active] => 0 [includePostsOfType_page] => Array ( [0] => -1 ) [exceptPostsOfType_page_Active] => 0 [includePostsOfType_post_Active] => 0 [includePostsOfType_post] => Array ( [0] => -1 ) [exceptPostsOfType_post_Active] => 0 [codesCount] => 3 [includeCategories] => Array ( ) [includeTags] => Array ( ) [exceptCategories] => Array ( ) [exceptTags] => Array ( ) [exceptPostsOfType_page] => Array ( ) [exceptPostsOfType_post] => Array ( ) [CTC_10002_ProductsIds] => Array ( ) [CTC_10002_CategoriesIds] => Array ( ) [CTC_10002_TagsIds] => Array ( ) [CTC_10001_ProductsIds] => Array ( ) [CTC_10001_CategoriesIds] => Array ( ) [CTC_10001_TagsIds] => Array ( ) [CTC_10003_ProductsIds] => Array ( ) [CTC_10003_CategoriesIds] => Array ( ) [CTC_10003_TagsIds] => Array ( ) ) [3] => Array ( [active] => 1 [trackMode] => 0 [trackPage] => 0 [id] => 3 [name] => GTM [code] => <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PCTSSD6');</script> <!-- End Google Tag Manager --> [order] => 1000 [position] => 0 [includeEverywhereActive] => 1 [includeCategoriesActive] => 0 [includeTagsActive] => 0 [exceptCategoriesActive] => 0 [exceptTagsActive] => 0 [deviceType] => Array ( [0] => all ) [includePostsOfType_page_Active] => 0 [includePostsOfType_page] => Array ( [0] => -1 ) [exceptPostsOfType_page_Active] => 0 [includePostsOfType_post_Active] => 0 [includePostsOfType_post] => Array ( [0] => -1 ) [exceptPostsOfType_post_Active] => 0 [codesCount] => 1 [includeCategories] => Array ( ) [includeTags] => Array ( ) [exceptCategories] => Array ( ) [exceptTags] => Array ( ) [exceptPostsOfType_page] => Array ( ) [exceptPostsOfType_post] => Array ( ) [CTC_10002_ProductsIds] => Array ( ) [CTC_10002_CategoriesIds] => Array ( ) [CTC_10002_TagsIds] => Array ( ) [CTC_10001_ProductsIds] => Array ( ) [CTC_10001_CategoriesIds] => Array ( ) [CTC_10001_TagsIds] => Array ( ) [CTC_10003_ProductsIds] => Array ( ) [CTC_10003_CategoriesIds] => Array ( ) [CTC_10003_TagsIds] => Array ( ) ) )
TCM_SnippetsWrittenMd5 Array ( [4bd52374af17647c6b5ff69663b1ddb0] => 5 [1d83876615444ee1c2354fd8b20c1d06] => 3 )
TCM_Cache_Query_2_ Array ( [0] => Array ( [id] => post [text] => Post (post) [name] => Post (post) ) [1] => Array ( [id] => page [text] => Page (page) [name] => Page (page) ) )
empty
empty
empty
Key Value
SERVER_SOFTWARE nginx
REQUEST_URI /is-alcohol-a-depressant/
USER fpm200055
HOME /home/fpm200055
WPENGINE_ACCOUNT midhudsonaddic
WPENGINE_PHPSESSIONS on
WPENGINE_DB_SESSIONS off
GATEWAY_INTERFACE CGI/1.1
HTTP_RAWHOST midhudsonaddictionrecovery.com
REMOTE_ADDR 18.97.9.175
HTTP_X_REAL_IP_REMOTE 104.23.211.129
HTTP_CF_CONNECTING_IP 18.97.9.175, 18.97.9.175, 18.97.9.175
HTTP_X_WPE_SSL 1
HTTP_X_WPE_INSTALL_NAME midhudsonaddic
HTTP_X_WPENGINE_PHP_VERSION 8.2
HTTP_X_IS_BOT 1
SERVER_NAME midhudsonaddictionrecovery.com
HTTP_VIA 1.1 pod-404710 (Varnish/trunk)
HTTP_X_FORWARDED_PROTO https
CONTENT_TYPE
HTTP_CF_VISITOR {\"scheme\":\"https\"}
HTTP_X_WPE_LOCAL_SSL 1
HTTP_ACCEPT_ENCODING gzip
PHP_ADMIN_VALUE newrelic.browser_monitoring.auto_instrument=off; newrelic.enabled=off; newrelic.license=; sendmail_path=/bin/sendmail-wrapper.sh 03c9f7ada29a306649df8e0504516929c294daa5 /usr/sbin/sendmail -t -i; syslog.ident=phperr-midhudsonaddic; newrelic.appname=midhudsonaddic;
DOCUMENT_ROOT /nas/content/live/midhudsonaddic
PATH_INFO
SCRIPT_NAME /index.php
QUERY_STRING
HTTP_CF_IPCOUNTRY US
HTTP_CDN_LOOP cloudflare; loops=1
HTTP_WPE_READONLY on
HTTP_X_CACHE_GROUP normal
HTTP_X_UA_ORIGINAL CCBot/2.0 (https://commoncrawl.org/faq/)
SYSLOG_IDENT phperr-midhudsonaddic
CONTENT_LENGTH 0
IS_WPE 1
HTTP_CF_RAY 9d8c5d795f7655d0-IAD
HTTP_X_WPE_REQUEST_ID 0394f6c7874cac7e878a55f088c4cbde
HTTP_X_WORDPRESS_TYPE DEFAULT
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTPS on
SERVER_ADDR 127.0.0.1
REMOTE_PORT
HTTP_X_WPE_EDGE AN
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
PATH_TRANSLATED /nas/content/live/midhudsonaddic/index.php
REQUEST_METHOD GET
HTTP_HOST midhudsonaddictionrecovery.com
HTTP_X_FORWARDED_HOST midhudsonaddictionrecovery.com
PHP_VALUE upload_max_filesize=50M; post_max_size=100M;
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_URI /index.php
SCRIPT_FILENAME /nas/content/live/midhudsonaddic/index.php
REQUEST_SCHEME http
REDIRECT_STATUS 200
SERVER_PORT 80
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1772915501.09
REQUEST_TIME 1772915501
Key Value
USER fpm200055
HOME /home/fpm200055
WPENGINE_ACCOUNT midhudsonaddic
WPENGINE_PHPSESSIONS on
WPENGINE_DB_SESSIONS off
GATEWAY_INTERFACE CGI/1.1
HTTP_RAWHOST midhudsonaddictionrecovery.com
REMOTE_ADDR 18.97.9.175
REQUEST_URI /is-alcohol-a-depressant/
SERVER_SOFTWARE nginx
HTTP_X_REAL_IP_REMOTE 104.23.211.129
HTTP_CF_CONNECTING_IP 18.97.9.175, 18.97.9.175, 18.97.9.175
HTTP_X_WPE_SSL 1
HTTP_X_WPE_INSTALL_NAME midhudsonaddic
HTTP_X_WPENGINE_PHP_VERSION 8.2
HTTP_X_IS_BOT 1
SERVER_NAME midhudsonaddictionrecovery.com
HTTP_VIA 1.1 pod-404710 (Varnish/trunk)
HTTP_X_FORWARDED_PROTO https
CONTENT_TYPE
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_X_WPE_LOCAL_SSL 1
HTTP_ACCEPT_ENCODING gzip
PHP_ADMIN_VALUE newrelic.browser_monitoring.auto_instrument=off; newrelic.enabled=off; newrelic.license=; sendmail_path=/bin/sendmail-wrapper.sh 03c9f7ada29a306649df8e0504516929c294daa5 /usr/sbin/sendmail -t -i; syslog.ident=phperr-midhudsonaddic; newrelic.appname=midhudsonaddic;
DOCUMENT_ROOT /nas/content/live/midhudsonaddic
PATH_INFO
SCRIPT_NAME /index.php
QUERY_STRING
HTTP_CF_IPCOUNTRY US
HTTP_CDN_LOOP cloudflare; loops=1
HTTP_WPE_READONLY on
HTTP_X_CACHE_GROUP normal
HTTP_X_UA_ORIGINAL CCBot/2.0 (https://commoncrawl.org/faq/)
SYSLOG_IDENT phperr-midhudsonaddic
CONTENT_LENGTH 0
IS_WPE 1
HTTP_CF_RAY 9d8c5d795f7655d0-IAD
HTTP_X_WPE_REQUEST_ID 0394f6c7874cac7e878a55f088c4cbde
HTTP_X_WORDPRESS_TYPE DEFAULT
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTPS on
SERVER_ADDR 127.0.0.1
REMOTE_PORT
HTTP_X_WPE_EDGE AN
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
PATH_TRANSLATED /nas/content/live/midhudsonaddic/index.php
REQUEST_METHOD GET
HTTP_HOST midhudsonaddictionrecovery.com
HTTP_X_FORWARDED_HOST midhudsonaddictionrecovery.com
PHP_VALUE upload_max_filesize=50M; post_max_size=100M;
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_URI /index.php
SCRIPT_FILENAME /nas/content/live/midhudsonaddic/index.php
REQUEST_SCHEME http
REDIRECT_STATUS 200
SERVER_PORT 80
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1772915501.09
REQUEST_TIME 1772915501
0. Whoops\Handler\PrettyPageHandler