RODZAJE

BAZY

CHUSTECZKI

KREMY DO TWARZY

KREMY DO RĄK

KREMY POD OCZY

MASECZKI

OLEJKI

PEELINGI

PODKŁADY

PLASTRY NA NOS

Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Invalid argument supplied for foreach() Whoops\Exception\ErrorException thrown with message "Invalid argument supplied for foreach()" Stacktrace: #4 Whoops\Exception\ErrorException in /var/www/maurisse/biotaniqe.pl/public/wp-content/themes/movecloser/page-templates/page-lines-list.php:47 #3 Whoops\Run:handleError in /var/www/maurisse/biotaniqe.pl/public/wp-content/themes/movecloser/page-templates/page-lines-list.php:47 #2 include in /var/www/maurisse/biotaniqe.pl/public/wp-includes/template-loader.php:74 #1 require_once in /var/www/maurisse/biotaniqe.pl/public/wp-blog-header.php:19 #0 require in /var/www/maurisse/biotaniqe.pl/public/index.php:17
Stack frames (5)
4
Whoops
\
Exception
\
ErrorException
/
page-templates
/
page-lines-list.php
47
3
Whoops
\
Run
handleError
/
page-templates
/
page-lines-list.php
47
2
include
/
var
/
www
/
maurisse
/
biotaniqe.pl
/
public
/
wp-includes
/
template-loader.php
74
1
require_once
/
var
/
www
/
maurisse
/
biotaniqe.pl
/
public
/
wp-blog-header.php
19
0
require
/
var
/
www
/
maurisse
/
biotaniqe.pl
/
public
/
index.php
17
/
var
/
www
/
maurisse
/
biotaniqe.pl
/
public
/
wp-content
/
themes
/
movecloser
/
page-templates
/
page-lines-list.php
    <div class="container product-list">
        <?php if (have_rows('lines_repeater')): ?>
            <?php while (have_rows('lines_repeater')) : the_row(); // <-- Repeater START ?>
                <?php $related_pages = get_sub_field('related_pages'); ?>
                <?php if (get_sub_field('alt_title_check')): ?>
                    <div class="row">
                        <div class="container product-list">
                            <div class="row">
                                <div class="col-xs-10 col-xs-offset-1">
                                    <div class="product-list-header">
                                        <h2><?php the_sub_field('alt_title'); ?></h2>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                <?php endif; ?>
 
                <div class="row">
                    <?php foreach ($related_pages as $product_page):
                        if (get_field('product_list', $product_page)):
                            $product_list = get_field('product_list', $product_page);
                            foreach ($product_list as $product): ; ?>
                                <div class="col-sm-6 col-md-4 col-lg-3 product-box">
                                    <a href="<?php echo get_permalink($product->ID); ?>">
                                        <div class="product-box-img">
                                            <div class="product-box-img__bg" style="background-image: url(<?php $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($product->ID), 'product-list');
                                            echo $thumb[0]; ?>)"></div>
                                        </div>
                                        <?php if (get_field('is_alt_title', $product->ID)):?>
                                            <h4><?php echo strip_tags(get_field('alt_title', $product->ID),'<br><br/>'); ?></h4>
                                        <?php else:?>
                                            <h4><?php echo $product->post_title; ?></h4>
                                        <?php endif;?>
                                        <button class="btn-product">
                                            <p><?php pll_e('Dowiedz się więcej');?></p>
                                        </button>
                                    </a>
                                </div>
                            <?php endforeach; ?>
/
var
/
www
/
maurisse
/
biotaniqe.pl
/
public
/
wp-content
/
themes
/
movecloser
/
page-templates
/
page-lines-list.php
    <div class="container product-list">
        <?php if (have_rows('lines_repeater')): ?>
            <?php while (have_rows('lines_repeater')) : the_row(); // <-- Repeater START ?>
                <?php $related_pages = get_sub_field('related_pages'); ?>
                <?php if (get_sub_field('alt_title_check')): ?>
                    <div class="row">
                        <div class="container product-list">
                            <div class="row">
                                <div class="col-xs-10 col-xs-offset-1">
                                    <div class="product-list-header">
                                        <h2><?php the_sub_field('alt_title'); ?></h2>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                <?php endif; ?>
 
                <div class="row">
                    <?php foreach ($related_pages as $product_page):
                        if (get_field('product_list', $product_page)):
                            $product_list = get_field('product_list', $product_page);
                            foreach ($product_list as $product): ; ?>
                                <div class="col-sm-6 col-md-4 col-lg-3 product-box">
                                    <a href="<?php echo get_permalink($product->ID); ?>">
                                        <div class="product-box-img">
                                            <div class="product-box-img__bg" style="background-image: url(<?php $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($product->ID), 'product-list');
                                            echo $thumb[0]; ?>)"></div>
                                        </div>
                                        <?php if (get_field('is_alt_title', $product->ID)):?>
                                            <h4><?php echo strip_tags(get_field('alt_title', $product->ID),'<br><br/>'); ?></h4>
                                        <?php else:?>
                                            <h4><?php echo $product->post_title; ?></h4>
                                        <?php endif;?>
                                        <button class="btn-product">
                                            <p><?php pll_e('Dowiedz się więcej');?></p>
                                        </button>
                                    </a>
                                </div>
                            <?php endforeach; ?>
/
var
/
www
/
maurisse
/
biotaniqe.pl
/
public
/
wp-includes
/
template-loader.php
    elseif ( is_single()         && $template = get_single_template()         ) :
    elseif ( is_page()           && $template = get_page_template()           ) :
    elseif ( is_singular()       && $template = get_singular_template()       ) :
    elseif ( is_category()       && $template = get_category_template()       ) :
    elseif ( is_tag()            && $template = get_tag_template()            ) :
    elseif ( is_author()         && $template = get_author_template()         ) :
    elseif ( is_date()           && $template = get_date_template()           ) :
    elseif ( is_archive()        && $template = get_archive_template()        ) :
    else :
        $template = get_index_template();
    endif;
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    if ( $template = apply_filters( 'template_include', $template ) ) {
        include( $template );
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
endif;
 
/
var
/
www
/
maurisse
/
biotaniqe.pl
/
public
/
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
/
maurisse
/
biotaniqe.pl
/
public
/
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( dirname( __FILE__ ) . '/wp-blog-header.php' );
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE nginx/1.10.3
REQUEST_URI /rodzaje/
USER www-data
HOME /var/www
HTTP_CONNECTION Keep-Alive
HTTP_HOST biotaniqe.pl
HTTP_ACCEPT_ENCODING br,gzip
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/)
REDIRECT_STATUS 200
SERVER_NAME biotaniqe.pl
SERVER_PORT 443
SERVER_ADDR 51.255.39.61
REMOTE_PORT 56502
REMOTE_ADDR 54.227.97.219
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /var/www/maurisse/biotaniqe.pl/public
DOCUMENT_URI /index.php
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /var/www/maurisse/biotaniqe.pl/public/index.php
PATH_INFO
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1638130416.6676
REQUEST_TIME 1638130416
empty
0. Whoops\Handler\PrettyPageHandler