Birifficio Italiano

sesja 1

Kup bilet

21 września
16:30, piątek


  • Asteroid 56013 IPA | 6,6%
  • Wildekind Barrel Aged Farmhouse Saison | 5%

sesja 2

Kup bilet

22 września
10:30, sobota


  • Tipopils Pilsner | 5,2%
  • Polock El Rouge Barrel Aged Raspberry Grodziskie | 4%

sesja 3

Kup bilet

22 września
16:30, sobota


  • Nigredo Schwarzbier | 6,5%
  • Bang Bretta Barrel Aged Brett IPA | 7,8%

Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Missing argument 2 for App::{closure}() Whoops\Exception\ErrorException thrown with message "Missing argument 2 for App::{closure}()" Stacktrace: #7 Whoops\Exception\ErrorException in /wp-content/themes/omb/lib/app.php:324 #6 Whoops\Run:handleError in /wp-content/themes/omb/lib/app.php:324 #5 App:{closure} in [internal]:0 #4 array_map in /wp-content/themes/omb/lib/app.php:328 #3 App:prevnext in /wp-content/themes/omb/single-brewery.php:64 #2 include in /wp-includes/template-loader.php:74 #1 require_once in /wp-blog-header.php:19 #0 require in /index.php:17
Stack frames (8)
7
Whoops
\
Exception
\
ErrorException
/
lib
/
app.php
324
6
Whoops
\
Run
handleError
/
lib
/
app.php
324
5
App
{closure}
[internal]
0
4
array_map
/
lib
/
app.php
328
3
App
prevnext
/
single-brewery.php
64
2
include
/
wp-includes
/
template-loader.php
74
1
require_once
/
wp-blog-header.php
19
0
require
/
index.php
17
/
wp-content
/
themes
/
omb
/
lib
/
app.php
 
        }
    }
 
    function get_breweries()
    {
        return get_posts([
            'post_type' => 'brewery',
            'posts_per_page' => -1,
            'order' => 'ASC',
            'orderby' => 'title'
        ]);
    }
 
    function prevnext($id)
    {
 
        $breweries = $this->get_breweries();
 
        $arr = array_map(function ($b, $i) {
 
            return $b->ID;
 
        }, $breweries);
 
 
        $index = array_search($id, $arr);
 
 
        if ($index > -1) {
            return [
                'prev' => array_key_exists($index - 1, $arr) ? $breweries[$index - 1] : false,
                'next' => array_key_exists($index + 1, $arr) ? $breweries[$index + 1] : false,
 
            ];
        }
 
    }
 
    function params($id)
/
wp-content
/
themes
/
omb
/
lib
/
app.php
 
        }
    }
 
    function get_breweries()
    {
        return get_posts([
            'post_type' => 'brewery',
            'posts_per_page' => -1,
            'order' => 'ASC',
            'orderby' => 'title'
        ]);
    }
 
    function prevnext($id)
    {
 
        $breweries = $this->get_breweries();
 
        $arr = array_map(function ($b, $i) {
 
            return $b->ID;
 
        }, $breweries);
 
 
        $index = array_search($id, $arr);
 
 
        if ($index > -1) {
            return [
                'prev' => array_key_exists($index - 1, $arr) ? $breweries[$index - 1] : false,
                'next' => array_key_exists($index + 1, $arr) ? $breweries[$index + 1] : false,
 
            ];
        }
 
    }
 
    function params($id)
[internal]
/
wp-content
/
themes
/
omb
/
lib
/
app.php
    function get_breweries()
    {
        return get_posts([
            'post_type' => 'brewery',
            'posts_per_page' => -1,
            'order' => 'ASC',
            'orderby' => 'title'
        ]);
    }
 
    function prevnext($id)
    {
 
        $breweries = $this->get_breweries();
 
        $arr = array_map(function ($b, $i) {
 
            return $b->ID;
 
        }, $breweries);
 
 
        $index = array_search($id, $arr);
 
 
        if ($index > -1) {
            return [
                'prev' => array_key_exists($index - 1, $arr) ? $breweries[$index - 1] : false,
                'next' => array_key_exists($index + 1, $arr) ? $breweries[$index + 1] : false,
 
            ];
        }
 
    }
 
    function params($id)
    {
        $categories = get_the_category($id);
        $country = $categories[0]->name;
        return [
/
wp-content
/
themes
/
omb
/
single-brewery.php
                    }
 
 
                    $app->render('brewery_header', $vals);
 
 
                    ?>
 
                </div>
 
 
            </div>
 
 
        </div>
 
 
        <hr>
        <?php
        $prev_next = $app->prevnext($brewery_ID);
 
 
        ?>
        <div class="prevnext">
            <div class="row  collapse ">
                <div class="columns small-12 medium-5 text-left col-prev">
                    <?php if ($prev_next['prev']) $app->render('prevnext', ['item' => $app->params($prev_next['prev']->ID)]); ?>
                    <br>
                </div>
                <div class="columns small-12 medium-2 text-center">
                    <?php
                    $f = '<a class="mini show_all" data-target="%s" href="%s">%s</a>';
                    echo sprintf($f, get_the_permalink(23), get_the_permalink(23), __('Wszyscy'));
                    ?>
                </div>
                <div class="columns small-12 medium-5 text-right col-next">
                    <?php if ($prev_next['next']) $app->render('prevnext', ['item' => $app->params($prev_next['next']->ID), 'reverse' => true]); ?>
                    <br>
                </div>
            </div>
/
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;
 
/
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' );
 
}
 
/
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 IdeaWebServer/0.83 (like Apache)
REQUEST_URI /wystawcy/birifficio-italiano/
CURL_HOME /
DOCUMENT_ROOT /
GATEWAY_INTERFACE CGI/1.1
GATEWAY_ULTRACGI 01faaac2729fc9f69c48b6352ec3099d
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_CONNECTION close
HTTP_HOST ombf.pl
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
PATH /usr/local/pssql55/bin:/usr/local/pgsql9/bin:/bin:/usr/bin:/usr/local/bin
PATH_REDIRECTED /wystawcy/birifficio-italiano/
QUERY_STRING
REDIRECT_STATUS 200
REDIRECT_URL /wystawcy/birifficio-italiano/
REMOTE_ADDR 54.162.163.181
REMOTE_HOST ec2-54-162-163-181.compute-1.amazonaws.com
REMOTE_PORT 57730
REQUEST_METHOD GET
SCRIPT_FILENAME /index.php
SCRIPT_NAME /index.php
SCRIPT_URI http://ombf.pl/wystawcy/birifficio-italiano/
SCRIPT_URL /wystawcy/birifficio-italiano/
SERVER_ADDR 79.96.75.54
SERVER_ADMIN smakpiwa@smakpiwa.home.pl
SERVER_ID smakpiwa
SERVER_NAME ombf.pl
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
TMP /tmp
TMPDIR /tmp
TZ :/etc/localtime
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1527156695.5369
REQUEST_TIME 1527156695
argv Array ( )
argc 0
Key Value
CURL_HOME /
DOCUMENT_ROOT /
GATEWAY_INTERFACE CGI/1.1
GATEWAY_ULTRACGI 01faaac2729fc9f69c48b6352ec3099d
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_CONNECTION close
HTTP_HOST ombf.pl
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
PATH /usr/local/pssql55/bin:/usr/local/pgsql9/bin:/bin:/usr/bin:/usr/local/bin
PATH_REDIRECTED /wystawcy/birifficio-italiano/
QUERY_STRING
REDIRECT_STATUS 200
REDIRECT_URL /wystawcy/birifficio-italiano/
REMOTE_ADDR 54.162.163.181
REMOTE_HOST ec2-54-162-163-181.compute-1.amazonaws.com
REMOTE_PORT 57730
REQUEST_METHOD GET
REQUEST_URI /wystawcy/birifficio-italiano/
SCRIPT_FILENAME /index.php
SCRIPT_NAME /index.php
SCRIPT_URI http://ombf.pl/wystawcy/birifficio-italiano/
SCRIPT_URL /wystawcy/birifficio-italiano/
SERVER_ADDR 79.96.75.54
SERVER_ADMIN smakpiwa@smakpiwa.home.pl
SERVER_ID smakpiwa
SERVER_NAME ombf.pl
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE IdeaWebServer/0.83 (like Apache)
TMP /tmp
TMPDIR /tmp
TZ :/etc/localtime
0. Whoops\Handler\PrettyPageHandler