ErrorException (E_ERROR)
Undefined variable $content (View: /home/rochene1/public_html/infocancro.pt/nightjar/app/views/services/general/frontend/components/cta-download-file.blade.php) (View: /home/rochene1/public_html/infocancro.pt/nightjar/app/views/services/general/frontend/components/cta-download-file.blade.php)
Previous exceptions
  • Undefined variable $content (View: /home/rochene1/public_html/infocancro.pt/nightjar/app/views/services/general/frontend/components/cta-download-file.blade.php) (0)
  • Undefined variable $content (2)
ErrorException thrown with message "Undefined variable $content (View: /home/rochene1/public_html/infocancro.pt/nightjar/app/views/services/general/frontend/components/cta-download-file.blade.php) (View: /home/rochene1/public_html/infocancro.pt/nightjar/app/views/services/general/frontend/components/cta-download-file.blade.php)" Stacktrace: #62 ErrorException in /home/rochene1/public_html/infocancro.pt/cache/views/e0bf5fc2697222c35f7db92ab7a8a91a3d28b817.php:15 #61 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/PhpEngine.php:44 #60 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/PhpEngine.php:44 #59 do_shortcode_tag in [internal]:0 #58 do_shortcode_tag in [internal]:0 #57 do_shortcode_tag in [internal]:0 #56 Whoops\Exception\ErrorException in /home/rochene1/public_html/infocancro.pt/cache/views/e0bf5fc2697222c35f7db92ab7a8a91a3d28b817.php:15 #55 Whoops\Run:handleError in /home/rochene1/public_html/infocancro.pt/cache/views/e0bf5fc2697222c35f7db92ab7a8a91a3d28b817.php:15 #54 include in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/PhpEngine.php:42 #53 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/CompilerEngine.php:59 #52 Illuminate\View\Engines\CompilerEngine:get in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php:135 #51 Illuminate\View\View:getContents in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php:106 #50 Illuminate\View\View:renderContents in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php:80 #49 Illuminate\View\View:render in /home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/helpers.php:15 #48 view in /home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/SharePress/WordPress/Components/Component.php:66 #47 share\SharePress\WordPress\Components\Component:share\SharePress\WordPress\Components\{closure} in /home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php:433 #46 do_shortcode_tag in [internal]:0 #45 preg_replace_callback in /home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php:273 #44 do_shortcode in /home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/helpers/helpers.php:240 #43 wpb_js_remove_wpautop in /home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php:94 #42 require in /home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php:271 #41 WPBakeryShortCode:loadTemplate in /home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php:244 #40 WPBakeryShortCode:content in /home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php:366 #39 WPBakeryShortCode:output in /home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/helpers/helpers.php:1317 #38 vc_do_shortcode in /home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php:433 #37 do_shortcode_tag in [internal]:0 #36 preg_replace_callback in /home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php:273 #35 do_shortcode in /home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/helpers/helpers.php:240 #34 wpb_js_remove_wpautop in /home/rochene1/public_html/infocancro.pt/wp-content/themes/slendertail/vc_templates/vc_row.php:157 #33 require in /home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php:271 #32 WPBakeryShortCode:loadTemplate in /home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php:40 #31 WPBakeryShortCode_Vc_Row:content in /home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php:366 #30 WPBakeryShortCode:output in /home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/helpers/helpers.php:1317 #29 vc_do_shortcode in /home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php:433 #28 do_shortcode_tag in [internal]:0 #27 preg_replace_callback in /home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php:273 #26 do_shortcode in /home/rochene1/public_html/infocancro.pt/wp-includes/class-wp-hook.php:324 #25 WP_Hook:apply_filters in /home/rochene1/public_html/infocancro.pt/wp-includes/plugin.php:205 #24 apply_filters in /home/rochene1/public_html/infocancro.pt/cache/views/0735f729385c0c3449ad06a54210922f01d134ef.php:11 #23 include in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/PhpEngine.php:42 #22 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/CompilerEngine.php:59 #21 Illuminate\View\Engines\CompilerEngine:get in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php:135 #20 Illuminate\View\View:getContents in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php:106 #19 Illuminate\View\View:renderContents in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php:80 #18 Illuminate\View\View:render in /home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/helpers.php:15 #17 view in /home/rochene1/public_html/infocancro.pt/nightjar/app/Services/General/Controllers/Http/TemplateMatch/Single/Cancers.php:61 #16 nightjar\app\Services\General\Controllers\Http\TemplateMatch\Single\Cancers:index in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/container/Container.php:507 #15 call_user_func_array in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/container/Container.php:507 #14 Illuminate\Container\Container:call in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/support/Facades/Facade.php:216 #13 Illuminate\Support\Facades\Facade:__callStatic in /home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Parsers/BaseParser.php:36 #12 share\SharePress\WordPress\WPTemplateMatch\Parsers\BaseParser:tryRunController in /home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Parsers/BaseParser.php:21 #11 share\SharePress\WordPress\WPTemplateMatch\Parsers\BaseParser:parse in /home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Parsers/SingleParser.php:21 #10 share\SharePress\WordPress\WPTemplateMatch\Parsers\SingleParser:parse in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/container/Container.php:507 #9 call_user_func_array in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/container/Container.php:507 #8 Illuminate\Container\Container:call in /home/rochene1/public_html/infocancro.pt/vendor/illuminate/support/Facades/Facade.php:219 #7 Illuminate\Support\Facades\Facade:__callStatic in /home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Manager.php:93 #6 share\SharePress\WordPress\WPTemplateMatch\Manager:share\SharePress\WordPress\WPTemplateMatch\{closure} in /home/rochene1/public_html/infocancro.pt/wp-includes/class-wp-hook.php:326 #5 WP_Hook:apply_filters in /home/rochene1/public_html/infocancro.pt/wp-includes/plugin.php:205 #4 apply_filters in /home/rochene1/public_html/infocancro.pt/wp-includes/template.php:103 #3 get_query_template in /home/rochene1/public_html/infocancro.pt/wp-includes/template.php:571 #2 get_single_template in /home/rochene1/public_html/infocancro.pt/wp-includes/template-loader.php:81 #1 require_once in /home/rochene1/public_html/infocancro.pt/wp-blog-header.php:19 #0 require in /home/rochene1/public_html/infocancro.pt/index.php:17
Stack frames (63)
62
ErrorException
/cache/views/e0bf5fc2697222c35f7db92ab7a8a91a3d28b817.php15
61
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php44
60
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php44
59
do_shortcode_tag
[internal]0
58
do_shortcode_tag
[internal]0
57
do_shortcode_tag
[internal]0
56
Whoops\Exception\ErrorException
/cache/views/e0bf5fc2697222c35f7db92ab7a8a91a3d28b817.php15
55
Whoops\Run handleError
/cache/views/e0bf5fc2697222c35f7db92ab7a8a91a3d28b817.php15
54
include
/vendor/illuminate/view/Engines/PhpEngine.php42
53
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php59
52
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php135
51
Illuminate\View\View getContents
/vendor/illuminate/view/View.php106
50
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php80
49
Illuminate\View\View render
/vendor/share/sharepress/src/helpers.php15
48
view
/vendor/share/sharepress/src/SharePress/WordPress/Components/Component.php66
47
share\SharePress\WordPress\Components\Component share\SharePress\WordPress\Components\{closure}
/wp-includes/shortcodes.php433
46
do_shortcode_tag
[internal]0
45
preg_replace_callback
/wp-includes/shortcodes.php273
44
do_shortcode
/wp-content/plugins/js_composer/include/helpers/helpers.php240
43
wpb_js_remove_wpautop
/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php94
42
require
/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php271
41
WPBakeryShortCode loadTemplate
/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php244
40
WPBakeryShortCode content
/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php366
39
WPBakeryShortCode output
/wp-content/plugins/js_composer/include/helpers/helpers.php1317
38
vc_do_shortcode
/wp-includes/shortcodes.php433
37
do_shortcode_tag
[internal]0
36
preg_replace_callback
/wp-includes/shortcodes.php273
35
do_shortcode
/wp-content/plugins/js_composer/include/helpers/helpers.php240
34
wpb_js_remove_wpautop
/wp-content/themes/slendertail/vc_templates/vc_row.php157
33
require
/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php271
32
WPBakeryShortCode loadTemplate
/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php40
31
WPBakeryShortCode_Vc_Row content
/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php366
30
WPBakeryShortCode output
/wp-content/plugins/js_composer/include/helpers/helpers.php1317
29
vc_do_shortcode
/wp-includes/shortcodes.php433
28
do_shortcode_tag
[internal]0
27
preg_replace_callback
/wp-includes/shortcodes.php273
26
do_shortcode
/wp-includes/class-wp-hook.php324
25
WP_Hook apply_filters
/wp-includes/plugin.php205
24
apply_filters
/cache/views/0735f729385c0c3449ad06a54210922f01d134ef.php11
23
include
/vendor/illuminate/view/Engines/PhpEngine.php42
22
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php59
21
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php135
20
Illuminate\View\View getContents
/vendor/illuminate/view/View.php106
19
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php80
18
Illuminate\View\View render
/vendor/share/sharepress/src/helpers.php15
17
view
/nightjar/app/Services/General/Controllers/Http/TemplateMatch/Single/Cancers.php61
16
nightjar\app\Services\General\Controllers\Http\TemplateMatch\Single\Cancers index
/vendor/illuminate/container/Container.php507
15
call_user_func_array
/vendor/illuminate/container/Container.php507
14
Illuminate\Container\Container call
/vendor/illuminate/support/Facades/Facade.php216
13
Illuminate\Support\Facades\Facade __callStatic
/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Parsers/BaseParser.php36
12
share\SharePress\WordPress\WPTemplateMatch\Parsers\BaseParser tryRunController
/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Parsers/BaseParser.php21
11
share\SharePress\WordPress\WPTemplateMatch\Parsers\BaseParser parse
/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Parsers/SingleParser.php21
10
share\SharePress\WordPress\WPTemplateMatch\Parsers\SingleParser parse
/vendor/illuminate/container/Container.php507
9
call_user_func_array
/vendor/illuminate/container/Container.php507
8
Illuminate\Container\Container call
/vendor/illuminate/support/Facades/Facade.php219
7
Illuminate\Support\Facades\Facade __callStatic
/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Manager.php93
6
share\SharePress\WordPress\WPTemplateMatch\Manager share\SharePress\WordPress\WPTemplateMatch\{closure}
/wp-includes/class-wp-hook.php326
5
WP_Hook apply_filters
/wp-includes/plugin.php205
4
apply_filters
/wp-includes/template.php103
3
get_query_template
/wp-includes/template.php571
2
get_single_template
/wp-includes/template-loader.php81
1
require_once
/wp-blog-header.php19
0
require
/index.php17
/home/rochene1/public_html/infocancro.pt/cache/views/e0bf5fc2697222c35f7db92ab7a8a91a3d28b817.php
<div class="cta-download-file container">
 
    <div class="column">
        <?php if( isset($icon) && !empty($icon)): ?>
            <div class="cta-download-file-image-wrapper">
                <a href="<?php echo e(isset($link_file['url']) && !empty($link_file['url']) ? $link_file['url'] : (isset($file) &&!empty($file) ? $file : '#')); ?>" target="_blank">
                    <img class="cta-download-file-image" src="<?php echo e($icon); ?>">
                </a>
            </div>
        <?php endif; ?>
    </div>
 
 
    <div class="column">
        <?php if( $content ): ?>
            <div class="content-container">
                <?php echo apply_filters('the_content', $content); ?>
 
            </div>
        <?php endif; ?>
        <div class="content-container content-container-download">
            <p><a href="<?php echo e(isset($link_file['url']) && !empty($link_file['url']) ? $link_file['url'] : (isset($file) &&!empty($file) ? $file : '#')); ?>" target="_blank">Descarregue</a></p>
            <?php if( isset($download_text) && !empty($download_text) ): ?>
                <?php echo apply_filters('the_content', $download_text); ?>
 
            <?php endif; ?>
        </div>
    </div>
 
</div>
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/PhpEngine.php
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws $e
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/PhpEngine.php
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws $e
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
Exception message: Undefined variable $content (View: /home/rochene1/public_html/infocancro.pt/nightjar/app/views/services/general/frontend/components/cta-download-file.blade.php)
[internal]
[internal]
[internal]
/home/rochene1/public_html/infocancro.pt/cache/views/e0bf5fc2697222c35f7db92ab7a8a91a3d28b817.php
<div class="cta-download-file container">
 
    <div class="column">
        <?php if( isset($icon) && !empty($icon)): ?>
            <div class="cta-download-file-image-wrapper">
                <a href="<?php echo e(isset($link_file['url']) && !empty($link_file['url']) ? $link_file['url'] : (isset($file) &&!empty($file) ? $file : '#')); ?>" target="_blank">
                    <img class="cta-download-file-image" src="<?php echo e($icon); ?>">
                </a>
            </div>
        <?php endif; ?>
    </div>
 
 
    <div class="column">
        <?php if( $content ): ?>
            <div class="content-container">
                <?php echo apply_filters('the_content', $content); ?>
 
            </div>
        <?php endif; ?>
        <div class="content-container content-container-download">
            <p><a href="<?php echo e(isset($link_file['url']) && !empty($link_file['url']) ? $link_file['url'] : (isset($file) &&!empty($file) ? $file : '#')); ?>" target="_blank">Descarregue</a></p>
            <?php if( isset($download_text) && !empty($download_text) ): ?>
                <?php echo apply_filters('the_content', $download_text); ?>
 
            <?php endif; ?>
        </div>
    </div>
 
</div>
Exception message: Undefined variable $content
/home/rochene1/public_html/infocancro.pt/cache/views/e0bf5fc2697222c35f7db92ab7a8a91a3d28b817.php
<div class="cta-download-file container">
 
    <div class="column">
        <?php if( isset($icon) && !empty($icon)): ?>
            <div class="cta-download-file-image-wrapper">
                <a href="<?php echo e(isset($link_file['url']) && !empty($link_file['url']) ? $link_file['url'] : (isset($file) &&!empty($file) ? $file : '#')); ?>" target="_blank">
                    <img class="cta-download-file-image" src="<?php echo e($icon); ?>">
                </a>
            </div>
        <?php endif; ?>
    </div>
 
 
    <div class="column">
        <?php if( $content ): ?>
            <div class="content-container">
                <?php echo apply_filters('the_content', $content); ?>
 
            </div>
        <?php endif; ?>
        <div class="content-container content-container-download">
            <p><a href="<?php echo e(isset($link_file['url']) && !empty($link_file['url']) ? $link_file['url'] : (isset($file) &&!empty($file) ? $file : '#')); ?>" target="_blank">Descarregue</a></p>
            <?php if( isset($download_text) && !empty($download_text) ): ?>
                <?php echo apply_filters('the_content', $download_text); ?>
 
            <?php endif; ?>
        </div>
    </div>
 
</div>
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws $e
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/CompilerEngine.php
     * @param  array   $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws $e
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php
    /**
     * Get the sections of the rendered view.
     *
     * @return array
     */
    public function renderSections()
    {
        return $this->render(function () {
            return $this->factory->getSections();
        });
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    protected function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php
        $this->factory->flushSectionsIfDoneRendering();
 
        return ! is_null($response) ? $response : $contents;
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the sections of the rendered view.
     *
     * @return array
     */
    public function renderSections()
    {
        return $this->render(function () {
            return $this->factory->getSections();
        });
    }
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php
     */
    public function __construct(Factory $factory, EngineInterface $engine, $view, $path, $data = [])
    {
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return string
     */
    public function render(callable $callback = null)
    {
        $contents = $this->renderContents();
 
        $response = isset($callback) ? call_user_func($callback, $this, $contents) : null;
 
        // Once we have the contents of the view, we will flush the sections if we are
        // done rendering all views so that there is nothing left hanging over when
        // another view gets rendered in the future by the application developer.
        $this->factory->flushSectionsIfDoneRendering();
 
        return ! is_null($response) ? $response : $contents;
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
/home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/helpers.php
<?php
/**
 * @return \share\SharePress\App
 */
function app () {
    return \share\SharePress\Facades\Container::make('app');
}
function config ($path) {
    return \share\SharePress\Facades\Config::get($path);
}
function share_log ($data) {
    return \share\SharePress\Facades\Logger::add($data);
}
function view ($view, $data = [], $mergeData = []) {
    return \share\SharePress\Facades\View::make($view, $data, $mergeData)->render();
}
function page_cache_load ($driverClass, $hasherClass) {
    $driver = new $driverClass();
    $hasher = new $hasherClass();
    $driver->respond($hasher->generate());
}
/home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/SharePress/WordPress/Components/Component.php
            add_shortcode( $this->shortcodeTag, function ($atts, $content) {
                if( ! is_array( $atts ) ){
                    $atts = [];
                }
                if(!empty($this->shortcodeAtts)) {
                    $atts = shortcode_atts($this->shortcodeAtts, $atts, $this->shortcodeTag);
                }
                if(!empty($content)) {
                    if( $this->parseShortcodesByDefault ){
                        $atts['content'] = do_shortcode( $content);
                    }else{
                        $atts['content'] = $content;
                    }
 
                }
 
                $view = isset($atts['view']) && in_array($atts['view'], $this->composedViews) ? $atts['view'] : $this->composedViews[0];
 
                if ( !empty($atts) ) {
                    $ret = view($view, $atts);
                } else {
                    $ret = view($view);
                }
                return $ret;
            } );
        }
    }
 
    public function compose( ViewRenderer $view ) {
        $this->view = $view;
        // try to get somehow the string of the view being composed and inject it on $this->viewComposing
        $this->composer();
    }
 
    // we should have this one to prevent the need at instance level when all we want is a static brainless shortcode
    protected function composer() {}
 
    protected function getData( $key ) {
        if(is_null($this->view)) {
            throw new \Error('Cannot call getData outside composing cycle: ' . static::class);
/home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php
     * Filters whether to call a shortcode callback.
     *
     * Returning a non-false value from filter will short-circuit the
     * shortcode generation process, returning that value instead.
     *
     * @since 4.7.0
     *
     * @param false|string $output Short-circuit return value. Either false or the value to replace the shortcode with.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or the original arguments string if it cannot be parsed.
     * @param array        $m      Regular expression match array.
     */
    $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
    if ( false !== $return ) {
        return $return;
    }
 
    $content = isset( $m[5] ) ? $m[5] : null;
 
    $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
 
    /**
     * Filters the output created by a shortcode callback.
     *
     * @since 4.7.0
     *
     * @param string       $output Shortcode output.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or the original arguments string if it cannot be parsed.
     * @param array        $m      Regular expression match array.
     */
    return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
}
 
/**
 * Searches only inside HTML elements for shortcodes and process them.
 *
 * Any [ or ] characters remaining inside elements will be HTML encoded
 * to prevent interference with shortcodes that are outside the elements.
 * Assumes $content processed by KSES already.  Users with unfiltered_html
[internal]
/home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php
    // Find all registered tag names in $content.
    preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches );
    $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] );
 
    if ( empty( $tagnames ) ) {
        return $content;
    }
 
    // Ensure this context is only added once if shortcodes are nested.
    $has_filter   = has_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
    $filter_added = false;
 
    if ( ! $has_filter ) {
        $filter_added = add_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
    }
 
    $content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
 
    $pattern = get_shortcode_regex( $tagnames );
    $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
 
    // Always restore square braces so we don't break things like <!--[if IE ]>.
    $content = unescape_invalid_shortcodes( $content );
 
    // Only remove the filter if it was added in this scope.
    if ( $filter_added ) {
        remove_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
    }
 
    return $content;
}
 
/**
 * Filter the `wp_get_attachment_image_context` hook during shortcode rendering.
 *
 * When wp_get_attachment_image() is called during shortcode rendering, we need to make clear
 * that the context is a shortcode and not part of the theme's template rendering logic.
 *
 * @since 6.3.0
 * @access private
/home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/helpers/helpers.php
        $output = 'vc_col-sm-' . $width;
    }
 
    return apply_filters( 'vc_translate_column_width_class', $output, $width );
}
 
/**
 * @param $content
 * @param bool $autop
 *
 * @return string
 * @since 4.2
 */
function wpb_js_remove_wpautop( $content, $autop = false ) {
 
    if ( $autop ) {
        $content = wpautop( preg_replace( '/<\/?p\>/', "\n", $content ) . "\n" );
    }
 
    return do_shortcode( shortcode_unautop( $content ) );
}
 
if ( ! function_exists( 'shortcode_exists' ) ) {
    /**
     * Check if a shortcode is registered in WordPress.
     *
     * Examples: shortcode_exists( 'caption' ) - will return true.
     * shortcode_exists( 'blah' ) - will return false.
     *
     * @param bool $shortcode
     *
     * @return bool
     * @since 4.2
     */
    function shortcode_exists( $shortcode = false ) {
        global $shortcode_tags;
 
        if ( ! $shortcode ) {
            return false;
        }
/home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php
        if ( ! empty( $parallax_image_src[0] ) ) {
            $parallax_image_src = $parallax_image_src[0];
        }
    }
    $wrapper_attributes[] = 'data-vc-parallax-image="' . esc_attr( $parallax_image_src ) . '"';
}
if ( ! $parallax && $has_video_bg ) {
    $wrapper_attributes[] = 'data-vc-video-bg="' . esc_attr( $video_bg_url ) . '"';
}
 
$css_class = preg_replace( '/\s+/', ' ', apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, implode( ' ', array_filter( $css_classes ) ), $this->settings['base'], $atts ) );
$wrapper_attributes[] = 'class="' . esc_attr( trim( $css_class ) ) . '"';
if ( ! empty( $el_id ) ) {
    $wrapper_attributes[] = 'id="' . esc_attr( $el_id ) . '"';
}
$output .= '<div ' . implode( ' ', $wrapper_attributes ) . '>';
$innerColumnClass = 'vc_column-inner ' . esc_attr( trim( vc_shortcode_custom_css_class( $css ) ) );
$output .= '<div class="' . trim( $innerColumnClass ) . '">';
$output .= '<div class="wpb_wrapper">';
$output .= wpb_js_remove_wpautop( $content );
$output .= '</div>';
$output .= '</div>';
$output .= '</div>';
 
echo $output;
 
/home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php
     * vc_filter: vc_shortcode_content_filter_after - hook after template is loaded to override output
     *
     * @return mixed
     * @throws \Exception
     */
    protected function loadTemplate( $atts, $content = null ) {
        $output = '';
        if ( ! is_null( $content ) ) {
            /** @var string $content */
            $content = apply_filters( 'vc_shortcode_content_filter', $content, $this->shortcode );
        }
        $this->findShortcodeTemplate();
        if ( $this->html_template && file_exists( $this->html_template ) ) {
            if ( strpos( $this->html_template, WPB_PLUGIN_DIR ) === false ) {
                // Modified or new
                Vc_Modifications::$modified = true;
            }
            ob_start();
            /** @var string $content - used inside template */
            $output = require $this->html_template;
            // Allow return in template files
            if ( 1 === $output ) {
                $output = ob_get_contents();
            }
            ob_end_clean();
        }
 
        return apply_filters( 'vc_shortcode_content_filter_after', $output, $this->shortcode, $atts, $content );
    }
 
    /**
     * @param $atts
     * @param $content
     *
     * @return string
     * @throws \Exception
     */
    public function contentAdmin( $atts, $content = null ) {
        $output = $custom_markup = $width = $el_position = '';
        if ( null !== $content ) {
/home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php
            return $this->setTemplate( $default_dir . $this->getFileName() . '.php' );
        }
        $template = apply_filters( 'vc_shortcode_set_template_' . $this->shortcode, '' );
 
        if ( ! empty( $template ) ? $template : '' ) {
            return $this->setTemplate( $template );
        }
 
        return '';
    }
 
    /**
     * @param $atts
     * @param null $content
     *
     * @return mixed
     * @throws \Exception
     */
    protected function content( $atts, $content = null ) {
        return $this->loadTemplate( $atts, $content );
    }
 
    /**
     * @param $atts
     * @param null $content
     *
     * vc_filter: vc_shortcode_content_filter - hook to edit template content
     * vc_filter: vc_shortcode_content_filter_after - hook after template is loaded to override output
     *
     * @return mixed
     * @throws \Exception
     */
    protected function loadTemplate( $atts, $content = null ) {
        $output = '';
        if ( ! is_null( $content ) ) {
            /** @var string $content */
            $content = apply_filters( 'vc_shortcode_content_filter', $content, $this->shortcode );
        }
        $this->findShortcodeTemplate();
        if ( $this->html_template && file_exists( $this->html_template ) ) {
/home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php
        $content = empty( $content ) && ! empty( $atts['content'] ) ? $atts['content'] : $content;
        if ( ( $this->isInline() || vc_is_page_editable() ) && method_exists( $this, 'contentInline' ) ) {
            $output .= $this->contentInline( $this->atts, $content );
        } else {
            $this->enqueueDefaultScripts();
            $custom_output = VC_SHORTCODE_CUSTOMIZE_PREFIX . $this->shortcode;
            $custom_output_before = VC_SHORTCODE_BEFORE_CUSTOMIZE_PREFIX . $this->shortcode; // before shortcode function hook
            $custom_output_after = VC_SHORTCODE_AFTER_CUSTOMIZE_PREFIX . $this->shortcode; // after shortcode function hook
 
            // Before shortcode
            if ( function_exists( $custom_output_before ) ) {
                $output .= $custom_output_before( $this->atts, $content );
            } else {
                $output .= $this->beforeShortcode( $this->atts, $content );
            }
            // Shortcode content
            if ( function_exists( $custom_output ) ) {
                $output .= $custom_output( $this->atts, $content );
            } else {
                $output .= $this->content( $this->atts, $content );
            }
            // After shortcode
            if ( function_exists( $custom_output_after ) ) {
                $output .= $custom_output_after( $this->atts, $content );
            } else {
                $output .= $this->afterShortcode( $this->atts, $content );
            }
        }
        // Filter for overriding outputs
        $output = apply_filters( 'vc_shortcode_output', $output, $this, $prepared_atts, $this->shortcode );
 
        return $output;
    }
 
    public function enqueueDefaultScripts() {
        if ( false === self::$default_scripts_enqueued ) {
            wp_enqueue_script( 'wpb_composer_front_js' );
            wp_enqueue_style( 'js_composer_front' );
            self::$default_scripts_enqueued = true;
        }
/home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/helpers/helpers.php
 */
function vc_is_responsive_disabled() {
    $disable_responsive = vc_settings()->get( 'not_responsive_css' );
 
    return '1' === $disable_responsive;
}
 
/**
 * Do shortcode single render point
 *
 * @param $atts
 * @param null $content
 * @param null $tag
 *
 * @return string
 * @throws \Exception
 */
function vc_do_shortcode( $atts, $content = null, $tag = null ) {
    ob_start();
    echo Vc_Shortcodes_Manager::getInstance()->getElementClass( $tag )->output( $atts, $content );
    $content = ob_get_clean();
    // @codingStandardsIgnoreStart
    global $wp_embed;
    if ( is_object( $wp_embed ) ) {
        $content = $wp_embed->run_shortcode( $content );
        $content = $wp_embed->autoembed( $content );
        // @codingStandardsIgnoreEnd
    }
 
    return $content;
}
 
/**
 * Return random string
 *
 * @param int $length
 *
 * @return string
 */
function vc_random_string( $length = 10 ) {
/home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php
     * Filters whether to call a shortcode callback.
     *
     * Returning a non-false value from filter will short-circuit the
     * shortcode generation process, returning that value instead.
     *
     * @since 4.7.0
     *
     * @param false|string $output Short-circuit return value. Either false or the value to replace the shortcode with.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or the original arguments string if it cannot be parsed.
     * @param array        $m      Regular expression match array.
     */
    $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
    if ( false !== $return ) {
        return $return;
    }
 
    $content = isset( $m[5] ) ? $m[5] : null;
 
    $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
 
    /**
     * Filters the output created by a shortcode callback.
     *
     * @since 4.7.0
     *
     * @param string       $output Shortcode output.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or the original arguments string if it cannot be parsed.
     * @param array        $m      Regular expression match array.
     */
    return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
}
 
/**
 * Searches only inside HTML elements for shortcodes and process them.
 *
 * Any [ or ] characters remaining inside elements will be HTML encoded
 * to prevent interference with shortcodes that are outside the elements.
 * Assumes $content processed by KSES already.  Users with unfiltered_html
[internal]
/home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php
    // Find all registered tag names in $content.
    preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches );
    $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] );
 
    if ( empty( $tagnames ) ) {
        return $content;
    }
 
    // Ensure this context is only added once if shortcodes are nested.
    $has_filter   = has_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
    $filter_added = false;
 
    if ( ! $has_filter ) {
        $filter_added = add_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
    }
 
    $content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
 
    $pattern = get_shortcode_regex( $tagnames );
    $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
 
    // Always restore square braces so we don't break things like <!--[if IE ]>.
    $content = unescape_invalid_shortcodes( $content );
 
    // Only remove the filter if it was added in this scope.
    if ( $filter_added ) {
        remove_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
    }
 
    return $content;
}
 
/**
 * Filter the `wp_get_attachment_image_context` hook during shortcode rendering.
 *
 * When wp_get_attachment_image() is called during shortcode rendering, we need to make clear
 * that the context is a shortcode and not part of the theme's template rendering logic.
 *
 * @since 6.3.0
 * @access private
/home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/helpers/helpers.php
        $output = 'vc_col-sm-' . $width;
    }
 
    return apply_filters( 'vc_translate_column_width_class', $output, $width );
}
 
/**
 * @param $content
 * @param bool $autop
 *
 * @return string
 * @since 4.2
 */
function wpb_js_remove_wpautop( $content, $autop = false ) {
 
    if ( $autop ) {
        $content = wpautop( preg_replace( '/<\/?p\>/', "\n", $content ) . "\n" );
    }
 
    return do_shortcode( shortcode_unautop( $content ) );
}
 
if ( ! function_exists( 'shortcode_exists' ) ) {
    /**
     * Check if a shortcode is registered in WordPress.
     *
     * Examples: shortcode_exists( 'caption' ) - will return true.
     * shortcode_exists( 'blah' ) - will return false.
     *
     * @param bool $shortcode
     *
     * @return bool
     * @since 4.2
     */
    function shortcode_exists( $shortcode = false ) {
        global $shortcode_tags;
 
        if ( ! $shortcode ) {
            return false;
        }
/home/rochene1/public_html/infocancro.pt/wp-content/themes/slendertail/vc_templates/vc_row.php
if ( ! empty( $parallax_image ) ) {
    if ( $has_video_bg ) {
        $parallax_image_src = $parallax_image;
    } else {
        $parallax_image_id = preg_replace( '/[^\d]/', '', $parallax_image );
        $parallax_image_src = wp_get_attachment_image_src( $parallax_image_id, 'full' );
        if ( ! empty( $parallax_image_src[0] ) ) {
            $parallax_image_src = $parallax_image_src[0];
        }
    }
    $wrapper_attributes[] = 'data-vc-parallax-image="' . esc_attr( $parallax_image_src ) . '"';
}
if ( ! $parallax && $has_video_bg ) {
    $wrapper_attributes[] = 'data-vc-video-bg="' . esc_attr( $video_bg_url ) . '"';
}
$css_class = preg_replace( '/\s+/', ' ', apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, implode( ' ', array_filter( array_unique( $css_classes ) ) ), $this->settings['base'], $atts ) );
$wrapper_attributes[] = 'class="' . esc_attr( trim( $css_class ) ) . '"';
 
$output .= '<div ' . implode( ' ', $wrapper_attributes ) . '>';
$output .= wpb_js_remove_wpautop( $content );
$output .= '</div>';
$output .= $after_output;
 
echo $output;
 
/home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php
     * vc_filter: vc_shortcode_content_filter_after - hook after template is loaded to override output
     *
     * @return mixed
     * @throws \Exception
     */
    protected function loadTemplate( $atts, $content = null ) {
        $output = '';
        if ( ! is_null( $content ) ) {
            /** @var string $content */
            $content = apply_filters( 'vc_shortcode_content_filter', $content, $this->shortcode );
        }
        $this->findShortcodeTemplate();
        if ( $this->html_template && file_exists( $this->html_template ) ) {
            if ( strpos( $this->html_template, WPB_PLUGIN_DIR ) === false ) {
                // Modified or new
                Vc_Modifications::$modified = true;
            }
            ob_start();
            /** @var string $content - used inside template */
            $output = require $this->html_template;
            // Allow return in template files
            if ( 1 === $output ) {
                $output = ob_get_contents();
            }
            ob_end_clean();
        }
 
        return apply_filters( 'vc_shortcode_content_filter_after', $output, $this->shortcode, $atts, $content );
    }
 
    /**
     * @param $atts
     * @param $content
     *
     * @return string
     * @throws \Exception
     */
    public function contentAdmin( $atts, $content = null ) {
        $output = $custom_markup = $width = $el_position = '';
        if ( null !== $content ) {
/home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php
     */
    public function __construct( $settings ) {
        parent::__construct( $settings );
        $this->shortcodeScripts();
    }
 
    protected function shortcodeScripts() {
        wp_register_script( 'vc_jquery_skrollr_js', vc_asset_url( 'lib/bower/skrollr/dist/skrollr.min.js' ), array( 'jquery-core' ), WPB_VC_VERSION, true );
        wp_register_script( 'vc_youtube_iframe_api_js', 'https://www.youtube.com/iframe_api', array(), WPB_VC_VERSION, true );
    }
 
    /**
     * @param $atts
     * @param null $content
     * @return mixed|string
     */
    protected function content( $atts, $content = null ) {
        $prefix = '';
 
        return $prefix . $this->loadTemplate( $atts, $content );
    }
 
    /**
     * This returs block controls
     */
    public function getLayoutsControl() {
        global $vc_row_layouts;
        $controls_layout = '<span class="vc_row_layouts vc_control">';
        foreach ( $vc_row_layouts as $layout ) {
            $controls_layout .= '<a class="vc_control-set-column set_columns" data-cells="' . $layout['cells'] . '" data-cells-mask="' . $layout['mask'] . '" title="' . $layout['title'] . '"><i class="vc-composer-icon vc-c-icon-' . $layout['icon_class'] . '"></i></a> ';
        }
        $controls_layout .= '<br/><a class="vc_control-set-column set_columns custom_columns" data-cells="custom" data-cells-mask="custom" title="' . esc_attr__( 'Custom layout', 'js_composer' ) . '">' . esc_html__( 'Custom', 'js_composer' ) . '</a> ';
        $controls_layout .= '</span>';
 
        return $controls_layout;
    }
 
    /**
     * @param $controls
     * @param string $extended_css
/home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php
        $content = empty( $content ) && ! empty( $atts['content'] ) ? $atts['content'] : $content;
        if ( ( $this->isInline() || vc_is_page_editable() ) && method_exists( $this, 'contentInline' ) ) {
            $output .= $this->contentInline( $this->atts, $content );
        } else {
            $this->enqueueDefaultScripts();
            $custom_output = VC_SHORTCODE_CUSTOMIZE_PREFIX . $this->shortcode;
            $custom_output_before = VC_SHORTCODE_BEFORE_CUSTOMIZE_PREFIX . $this->shortcode; // before shortcode function hook
            $custom_output_after = VC_SHORTCODE_AFTER_CUSTOMIZE_PREFIX . $this->shortcode; // after shortcode function hook
 
            // Before shortcode
            if ( function_exists( $custom_output_before ) ) {
                $output .= $custom_output_before( $this->atts, $content );
            } else {
                $output .= $this->beforeShortcode( $this->atts, $content );
            }
            // Shortcode content
            if ( function_exists( $custom_output ) ) {
                $output .= $custom_output( $this->atts, $content );
            } else {
                $output .= $this->content( $this->atts, $content );
            }
            // After shortcode
            if ( function_exists( $custom_output_after ) ) {
                $output .= $custom_output_after( $this->atts, $content );
            } else {
                $output .= $this->afterShortcode( $this->atts, $content );
            }
        }
        // Filter for overriding outputs
        $output = apply_filters( 'vc_shortcode_output', $output, $this, $prepared_atts, $this->shortcode );
 
        return $output;
    }
 
    public function enqueueDefaultScripts() {
        if ( false === self::$default_scripts_enqueued ) {
            wp_enqueue_script( 'wpb_composer_front_js' );
            wp_enqueue_style( 'js_composer_front' );
            self::$default_scripts_enqueued = true;
        }
/home/rochene1/public_html/infocancro.pt/wp-content/plugins/js_composer/include/helpers/helpers.php
 */
function vc_is_responsive_disabled() {
    $disable_responsive = vc_settings()->get( 'not_responsive_css' );
 
    return '1' === $disable_responsive;
}
 
/**
 * Do shortcode single render point
 *
 * @param $atts
 * @param null $content
 * @param null $tag
 *
 * @return string
 * @throws \Exception
 */
function vc_do_shortcode( $atts, $content = null, $tag = null ) {
    ob_start();
    echo Vc_Shortcodes_Manager::getInstance()->getElementClass( $tag )->output( $atts, $content );
    $content = ob_get_clean();
    // @codingStandardsIgnoreStart
    global $wp_embed;
    if ( is_object( $wp_embed ) ) {
        $content = $wp_embed->run_shortcode( $content );
        $content = $wp_embed->autoembed( $content );
        // @codingStandardsIgnoreEnd
    }
 
    return $content;
}
 
/**
 * Return random string
 *
 * @param int $length
 *
 * @return string
 */
function vc_random_string( $length = 10 ) {
/home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php
     * Filters whether to call a shortcode callback.
     *
     * Returning a non-false value from filter will short-circuit the
     * shortcode generation process, returning that value instead.
     *
     * @since 4.7.0
     *
     * @param false|string $output Short-circuit return value. Either false or the value to replace the shortcode with.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or the original arguments string if it cannot be parsed.
     * @param array        $m      Regular expression match array.
     */
    $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
    if ( false !== $return ) {
        return $return;
    }
 
    $content = isset( $m[5] ) ? $m[5] : null;
 
    $output = $m[1] . call_user_func( $shortcode_tags[ $tag ], $attr, $content, $tag ) . $m[6];
 
    /**
     * Filters the output created by a shortcode callback.
     *
     * @since 4.7.0
     *
     * @param string       $output Shortcode output.
     * @param string       $tag    Shortcode name.
     * @param array|string $attr   Shortcode attributes array or the original arguments string if it cannot be parsed.
     * @param array        $m      Regular expression match array.
     */
    return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
}
 
/**
 * Searches only inside HTML elements for shortcodes and process them.
 *
 * Any [ or ] characters remaining inside elements will be HTML encoded
 * to prevent interference with shortcodes that are outside the elements.
 * Assumes $content processed by KSES already.  Users with unfiltered_html
[internal]
/home/rochene1/public_html/infocancro.pt/wp-includes/shortcodes.php
    // Find all registered tag names in $content.
    preg_match_all( '@\[([^<>&/\[\]\x00-\x20=]++)@', $content, $matches );
    $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] );
 
    if ( empty( $tagnames ) ) {
        return $content;
    }
 
    // Ensure this context is only added once if shortcodes are nested.
    $has_filter   = has_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
    $filter_added = false;
 
    if ( ! $has_filter ) {
        $filter_added = add_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
    }
 
    $content = do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames );
 
    $pattern = get_shortcode_regex( $tagnames );
    $content = preg_replace_callback( "/$pattern/", 'do_shortcode_tag', $content );
 
    // Always restore square braces so we don't break things like <!--[if IE ]>.
    $content = unescape_invalid_shortcodes( $content );
 
    // Only remove the filter if it was added in this scope.
    if ( $filter_added ) {
        remove_filter( 'wp_get_attachment_image_context', '_filter_do_shortcode_context' );
    }
 
    return $content;
}
 
/**
 * Filter the `wp_get_attachment_image_context` hook during shortcode rendering.
 *
 * When wp_get_attachment_image() is called during shortcode rendering, we need to make clear
 * that the context is a shortcode and not part of the theme's template rendering logic.
 *
 * @since 6.3.0
 * @access private
/home/rochene1/public_html/infocancro.pt/wp-includes/class-wp-hook.php
 
        $this->iterations[ $nesting_level ] = $this->priorities;
 
        $num_args = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
 
            $priority = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice() if possible.
                if ( 0 === $the_['accepted_args'] ) {
                    $value = call_user_func( $the_['function'] );
                } elseif ( $the_['accepted_args'] >= $num_args ) {
                    $value = call_user_func_array( $the_['function'], $args );
                } else {
                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        --$this->nesting_level;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
/home/rochene1/public_html/infocancro.pt/wp-includes/plugin.php
        $all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
        _wp_call_all_hook( $all_args );
    }
 
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return $value;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    // Pass the value to WP_Hook.
    array_unshift( $args, $value );
 
    $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
 
    array_pop( $wp_current_filter );
 
    return $filtered;
}
 
/**
 * Calls the callback functions that have been added to a filter hook, specifying arguments in an array.
 *
 * @since 3.0.0
 *
 * @see apply_filters() This function is identical, but the arguments passed to the
 *                      functions hooked to `$hook_name` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global int[]     $wp_filters        Stores the number of times each filter was triggered.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $hook_name The name of the filter hook.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
/home/rochene1/public_html/infocancro.pt/cache/views/0735f729385c0c3449ad06a54210922f01d134ef.php
<?php $__env->startSection('content'); ?>
 
    <main class="main-page js-cancer-page-scrolling">
        <div class="page-heading mobile--only" style="<?php echo e(isset($heading_image) ? 'background-image: url("'.$heading_image.'")' : ''); ?>"></div>
        <?php echo $__env->make('services.general.frontend.components.inner-menu',[
            'menu_level_cancer' => $menu_level_three,
            'single_cancer' => 1,
            'device_show' => 'desktop--only',
        ], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <?php echo $__env->make('services.general.frontend.components.social-sharing', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <?php echo apply_filters('the_content', $post->post_content); ?>
 
        <?php echo $__env->make('services.general.frontend.components.inner-menu',[
            'menu_level_cancer' => $menu_level_three,
            'single_cancer' => 1,
            'device_show' => 'mobile--only',
        ], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
 
        <?php if( isset($rate_page) && $rate_page ): ?>
            <?php echo $__env->make('services.general.frontend.components.helpfull-article',[
                'single_cancer' => 1,
            ], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <?php endif; ?>
    </main>
 
<?php $__env->stopSection(); ?>
 
<?php echo $__env->make('services.general.frontend.layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws $e
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/Engines/CompilerEngine.php
     * @param  array   $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws $e
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php
    /**
     * Get the sections of the rendered view.
     *
     * @return array
     */
    public function renderSections()
    {
        return $this->render(function () {
            return $this->factory->getSections();
        });
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    protected function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php
        $this->factory->flushSectionsIfDoneRendering();
 
        return ! is_null($response) ? $response : $contents;
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the sections of the rendered view.
     *
     * @return array
     */
    public function renderSections()
    {
        return $this->render(function () {
            return $this->factory->getSections();
        });
    }
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/view/View.php
     */
    public function __construct(Factory $factory, EngineInterface $engine, $view, $path, $data = [])
    {
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return string
     */
    public function render(callable $callback = null)
    {
        $contents = $this->renderContents();
 
        $response = isset($callback) ? call_user_func($callback, $this, $contents) : null;
 
        // Once we have the contents of the view, we will flush the sections if we are
        // done rendering all views so that there is nothing left hanging over when
        // another view gets rendered in the future by the application developer.
        $this->factory->flushSectionsIfDoneRendering();
 
        return ! is_null($response) ? $response : $contents;
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
/home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/helpers.php
<?php
/**
 * @return \share\SharePress\App
 */
function app () {
    return \share\SharePress\Facades\Container::make('app');
}
function config ($path) {
    return \share\SharePress\Facades\Config::get($path);
}
function share_log ($data) {
    return \share\SharePress\Facades\Logger::add($data);
}
function view ($view, $data = [], $mergeData = []) {
    return \share\SharePress\Facades\View::make($view, $data, $mergeData)->render();
}
function page_cache_load ($driverClass, $hasherClass) {
    $driver = new $driverClass();
    $hasher = new $hasherClass();
    $driver->respond($hasher->generate());
}
/home/rochene1/public_html/infocancro.pt/nightjar/app/Services/General/Controllers/Http/TemplateMatch/Single/Cancers.php
        //redirect
        if(isset($uri_value_reorganized) && !empty($uri_value_reorganized) && 1 < count($uri_value_reorganized) && count($uri_value_reorganized) < 3 ) {
            $cancers_arrange = get_field('cancer_types','general_options');
            $first_page_link = get_permalink($the_post->ID);
            foreach( $cancers_arrange as $cancer_arrange ){
                if( isset($cancer_arrange['cancer_type']) && !empty($cancer_arrange['cancer_type']) && $the_post->ID == $cancer_arrange['cancer_type'] ) {
                    if(isset($cancer_arrange['external_link_check']) && !empty($cancer_arrange['external_link_check']) && $cancer_arrange['external_link_check']) {
                        $first_page_link = isset($cancer_arrange['external_link']) && !empty($cancer_arrange['external_link']) ? $cancer_arrange['external_link'] : '#';
                    } else {
                        $first_page_link = get_permalink($cancer_arrange['first_page']);
                    }
                    break;
                }
            }
            wp_redirect($first_page_link); exit;
        }
 
        $ratePage = $the_post->rate_page;
 
        return view('services.general.frontend.pages.single-cancer', [
            'post' => $the_post,
            'heading_image' => $page_heading_image,
            'rate_page' => $ratePage,
            'menu_level_three' => isset($menu_high_level) && $menu_high_level ? 'menu_level_three' : '',
        ]);
    }
 
 
}
 
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/container/Container.php
        };
    }
 
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public function call($callback, array $parameters = [], $defaultMethod = null)
    {
        if ($this->isCallableWithAtSign($callback) || $defaultMethod) {
            return $this->callClass($callback, $parameters, $defaultMethod);
        }
 
        $dependencies = $this->getMethodDependencies($callback, $parameters);
 
        return call_user_func_array($callback, $dependencies);
    }
 
    /**
     * Determine if the given string is in Class@method syntax.
     *
     * @param  mixed  $callback
     * @return bool
     */
    protected function isCallableWithAtSign($callback)
    {
        if (! is_string($callback)) {
            return false;
        }
 
        return strpos($callback, '@') !== false;
    }
 
    /**
     * Get all dependencies for a given method.
     *
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/container/Container.php
        };
    }
 
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public function call($callback, array $parameters = [], $defaultMethod = null)
    {
        if ($this->isCallableWithAtSign($callback) || $defaultMethod) {
            return $this->callClass($callback, $parameters, $defaultMethod);
        }
 
        $dependencies = $this->getMethodDependencies($callback, $parameters);
 
        return call_user_func_array($callback, $dependencies);
    }
 
    /**
     * Determine if the given string is in Class@method syntax.
     *
     * @param  mixed  $callback
     * @return bool
     */
    protected function isCallableWithAtSign($callback)
    {
        if (! is_string($callback)) {
            return false;
        }
 
        return strpos($callback, '@') !== false;
    }
 
    /**
     * Get all dependencies for a given method.
     *
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/support/Facades/Facade.php
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array   $args
     * @return mixed
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        switch (count($args)) {
            case 0:
                return $instance->$method();
 
            case 1:
                return $instance->$method($args[0]);
 
            case 2:
                return $instance->$method($args[0], $args[1]);
 
            case 3:
                return $instance->$method($args[0], $args[1], $args[2]);
 
            case 4:
                return $instance->$method($args[0], $args[1], $args[2], $args[3]);
 
            default:
                return call_user_func_array([$instance, $method], $args);
        }
    }
}
 
/home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Parsers/BaseParser.php
    public function parse($directory, $pipeline = [])
    {
        if (!!$pipeline && count($pipeline) > 0) {
            foreach ($pipeline as $item) {
                $controllerResult = $this->tryRunController($directory, $item);
                if (!!$controllerResult) {
                    return $controllerResult;
                }
            }
        }
        // Parses index
        return $this->tryRunController($directory, "Index");
    }
 
    protected function tryRunController($directory, $controller)
    {
        if ($file = $this->isController($directory, $controller)) {
            $class      = ClassesNamespaces::getClass($file);
            $controller = Container::make($class);
            return Container::call([$controller, 'index']);
        }
        return null;
    }
 
    protected function isController($directory, $filename)
    {
        $appDirectory = App::getDirectory("app");
        $filePath     = "${appDirectory}/${directory}/${filename}.php";
        if (is_file($filePath)) {
            return $filePath;
        } else {
            return false;
        }
    }
}
/home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Parsers/BaseParser.php
/**
 * Created by PhpStorm.
 * User: PedroGaspar
 * Date: 09/02/2018
 * Time: 23:36
 */
 
namespace share\SharePress\WordPress\WPTemplateMatch\Parsers;
 
use share\SharePress\Facades\App;
use share\SharePress\Facades\Container;
use share\SharePress\FileHandling\ClassesNamespaces;
 
abstract class BaseParser
{
    public function parse($directory, $pipeline = [])
    {
        if (!!$pipeline && count($pipeline) > 0) {
            foreach ($pipeline as $item) {
                $controllerResult = $this->tryRunController($directory, $item);
                if (!!$controllerResult) {
                    return $controllerResult;
                }
            }
        }
        // Parses index
        return $this->tryRunController($directory, "Index");
    }
 
    protected function tryRunController($directory, $controller)
    {
        if ($file = $this->isController($directory, $controller)) {
            $class      = ClassesNamespaces::getClass($file);
            $controller = Container::make($class);
            return Container::call([$controller, 'index']);
        }
        return null;
    }
 
    protected function isController($directory, $filename)
/home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Parsers/SingleParser.php
/**
 * Created by PhpStorm.
 * User: PedroGaspar
 * Date: 09/02/2018
 * Time: 22:52
 */
 
namespace share\SharePress\WordPress\WPTemplateMatch\Parsers;
 
use share\SharePress\Facades\Strings;
 
class SingleParser extends BaseParser
{
    public function parse($directory, $pipeline = [])
    {
        global $wp;
        //$pageFilename = isset($wp->query_vars['page']) ? Strings::slugToCamelCase($wp->query_vars['page'], true) : "";
        $postTypeFilename = isset($wp->query_vars['post_type']) ? Strings::slugToCamelCase($wp->query_vars['post_type'], true) : "";
        $nameFilename = isset($wp->query_vars['name']) ? Strings::slugToCamelCase($wp->query_vars['name'], true) : "";
        return parent::parse($directory, [
            $postTypeFilename . "/" . $nameFilename,
            $postTypeFilename,
        ]);
    }
}
 
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/container/Container.php
        };
    }
 
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public function call($callback, array $parameters = [], $defaultMethod = null)
    {
        if ($this->isCallableWithAtSign($callback) || $defaultMethod) {
            return $this->callClass($callback, $parameters, $defaultMethod);
        }
 
        $dependencies = $this->getMethodDependencies($callback, $parameters);
 
        return call_user_func_array($callback, $dependencies);
    }
 
    /**
     * Determine if the given string is in Class@method syntax.
     *
     * @param  mixed  $callback
     * @return bool
     */
    protected function isCallableWithAtSign($callback)
    {
        if (! is_string($callback)) {
            return false;
        }
 
        return strpos($callback, '@') !== false;
    }
 
    /**
     * Get all dependencies for a given method.
     *
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/container/Container.php
        };
    }
 
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public function call($callback, array $parameters = [], $defaultMethod = null)
    {
        if ($this->isCallableWithAtSign($callback) || $defaultMethod) {
            return $this->callClass($callback, $parameters, $defaultMethod);
        }
 
        $dependencies = $this->getMethodDependencies($callback, $parameters);
 
        return call_user_func_array($callback, $dependencies);
    }
 
    /**
     * Determine if the given string is in Class@method syntax.
     *
     * @param  mixed  $callback
     * @return bool
     */
    protected function isCallableWithAtSign($callback)
    {
        if (! is_string($callback)) {
            return false;
        }
 
        return strpos($callback, '@') !== false;
    }
 
    /**
     * Get all dependencies for a given method.
     *
/home/rochene1/public_html/infocancro.pt/vendor/illuminate/support/Facades/Facade.php
     * @param  array   $args
     * @return mixed
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        switch (count($args)) {
            case 0:
                return $instance->$method();
 
            case 1:
                return $instance->$method($args[0]);
 
            case 2:
                return $instance->$method($args[0], $args[1]);
 
            case 3:
                return $instance->$method($args[0], $args[1], $args[2]);
 
            case 4:
                return $instance->$method($args[0], $args[1], $args[2], $args[3]);
 
            default:
                return call_user_func_array([$instance, $method], $args);
        }
    }
}
 
/home/rochene1/public_html/infocancro.pt/vendor/share/sharepress/src/SharePress/WordPress/WPTemplateMatch/Manager.php
        foreach ($this->templates as $filter => $templateDir) {
            $this->addFilter($filter, $templateDir);
        }
    }
 
    private function addFilter($filter, $templateDir)
    {
        add_filter($filter, function ($templates) use ($filter, $templateDir) {
            if(function_exists('profile_finish')) {
                profile_finish("OtherWordpress");
            }
 
            do_action('sharepress/template_filter_parse', $filter);
 
            $parser = "share\\SharePress\\WordPress\\WPTemplateMatch\\Parsers\\" . $templateDir . "Parser";
            $parser = Container::make($parser);
 
            do_action('sharepress/pre_controller');
 
            $ret    = Container::call([$parser, 'parse'], ['directory' => $this->controllers . "/" . $templateDir]);
 
            do_action('sharepress/controller_executed');
 
            if (!!$ret) {
                if(isset($this->cache->template_match) && !!$this->cache->template_match) {
                    $this->cacheDriver->set($this->cacheHasher->generate(), $ret);
                }
 
                do_action('sharepress/pre_render');
 
                echo $ret;
 
                do_action('sharepress/rendered', $filter);
 
                die;
            }
            do_action('sharepress/template_filter_continue', $filter);
            return $templates;
        });
    }
/home/rochene1/public_html/infocancro.pt/wp-includes/class-wp-hook.php
 
        $num_args = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
 
            $priority = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice() if possible.
                if ( 0 === $the_['accepted_args'] ) {
                    $value = call_user_func( $the_['function'] );
                } elseif ( $the_['accepted_args'] >= $num_args ) {
                    $value = call_user_func_array( $the_['function'], $args );
                } else {
                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        --$this->nesting_level;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
     */
    public function do_action( $args ) {
/home/rochene1/public_html/infocancro.pt/wp-includes/plugin.php
        $all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
        _wp_call_all_hook( $all_args );
    }
 
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return $value;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    // Pass the value to WP_Hook.
    array_unshift( $args, $value );
 
    $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
 
    array_pop( $wp_current_filter );
 
    return $filtered;
}
 
/**
 * Calls the callback functions that have been added to a filter hook, specifying arguments in an array.
 *
 * @since 3.0.0
 *
 * @see apply_filters() This function is identical, but the arguments passed to the
 *                      functions hooked to `$hook_name` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global int[]     $wp_filters        Stores the number of times each filter was triggered.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $hook_name The name of the filter hook.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
/home/rochene1/public_html/infocancro.pt/wp-includes/template.php
     *  - `frontpage_template`
     *  - `home_template`
     *  - `index_template`
     *  - `page_template`
     *  - `paged_template`
     *  - `privacypolicy_template`
     *  - `search_template`
     *  - `single_template`
     *  - `singular_template`
     *  - `tag_template`
     *  - `taxonomy_template`
     *
     * @since 1.5.0
     * @since 4.8.0 The `$type` and `$templates` parameters were added.
     *
     * @param string   $template  Path to the template. See locate_template().
     * @param string   $type      Sanitized filename without extension.
     * @param string[] $templates A list of template candidates, in descending order of priority.
     */
    return apply_filters( "{$type}_template", $template, $type, $templates );
}
 
/**
 * Retrieves path of index template in current or parent template.
 *
 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
 * and {@see '$type_template'} dynamic hooks, where `$type` is 'index'.
 *
 * @since 3.0.0
 *
 * @see get_query_template()
 *
 * @return string Full path to index template file.
 */
function get_index_template() {
    return get_query_template( 'index' );
}
 
/**
 * Retrieves path of 404 template in current or parent template.
/home/rochene1/public_html/infocancro.pt/wp-includes/template.php
    $templates = array();
 
    if ( ! empty( $object->post_type ) ) {
        $template = get_page_template_slug( $object );
        if ( $template && 0 === validate_file( $template ) ) {
            $templates[] = $template;
        }
 
        $name_decoded = urldecode( $object->post_name );
        if ( $name_decoded !== $object->post_name ) {
            $templates[] = "single-{$object->post_type}-{$name_decoded}.php";
        }
 
        $templates[] = "single-{$object->post_type}-{$object->post_name}.php";
        $templates[] = "single-{$object->post_type}.php";
    }
 
    $templates[] = 'single.php';
 
    return get_query_template( 'single', $templates );
}
 
/**
 * Retrieves an embed template path in the current or parent template.
 *
 * The hierarchy for this template looks like:
 *
 * 1. embed-{post_type}-{post_format}.php
 * 2. embed-{post_type}.php
 * 3. embed.php
 *
 * An example of this is:
 *
 * 1. embed-post-audio.php
 * 2. embed-post.php
 * 3. embed.php
 *
 * The template hierarchy and template path are filterable via the {@see '$type_template_hierarchy'}
 * and {@see '$type_template'} dynamic hooks, where `$type` is 'embed'.
 *
/home/rochene1/public_html/infocancro.pt/wp-includes/template-loader.php
        'is_home'              => 'get_home_template',
        'is_privacy_policy'    => 'get_privacy_policy_template',
        'is_post_type_archive' => 'get_post_type_archive_template',
        'is_tax'               => 'get_taxonomy_template',
        'is_attachment'        => 'get_attachment_template',
        'is_single'            => 'get_single_template',
        'is_page'              => 'get_page_template',
        'is_singular'          => 'get_singular_template',
        'is_category'          => 'get_category_template',
        'is_tag'               => 'get_tag_template',
        'is_author'            => 'get_author_template',
        'is_date'              => 'get_date_template',
        'is_archive'           => 'get_archive_template',
    );
    $template      = false;
 
    // Loop through each of the template conditionals, and find the appropriate template file.
    foreach ( $tag_templates as $tag => $template_getter ) {
        if ( call_user_func( $tag ) ) {
            $template = call_user_func( $template_getter );
        }
 
        if ( $template ) {
            if ( 'is_attachment' === $tag ) {
                remove_filter( 'the_content', 'prepend_attachment' );
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
/home/rochene1/public_html/infocancro.pt/wp-blog-header.php
<?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';
 
}
 
/home/rochene1/public_html/infocancro.pt/index.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
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /tipos-de-cancro/cancro-do-colo-do-utero/cancro-do-colo-do-utero-enquadramento/
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
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 close
CONTENT_LENGTH 0
HTTP_HOST www.infocancro.pt
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_IF_MODIFIED_SINCE Mon, 09 Sep 2024 06:14:36 GMT
HTTP_X_REAL_IP 18.97.14.84
HTTP_X_FORWARDED_BY 185.12.116.214:443
HTTP_X_FORWARDED_PORT 443
HTTP_X_FORWARDED_PROTO https
REDIRECT_UNIQUE_ID Z1RAeB7OFpLx7muklsYgNQAAApI
REDIRECT_HTTPS on
REDIRECT_STATUS 200
UNIQUE_ID Z1RAeB7OFpLx7muklsYgNQAAApI
HTTPS on
SERVER_SIGNATURE
SERVER_NAME www.infocancro.pt
SERVER_ADDR 185.12.116.214
SERVER_PORT 443
REMOTE_ADDR 18.97.14.84
DOCUMENT_ROOT /home/rochene1/public_html/infocancro.pt
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/rochene1/public_html/infocancro.pt
SERVER_ADMIN webmaster@infocancro.pt.rochenet.pt
SCRIPT_FILENAME /home/rochene1/public_html/infocancro.pt/index.php
REMOTE_PORT 57876
REDIRECT_URL /tipos-de-cancro/cancro-do-colo-do-utero/cancro-do-colo-do-utero-enquadramento/
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1733574776.4498
REQUEST_TIME 1733574776
LOCALHOSTNAME www.infocancro.pt
Key Value
LOCALHOSTNAME www.infocancro.pt
0. Whoops\Handler\PrettyPageHandler