ErrorException (E_ERROR)
Producto no válido. (View: /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/themes/themosis-theme/resources/views/front/layouts/scroll.blade.php) (View: /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/themes/themosis-theme/resources/views/front/layouts/scroll.blade.php) ErrorException thrown with message "Producto no válido. (View: /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/themes/themosis-theme/resources/views/front/layouts/scroll.blade.php) (View: /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/themes/themosis-theme/resources/views/front/layouts/scroll.blade.php)" Stacktrace: #39 ErrorException in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:152 #38 ErrorException in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:152 #37 Exception in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:152 #36 WC_Product_Data_Store_CPT:read in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/plugins/woocommerce/includes/class-wc-data-store.php:159 #35 WC_Data_Store:read in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php:134 #34 WC_Product:__construct in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/plugins/wonderm00ns-simple-facebook-open-graph-tags/public/class-webdados-fb-open-graph-public.php:224 #33 Webdados_FB_Public:insert_meta_tags in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/cms/wp-includes/class-wp-hook.php:286 #32 WP_Hook:apply_filters in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/cms/wp-includes/class-wp-hook.php:310 #31 WP_Hook:do_action in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/cms/wp-includes/plugin.php:465 #30 do_action in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/cms/wp-includes/general-template.php:2668 #29 wp_head in /var/www/vhosts/tcmetrologia.com/httpdocs/src/storage/views/837f67051a30c3af7d51ef7886393f03d04b64d2.php:14 #28 include in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/view/Engines/PhpEngine.php:43 #27 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/view/Engines/CompilerEngine.php:59 #26 Illuminate\View\Engines\CompilerEngine:get in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/view/View.php:137 #25 Illuminate\View\View:getContents in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/view/View.php:120 #24 Illuminate\View\View:renderContents in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/view/View.php:85 #23 Illuminate\View\View:render in /var/www/vhosts/tcmetrologia.com/httpdocs/src/storage/views/196a2cfa024aaef39331ca92ec4c6a29b2cc5dcb.php:184 #22 include in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/view/Engines/PhpEngine.php:43 #21 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/view/Engines/CompilerEngine.php:59 #20 Illuminate\View\Engines\CompilerEngine:get in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/view/View.php:137 #19 Illuminate\View\View:getContents in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/view/View.php:120 #18 Illuminate\View\View:renderContents in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/view/View.php:85 #17 Illuminate\View\View:render in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/mu-plugins/themosis-framework/src/Themosis/helpers.php:560 #16 view in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/themes/themosis-theme/resources/routes.php:375 #15 Theme\Providers\RoutingService:{closure} in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/routing/Route.php:198 #14 Illuminate\Routing\Route:runCallable in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/routing/Route.php:172 #13 Illuminate\Routing\Route:run in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/routing/Router.php:645 #12 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/routing/Pipeline.php:30 #11 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/pipeline/Pipeline.php:102 #10 Illuminate\Pipeline\Pipeline:then in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/routing/Router.php:647 #9 Illuminate\Routing\Router:runRouteWithinStack in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/routing/Router.php:622 #8 Illuminate\Routing\Router:runRoute in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/routing/Router.php:588 #7 Illuminate\Routing\Router:dispatchToRoute in /var/www/vhosts/tcmetrologia.com/httpdocs/src/vendor/illuminate/routing/Router.php:577 #6 Illuminate\Routing\Router:dispatch in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/mu-plugins/themosis-framework/themosis.php:292 #5 Themosis:setRouter in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/cms/wp-includes/class-wp-hook.php:286 #4 WP_Hook:apply_filters in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/cms/wp-includes/class-wp-hook.php:310 #3 WP_Hook:do_action in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/cms/wp-includes/plugin.php:465 #2 do_action in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/cms/wp-includes/template-loader.php:13 #1 require_once in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/cms/wp-blog-header.php:19 #0 require in /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/index.php:11
Stack frames (40)
39
ErrorException
/
htdocs
/
content
/
plugins
/
woocommerce
/
includes
/
data-stores
/
class-wc-product-data-store-cpt.php
152
38
ErrorException
/
htdocs
/
content
/
plugins
/
woocommerce
/
includes
/
data-stores
/
class-wc-product-data-store-cpt.php
152
37
Exception
/
htdocs
/
content
/
plugins
/
woocommerce
/
includes
/
data-stores
/
class-wc-product-data-store-cpt.php
152
36
WC_Product_Data_Store_CPT
read
/
htdocs
/
content
/
plugins
/
woocommerce
/
includes
/
class-wc-data-store.php
159
35
WC_Data_Store
read
/
htdocs
/
content
/
plugins
/
woocommerce
/
includes
/
abstracts
/
abstract-wc-product.php
134
34
WC_Product
__construct
/
htdocs
/
content
/
plugins
/
wonderm00ns-simple-facebook-open-graph-tags
/
public
/
class-webdados-fb-open-graph-public.php
224
33
Webdados_FB_Public
insert_meta_tags
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
286
32
WP_Hook
apply_filters
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
310
31
WP_Hook
do_action
/
htdocs
/
cms
/
wp-includes
/
plugin.php
465
30
do_action
/
htdocs
/
cms
/
wp-includes
/
general-template.php
2668
29
wp_head
/
storage
/
views
/
837f67051a30c3af7d51ef7886393f03d04b64d2.php
14
28
include
/
vendor
/
illuminate
/
view
/
Engines
/
PhpEngine.php
43
27
Illuminate
\
View
\
Engines
\
PhpEngine
evaluatePath
/
vendor
/
illuminate
/
view
/
Engines
/
CompilerEngine.php
59
26
Illuminate
\
View
\
Engines
\
CompilerEngine
get
/
vendor
/
illuminate
/
view
/
View.php
137
25
Illuminate
\
View
\
View
getContents
/
vendor
/
illuminate
/
view
/
View.php
120
24
Illuminate
\
View
\
View
renderContents
/
vendor
/
illuminate
/
view
/
View.php
85
23
Illuminate
\
View
\
View
render
/
storage
/
views
/
196a2cfa024aaef39331ca92ec4c6a29b2cc5dcb.php
184
22
include
/
vendor
/
illuminate
/
view
/
Engines
/
PhpEngine.php
43
21
Illuminate
\
View
\
Engines
\
PhpEngine
evaluatePath
/
vendor
/
illuminate
/
view
/
Engines
/
CompilerEngine.php
59
20
Illuminate
\
View
\
Engines
\
CompilerEngine
get
/
vendor
/
illuminate
/
view
/
View.php
137
19
Illuminate
\
View
\
View
getContents
/
vendor
/
illuminate
/
view
/
View.php
120
18
Illuminate
\
View
\
View
renderContents
/
vendor
/
illuminate
/
view
/
View.php
85
17
Illuminate
\
View
\
View
render
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
helpers.php
560
16
view
/
htdocs
/
content
/
themes
/
themosis-theme
/
resources
/
routes.php
375
15
Theme
\
Providers
\
RoutingService
{closure}
/
vendor
/
illuminate
/
routing
/
Route.php
198
14
Illuminate
\
Routing
\
Route
runCallable
/
vendor
/
illuminate
/
routing
/
Route.php
172
13
Illuminate
\
Routing
\
Route
run
/
vendor
/
illuminate
/
routing
/
Router.php
645
12
Illuminate
\
Routing
\
Router
Illuminate
\
Routing
\
{closure}
/
vendor
/
illuminate
/
routing
/
Pipeline.php
30
11
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
illuminate
/
pipeline
/
Pipeline.php
102
10
Illuminate
\
Pipeline
\
Pipeline
then
/
vendor
/
illuminate
/
routing
/
Router.php
647
9
Illuminate
\
Routing
\
Router
runRouteWithinStack
/
vendor
/
illuminate
/
routing
/
Router.php
622
8
Illuminate
\
Routing
\
Router
runRoute
/
vendor
/
illuminate
/
routing
/
Router.php
588
7
Illuminate
\
Routing
\
Router
dispatchToRoute
/
vendor
/
illuminate
/
routing
/
Router.php
577
6
Illuminate
\
Routing
\
Router
dispatch
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
themosis.php
292
5
Themosis
setRouter
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
286
4
WP_Hook
apply_filters
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
310
3
WP_Hook
do_action
/
htdocs
/
cms
/
wp-includes
/
plugin.php
465
2
do_action
/
htdocs
/
cms
/
wp-includes
/
template-loader.php
13
1
require_once
/
htdocs
/
cms
/
wp-blog-header.php
19
0
require
/
htdocs
/
index.php
11
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
content
/
plugins
/
woocommerce
/
includes
/
data-stores
/
class-wc-product-data-store-cpt.php
            $product->apply_changes();
 
            $this->clear_caches( $product );
 
            do_action( 'woocommerce_new_product', $id );
        }
    }
 
    /**
     * Method to read a product from the database.
     *
     * @param WC_Product $product Product object.
     * @throws Exception If invalid product.
     */
    public function read( &$product ) {
        $product->set_defaults();
        $post_object = get_post( $product->get_id() );
 
        if ( ! $product->get_id() || ! $post_object || 'product' !== $post_object->post_type ) {
            throw new Exception( __( 'Invalid product.', 'woocommerce' ) );
        }
 
        $product->set_props(
            array(
                'name'              => $post_object->post_title,
                'slug'              => $post_object->post_name,
                'date_created'      => 0 < $post_object->post_date_gmt ? wc_string_to_timestamp( $post_object->post_date_gmt ) : null,
                'date_modified'     => 0 < $post_object->post_modified_gmt ? wc_string_to_timestamp( $post_object->post_modified_gmt ) : null,
                'status'            => $post_object->post_status,
                'description'       => $post_object->post_content,
                'short_description' => $post_object->post_excerpt,
                'parent_id'         => $post_object->post_parent,
                'menu_order'        => $post_object->menu_order,
                'reviews_allowed'   => 'open' === $post_object->comment_status,
            )
        );
 
        $this->read_attributes( $product );
        $this->read_downloads( $product );
        $this->read_visibility( $product );
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
content
/
plugins
/
woocommerce
/
includes
/
data-stores
/
class-wc-product-data-store-cpt.php
            $product->apply_changes();
 
            $this->clear_caches( $product );
 
            do_action( 'woocommerce_new_product', $id );
        }
    }
 
    /**
     * Method to read a product from the database.
     *
     * @param WC_Product $product Product object.
     * @throws Exception If invalid product.
     */
    public function read( &$product ) {
        $product->set_defaults();
        $post_object = get_post( $product->get_id() );
 
        if ( ! $product->get_id() || ! $post_object || 'product' !== $post_object->post_type ) {
            throw new Exception( __( 'Invalid product.', 'woocommerce' ) );
        }
 
        $product->set_props(
            array(
                'name'              => $post_object->post_title,
                'slug'              => $post_object->post_name,
                'date_created'      => 0 < $post_object->post_date_gmt ? wc_string_to_timestamp( $post_object->post_date_gmt ) : null,
                'date_modified'     => 0 < $post_object->post_modified_gmt ? wc_string_to_timestamp( $post_object->post_modified_gmt ) : null,
                'status'            => $post_object->post_status,
                'description'       => $post_object->post_content,
                'short_description' => $post_object->post_excerpt,
                'parent_id'         => $post_object->post_parent,
                'menu_order'        => $post_object->menu_order,
                'reviews_allowed'   => 'open' === $post_object->comment_status,
            )
        );
 
        $this->read_attributes( $product );
        $this->read_downloads( $product );
        $this->read_visibility( $product );
Exception message: Producto no válido. (View: /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/content/themes/themosis-theme/resources/views/front/layouts/scroll.blade.php)
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
content
/
plugins
/
woocommerce
/
includes
/
data-stores
/
class-wc-product-data-store-cpt.php
            $product->apply_changes();
 
            $this->clear_caches( $product );
 
            do_action( 'woocommerce_new_product', $id );
        }
    }
 
    /**
     * Method to read a product from the database.
     *
     * @param WC_Product $product Product object.
     * @throws Exception If invalid product.
     */
    public function read( &$product ) {
        $product->set_defaults();
        $post_object = get_post( $product->get_id() );
 
        if ( ! $product->get_id() || ! $post_object || 'product' !== $post_object->post_type ) {
            throw new Exception( __( 'Invalid product.', 'woocommerce' ) );
        }
 
        $product->set_props(
            array(
                'name'              => $post_object->post_title,
                'slug'              => $post_object->post_name,
                'date_created'      => 0 < $post_object->post_date_gmt ? wc_string_to_timestamp( $post_object->post_date_gmt ) : null,
                'date_modified'     => 0 < $post_object->post_modified_gmt ? wc_string_to_timestamp( $post_object->post_modified_gmt ) : null,
                'status'            => $post_object->post_status,
                'description'       => $post_object->post_content,
                'short_description' => $post_object->post_excerpt,
                'parent_id'         => $post_object->post_parent,
                'menu_order'        => $post_object->menu_order,
                'reviews_allowed'   => 'open' === $post_object->comment_status,
            )
        );
 
        $this->read_attributes( $product );
        $this->read_downloads( $product );
        $this->read_visibility( $product );
Exception message: Producto no válido.
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
content
/
plugins
/
woocommerce
/
includes
/
class-wc-data-store.php
    }
 
    /**
     * Returns the class name of the current data store.
     *
     * @since 3.0.0
     * @return string
     */
    public function get_current_class_name() {
        return $this->current_class_name;
    }
 
    /**
     * Reads an object from the data store.
     *
     * @since 3.0.0
     * @param WC_Data $data WooCommerce data instance.
     */
    public function read( &$data ) {
        $this->instance->read( $data );
    }
 
    /**
     * Create an object in the data store.
     *
     * @since 3.0.0
     * @param WC_Data $data WooCommerce data instance.
     */
    public function create( &$data ) {
        $this->instance->create( $data );
    }
 
    /**
     * Update an object in the data store.
     *
     * @since 3.0.0
     * @param WC_Data $data WooCommerce data instance.
     */
    public function update( &$data ) {
        $this->instance->update( $data );
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
content
/
plugins
/
woocommerce
/
includes
/
abstracts
/
abstract-wc-product.php
     * This class should NOT be instantiated, but the wc_get_product() function
     * should be used. It is possible, but the wc_get_product() is preferred.
     *
     * @param int|WC_Product|object $product Product to init.
     */
    public function __construct( $product = 0 ) {
        parent::__construct( $product );
        if ( is_numeric( $product ) && $product > 0 ) {
            $this->set_id( $product );
        } elseif ( $product instanceof self ) {
            $this->set_id( absint( $product->get_id() ) );
        } elseif ( ! empty( $product->ID ) ) {
            $this->set_id( absint( $product->ID ) );
        } else {
            $this->set_object_read( true );
        }
 
        $this->data_store = WC_Data_Store::load( 'product-' . $this->get_type() );
        if ( $this->get_id() > 0 ) {
            $this->data_store->read( $this );
        }
    }
 
    /**
     * Get internal type. Should return string and *should be overridden* by child classes.
     *
     * The product_type property is deprecated but is used here for BW compatibility with child classes which may be defining product_type and not have a get_type method.
     *
     * @since 3.0.0
     * @return string
     */
    public function get_type() {
        return isset( $this->product_type ) ? $this->product_type : 'simple';
    }
 
    /*
    |--------------------------------------------------------------------------
    | Getters
    |--------------------------------------------------------------------------
    |
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
content
/
plugins
/
wonderm00ns-simple-facebook-open-graph-tags
/
public
/
class-webdados-fb-open-graph-public.php
                                                $fb_image = wp_get_attachment_url( $id_attachment, false );
                                                $thumbdone = true;
                                            } else {
                                            }
                                        }
                                        if ( !$thumbdone ) {
                                            //Main image loaded
                                            if ( $thumbnail_id = wpbdp_listings_api()->get_thumbnail_id( $this->post->ID ) ) {
                                                $fb_image = wp_get_attachment_url( $thumbnail_id, false );
                                                $thumbdone = true;
                                            }
                                        }
                                    }
                            }
                        }
                    // WooCommerce
                        if ( $webdados_fb->is_woocommerce_active() && is_product() ) {
                            $debug[] = 'is_product';
                            $fb_type = 'product';
                            $product = new WC_Product( $post->ID );
                            //Price
                            $price = version_compare( WC_VERSION, '3.0', '>=' ) ? wc_get_price_including_tax($product) : $product->get_price_including_tax();
                            $currency = get_woocommerce_currency();
                            $fb_additional_tags['property']['product_price_amount'] = array(
                                $price
                            );
                            if ( function_exists('get_woocommerce_currency') ) $fb_additional_tags['property']['product_price_currency'] = array(
                                $currency
                            );
                            $fb_additional_tags['name']['twitter_label1'] = array(
                                __('Price', 'wonderm00ns-simple-facebook-open-graph-tags')
                            );
                            if ( function_exists('get_woocommerce_currency') )  $fb_additional_tags['name']['twitter_data1'] = array(
                                $price.' '.get_woocommerce_currency()
                            );
                            //Stock
                            if ( $product->is_in_stock() ) {
                                $fb_additional_tags['property']['product_availability'] = array(
                                    'instock'
                                );
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
        }
 
        $nesting_level = $this->nesting_level++;
 
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
        $num_args                           = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = $priority = current( $this->iterations[ $nesting_level ] );
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice if possible.
                if ( $the_['accepted_args'] == 0 ) {
                    $value = call_user_func_array( $the_['function'], array() );
                } 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, (int) $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;
    }
 
    /**
     * Executes the callback functions hooked on a specific action hook.
     *
     * @since 4.7.0
     *
     * @param mixed $args Arguments to pass to the hook callbacks.
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Executes the callback functions hooked on a specific action hook.
     *
     * @since 4.7.0
     *
     * @param mixed $args Arguments to pass to the hook callbacks.
     */
    public function do_action( $args ) {
        $this->doing_action = true;
        $this->apply_filters( '', $args );
 
        // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
        if ( ! $this->nesting_level ) {
            $this->doing_action = false;
        }
    }
 
    /**
     * Processes the functions hooked into the 'all' hook.
     *
     * @since 4.7.0
     *
     * @param array $args Arguments to pass to the hook callbacks. Passed by reference.
     */
    public function do_all_hook( &$args ) {
        $nesting_level                      = $this->nesting_level++;
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
cms
/
wp-includes
/
plugin.php
            array_pop( $wp_current_filter );
        }
        return;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $tag;
    }
 
    $args = array();
    if ( is_array( $arg ) && 1 == count( $arg ) && isset( $arg[0] ) && is_object( $arg[0] ) ) { // array(&$this)
        $args[] =& $arg[0];
    } else {
        $args[] = $arg;
    }
    for ( $a = 2, $num = func_num_args(); $a < $num; $a++ ) {
        $args[] = func_get_arg( $a );
    }
 
    $wp_filter[ $tag ]->do_action( $args );
 
    array_pop( $wp_current_filter );
}
 
/**
 * Retrieve the number of times an action is fired.
 *
 * @since 2.1.0
 *
 * @global array $wp_actions Increments the amount of times action was triggered.
 *
 * @param string $tag The name of the action hook.
 * @return int The number of times action hook $tag is fired.
 */
function did_action( $tag ) {
    global $wp_actions;
 
    if ( ! isset( $wp_actions[ $tag ] ) ) {
        return 0;
    }
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
cms
/
wp-includes
/
general-template.php
     * @param string $after            The HTML to output after the date.
     */
    $the_weekday_date = apply_filters( 'the_weekday_date', $the_weekday_date, $before, $after );
    echo $the_weekday_date;
}
 
/**
 * Fire the wp_head action.
 *
 * See {@see 'wp_head'}.
 *
 * @since 1.2.0
 */
function wp_head() {
    /**
     * Prints scripts or data in the head tag on the front end.
     *
     * @since 1.5.0
     */
    do_action( 'wp_head' );
}
 
/**
 * Fire the wp_footer action.
 *
 * See {@see 'wp_footer'}.
 *
 * @since 1.5.1
 */
function wp_footer() {
    /**
     * Prints scripts or data before the closing body tag on the front end.
     *
     * @since 1.5.1
     */
    do_action( 'wp_footer' );
}
 
/**
 * Display the links to the general feeds.
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
storage
/
views
/
837f67051a30c3af7d51ef7886393f03d04b64d2.php
<!DOCTYPE html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" id="style-front" href="<?php echo e(themosis_theme_assets()); ?>/css/colors.min.css" type="text/css" media="all">
    <link rel="stylesheet" id="style-front" href="<?php echo e(themosis_theme_assets()); ?>/css/menu.min.css" type="text/css" media="all">
    <link rel="stylesheet" id="style-front" href="<?php echo e(themosis_theme_assets()); ?>/css/screen.min.css" type="text/css" media="all">
    <link rel="stylesheet" id="style-front" href="<?php echo e(themosis_theme_assets()); ?>/css/cursoTemplate.min.css" type="text/css" media="all">
    <link rel="stylesheet" id="style-front" href="<?php echo e(themosis_theme_assets()); ?>/css/myaccount.min.css" type="text/css" media="all">
    <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <link rel="stylesheet" href="//cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" type="text/css" media="all">
 <?php wp_head(); ?>
</head>
<body <?php echo body_class(); ?>>
<?php echo e(do_action('before_body')); ?>
 
<?php
    global $woocommerce;
    $sites = get_sites();
    $blog = get_blog_details();
    $site_id = get_current_blog_id();
    $sectores = DB::table('sectores')->orderBy('nombre')->get();
    //$order = (['es' => 1, 'mx' => 2, 'ar' => 3, 'co' => 4, 'cl' => 5, 'pe' => 6, 'uy' => 7]);  
    $page_index = array_search(pll_current_language(), pll_languages_list()) + 1 ;
    $language = pll_current_language();
    $perfil = '';
    if(User::current()->ID != 0){
        $perfil = get_user_meta(User::current()->ID, 'type-user');
    }
    if( !empty($perfil) ){
        $perfil = $perfil[0];
    }else{
        $perfil = '';
    }
?>
<input id="lang-index"      type="hidden" value="<?php echo e($page_index); ?>">
<input id="current-lang"    type="hidden" value="<?php echo e($language); ?>">
<input id="user-id"         type="hidden" value="<?php echo e(User::current()->ID); ?>">
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
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, EXTR_SKIP);
 
        // 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 \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
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 \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
view
/
View.php
        $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 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;
    }
 
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
view
/
View.php
 
            throw $e;
        }
    }
 
    /**
     * 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 evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
view
/
View.php
        $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
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $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->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
storage
/
views
/
196a2cfa024aaef39331ca92ec4c6a29b2cc5dcb.php
        cerrarItems($(this));
    });
 
    function cerrarItems(element){
        var clase = element.attr('class');   
        if(clase == 'year-item' || clase == "category-item"){
            var monthPosts = $('.list-months').not(element.next());
            monthPosts.each(function(){
                $(this).hide();
            });
        }
        var listPosts = $('.list-posts').not(element.next());
        listPosts.each(function(){
            $(this).hide();
        });
    };
 
    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('front.layouts.scroll', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
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, EXTR_SKIP);
 
        // 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 \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
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 \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
view
/
View.php
        $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 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;
    }
 
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
view
/
View.php
 
            throw $e;
        }
    }
 
    /**
     * 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 evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
view
/
View.php
        $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
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $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->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
src
/
Themosis
/
helpers.php
 
if (!function_exists('view')) {
    /**
     * Helper function to build views.
     *
     * @param string $view      The view relative path, name.
     * @param array  $data      Passed data.
     * @param array  $mergeData
     *
     * @return string
     */
    function view($view = null, array $data = [], array $mergeData = [])
    {
        $factory = container('view');
 
        if (func_num_args() === 0) {
            return $factory;
        }
 
        return $factory->make($view, $data, $mergeData)->render();
    }
}
 
if (!function_exists('meta')) {
    /**
     * Helper function to get any meta data from objects.
     *
     * @param string $key
     * @param int    $id
     * @param string $context
     * @param bool   $single
     *
     * @return mixed|string
     */
    function meta($key = '', $id = null, $context = 'post', $single = true)
    {
        if (is_null($id)) {
            $id = get_the_ID();
        }
 
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
content
/
themes
/
themosis-theme
/
resources
/
routes.php
    return view('front.woocommerce.checkout.thankyou', [
        'order' => $order
    ]);
});
 
 
/* --- FIN WOOCOMMERCE --- */
 
Route::get('search', function () {
    return view('front.pages.search');
});
 
Route::match(array('GET', 'POST'),'page', function($post) {
    return view('front.pages.page', [
        'post' => $post
    ]);
});
 
Route::get('single', function () {
    return view('front.blog.single');
});
 
Route::get('blog', function () {
    global $is_blog, $post;
    $post_id = get_option('page_for_posts', true);
    $post = get_post($post_id);
    $is_blog = true;
    return View::make('front.pages.blog');
});
 
Route::get('pagina-no-encontrada', function () {
    return view('front.pages.error404');
});
 
 
Route::get('/'.pll_current_language().'/pagina-no-encontrada', function () {
    return view('front.pages.error404');
});
 
 
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
routing
/
Route.php
     * Checks whether the route's action is a controller.
     *
     * @return bool
     */
    protected function isControllerAction()
    {
        return is_string($this->action['uses']);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
    protected function runCallable()
    {
        $callable = $this->action['uses'];
 
        return $callable(...array_values($this->resolveMethodDependencies(
            $this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses'])
        )));
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    protected function runController()
    {
        return $this->controllerDispatcher()->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
routing
/
Route.php
    protected function parseAction($action)
    {
        return RouteAction::parse($this->uri, $action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
    public function run()
    {
        $this->container = $this->container ?: new Container;
 
        try {
            if ($this->isControllerAction()) {
                return $this->runController();
            }
 
            return $this->runCallable();
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
 
    /**
     * Checks whether the route's action is a controller.
     *
     * @return bool
     */
    protected function isControllerAction()
    {
        return is_string($this->action['uses']);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
routing
/
Router.php
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
routing
/
Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
 
/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    $slice = parent::carry();
 
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
pipeline
/
Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            return $destination($passable);
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
routing
/
Router.php
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
     * Sort the given middleware by priority.
     *
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
routing
/
Router.php
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  Route  $route
     * @param  Request  $request
     * @return mixed
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new Events\RouteMatched($route, $request));
 
        return $this->prepareResponse($request,
            $this->runRouteWithinStack($route, $request)
        );
    }
 
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
routing
/
Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
    {
        $this->current = $route = $this->routes->match($request);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
vendor
/
illuminate
/
routing
/
Router.php
     * @return mixed
     */
    public function respondWithRoute($name)
    {
        $route = tap($this->routes->getByName($name))->bind($this->currentRequest);
 
        return $this->runRoute($this->currentRequest, $route);
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
content
/
mu-plugins
/
themosis-framework
/
themosis.php
             * Register framework assets.
             */
            $this->container['asset']->add('themosis-core-styles', 'css/_themosisCore.css', ['wp-color-picker'])->to('admin');
            $this->container['asset']->add('themosis-core-scripts', 'js/_themosisCore.js', ['jquery', 'jquery-ui-sortable', 'underscore', 'backbone', 'mce-view', 'wp-color-picker'], '1.3.0', true)->to('admin');
        }
 
        /**
         * Hook into front-end routing.
         * Setup the router API to be executed before
         * theme default templates.
         */
        public function setRouter()
        {
            if (is_feed() || is_comment_feed()) {
                return;
            }
 
            try {
                $request = $this->container['request'];
                $response = $this->container['router']->dispatch($request);
 
                // We only send back the content because, headers are already defined
                // by WordPress internals.
                $response->sendContent();
            } catch (\Symfony\Component\HttpKernel\Exception\NotFoundHttpException $exception) {
                /*
                 * Fallback to WordPress templates.
                 */
            }
        }
 
        /**
         * Enqueue Admin scripts.
         */
        public function adminEnqueueScripts()
        {
            /*
             * Make sure the media scripts are always enqueued.
             */
            wp_enqueue_media();
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
        }
 
        $nesting_level = $this->nesting_level++;
 
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
        $num_args                           = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = $priority = current( $this->iterations[ $nesting_level ] );
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice if possible.
                if ( $the_['accepted_args'] == 0 ) {
                    $value = call_user_func_array( $the_['function'], array() );
                } 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, (int) $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;
    }
 
    /**
     * Executes the callback functions hooked on a specific action hook.
     *
     * @since 4.7.0
     *
     * @param mixed $args Arguments to pass to the hook callbacks.
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
cms
/
wp-includes
/
class-wp-hook.php
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Executes the callback functions hooked on a specific action hook.
     *
     * @since 4.7.0
     *
     * @param mixed $args Arguments to pass to the hook callbacks.
     */
    public function do_action( $args ) {
        $this->doing_action = true;
        $this->apply_filters( '', $args );
 
        // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
        if ( ! $this->nesting_level ) {
            $this->doing_action = false;
        }
    }
 
    /**
     * Processes the functions hooked into the 'all' hook.
     *
     * @since 4.7.0
     *
     * @param array $args Arguments to pass to the hook callbacks. Passed by reference.
     */
    public function do_all_hook( &$args ) {
        $nesting_level                      = $this->nesting_level++;
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
 
        do {
            $priority = current( $this->iterations[ $nesting_level ] );
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
cms
/
wp-includes
/
plugin.php
            array_pop( $wp_current_filter );
        }
        return;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $tag;
    }
 
    $args = array();
    if ( is_array( $arg ) && 1 == count( $arg ) && isset( $arg[0] ) && is_object( $arg[0] ) ) { // array(&$this)
        $args[] =& $arg[0];
    } else {
        $args[] = $arg;
    }
    for ( $a = 2, $num = func_num_args(); $a < $num; $a++ ) {
        $args[] = func_get_arg( $a );
    }
 
    $wp_filter[ $tag ]->do_action( $args );
 
    array_pop( $wp_current_filter );
}
 
/**
 * Retrieve the number of times an action is fired.
 *
 * @since 2.1.0
 *
 * @global array $wp_actions Increments the amount of times action was triggered.
 *
 * @param string $tag The name of the action hook.
 * @return int The number of times action hook $tag is fired.
 */
function did_action( $tag ) {
    global $wp_actions;
 
    if ( ! isset( $wp_actions[ $tag ] ) ) {
        return 0;
    }
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
cms
/
wp-includes
/
template-loader.php
<?php
/**
 * Loads the correct template based on the visitor's url
 *
 * @package WordPress
 */
if ( wp_using_themes() ) {
    /**
     * Fires before determining which template to load.
     *
     * @since 1.5.0
     */
    do_action( 'template_redirect' );
}
 
/**
 * Filters whether to allow 'HEAD' requests to generate content.
 *
 * Provides a significant performance bump by exiting before the page
 * content loads for 'HEAD' requests. See #14348.
 *
 * @since 3.5.0
 *
 * @param bool $exit Whether to exit without generating any content for 'HEAD' requests. Default true.
 */
if ( 'HEAD' === $_SERVER['REQUEST_METHOD'] && apply_filters( 'exit_on_http_head', true ) ) {
    exit();
}
 
// Process feeds and trackbacks even if not using themes.
if ( is_robots() ) :
    /**
     * Fired when the template loader determines a robots.txt request.
     *
     * @since 2.1.0
     */
    do_action( 'do_robots' );
    return;
elseif ( is_feed() ) :
    do_feed();
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
cms
/
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( dirname( __FILE__ ) . '/wp-load.php' );
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once( ABSPATH . WPINC . '/template-loader.php' );
 
}
 
/
var
/
www
/
vhosts
/
tcmetrologia.com
/
httpdocs
/
src
/
htdocs
/
index.php
<?php
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);
 
/** Loads the WordPress Environment and Template */
require dirname(__FILE__).'/cms/wp-blog-header.php';
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE Apache
REQUEST_URI /curso/producto-general/
USER tcmetrologia.com
HOME /var/www/vhosts/tcmetrologia.com
SCRIPT_NAME /index.php
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /curso/producto-general/
REMOTE_PORT 55984
SCRIPT_FILENAME /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs/index.php
SERVER_ADMIN root@localhost
CONTEXT_DOCUMENT_ROOT /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /var/www/vhosts/tcmetrologia.com/httpdocs/src/htdocs
REMOTE_ADDR 54.226.73.255
SERVER_PORT 443
SERVER_ADDR 82.223.2.113
SERVER_NAME www.tcmetrologia.com
SERVER_SIGNATURE
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_ACCEPT_ENCODING gzip
HTTP_IF_MODIFIED_SINCE Fri, 15 Feb 2019 20:38:28 CET
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_CONNECTION close
HTTP_X_ACCEL_INTERNAL /internal-nginx-static-location
HTTP_X_REAL_IP 54.226.73.255
HTTP_HOST www.tcmetrologia.com
proxy-nokeepalive 1
HTTPS on
SCRIPT_URI https://www.tcmetrologia.com/curso/producto-general/
SCRIPT_URL /curso/producto-general/
UNIQUE_ID XL9a5CFPMhDTZgcq--I7jgAAANg
REDIRECT_STATUS 200
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://www.tcmetrologia.com/curso/producto-general/
REDIRECT_SCRIPT_URL /curso/producto-general/
REDIRECT_UNIQUE_ID XL9a5CFPMhDTZgcq--I7jgAAANg
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1556044516.6781
REQUEST_TIME 1556044516
DB_NAME tcm
DB_USER tcm
DB_PASSWORD 6NJ7Xu564sVZSbf27S&g
DB_HOST localhost
WP_HOME https://www.tcmetrologia.com
WP_SITEURL https://www.tcmetrologia.com/cms
Key Value
DB_NAME tcm
DB_USER tcm
DB_PASSWORD 6NJ7Xu564sVZSbf27S&g
DB_HOST localhost
WP_HOME https://www.tcmetrologia.com
WP_SITEURL https://www.tcmetrologia.com/cms
0. Whoops\Handler\PrettyPageHandler