0

Pinta

2018

Sesja 1


  • RISFACTOR BOURBON BA Russian Imperial Stout BA | 12,5%
  • LOST JUICE New England IPA | 6,5%

Sesja 2


  • KWAS NY Sour Tripel | 8,9%
  • BAŁTYK TASMAN Baltic Porter | 9%

Sesja 3


  • FEST OKTOBER Festbier | 5%
  • IMPERATOR BAŁTYCKI SHERRY OLOROSO BA VINTAGE 2017 Imperial Baltic Porter Sherry Oloroso BA | 9,1%

2017

Sesja 1


  • HOP TOUR PALE ALE SOUTH AFRICA American Pale Ale | 5%
  • KWAS EPSILON WILD & BARREL AGED Barrel Aged Double India Sour Ale | 6,1%

Sesja 2


  • SON OF A BIRCH Birch Wheat | 3%
  • RUSSIAN IMPERIAL STOUT DOUBLE BARREL AGED (BOURBON AND RUM) Barrel Aged Imperial Stout | 13%

Sesja 3


  • KWAS KAPPA American Sour Lager | 5%
  • LUBLIN TO DUBLIN RYE STOUT Rye Stout | 6,5%


Whoops! There was an error.
ArgumentCountError
Too few arguments to function App::get_breweries(), 0 passed in /wp-content/themes/omb/lib/app.php on line 522 and exactly 1 expected ArgumentCountError thrown with message "Too few arguments to function App::get_breweries(), 0 passed in /wp-content/themes/omb/lib/app.php on line 522 and exactly 1 expected" Stacktrace: #5 ArgumentCountError in /wp-content/themes/omb/lib/app.php:499 #4 App:get_breweries in /wp-content/themes/omb/lib/app.php:522 #3 App:prevnext in /wp-content/themes/omb/single-brewery.php:87 #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 (6)
5
ArgumentCountError
/
lib
/
app.php
499
4
App
get_breweries
/
lib
/
app.php
522
3
App
prevnext
/
single-brewery.php
87
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
    public
    function datetime($id, $flat = false)
    {
 
        $date = get_field('date', $id);
        if ($date) {
 
            $formatted = date_i18n('l', $date) . ', ' . date_i18n('j F', $date) . ' ' . date('Y', $date) . '<br>' . get_field('time', $id) . ' – ' . get_field('time_end', $id);
 
            if ($flat) {
                return str_replace('<br>', ', ', $formatted);
            }
 
 
            return $formatted;
 
        }
    }
 
    function get_breweries($edition_id)
    {
        $args = [
            'post_type' => 'brewery',
            'posts_per_page' => -1,
            'order' => 'ASC',
            'orderby' => 'title',
 
        ];
        if ($edition_id) {
            $args['meta_query'] = [[
                'key' => 'editions',
                'value' => $edition_id,
                'compare' => 'LIKE'
            ]];
 
        }
        return get_posts($args);
    }
 
    function prevnext($id)
/
wp-content
/
themes
/
omb
/
lib
/
app.php
            'posts_per_page' => -1,
            'order' => 'ASC',
            'orderby' => 'title',
 
        ];
        if ($edition_id) {
            $args['meta_query'] = [[
                'key' => 'editions',
                'value' => $edition_id,
                'compare' => 'LIKE'
            ]];
 
        }
        return get_posts($args);
    }
 
    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,
 
            ];
        }
 
    }
/
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.213 (like Apache)
REQUEST_URI /wystawcy/pinta/
CURL_HOME /
DOCUMENT_ROOT /
GATEWAY_INTERFACE CGI/1.1
GATEWAY_ULTRACGI 01b9f54d44e9ac4f5a018d4935a338e5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION close
HTTP_HOST ombf.pl
HTTP_IF_MODIFIED_SINCE Sun, 20 Jan 2019 15:40:36 GMT
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
PATH /usr/local/pssql55/bin:/usr/local/pgsql9/bin:/bin:/usr/bin:/usr/local/bin
PATH_REDIRECTED /wystawcy/pinta/
QUERY_STRING
REDIRECT_STATUS 200
REDIRECT_URL /wystawcy/pinta/
REMOTE_ADDR 54.242.115.55
REMOTE_HOST 54.242.115.55
REMOTE_PORT 56796
REQUEST_METHOD GET
SCRIPT_FILENAME /index.php
SCRIPT_NAME /index.php
SCRIPT_URI http://ombf.pl/wystawcy/pinta/
SCRIPT_URL /wystawcy/pinta/
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 1553508208.784
REQUEST_TIME 1553508208
argv Array ( )
argc 0
Key Value
CURL_HOME /
DOCUMENT_ROOT /
GATEWAY_INTERFACE CGI/1.1
GATEWAY_ULTRACGI 01b9f54d44e9ac4f5a018d4935a338e5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION close
HTTP_HOST ombf.pl
HTTP_IF_MODIFIED_SINCE Sun, 20 Jan 2019 15:40:36 GMT
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
PATH /usr/local/pssql55/bin:/usr/local/pgsql9/bin:/bin:/usr/bin:/usr/local/bin
PATH_REDIRECTED /wystawcy/pinta/
QUERY_STRING
REDIRECT_STATUS 200
REDIRECT_URL /wystawcy/pinta/
REMOTE_ADDR 54.242.115.55
REMOTE_HOST 54.242.115.55
REMOTE_PORT 56796
REQUEST_METHOD GET
REQUEST_URI /wystawcy/pinta/
SCRIPT_FILENAME /index.php
SCRIPT_NAME /index.php
SCRIPT_URI http://ombf.pl/wystawcy/pinta/
SCRIPT_URL /wystawcy/pinta/
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.213 (like Apache)
TMP /tmp
TMPDIR /tmp
TZ :/etc/localtime
0. Whoops\Handler\PrettyPageHandler