Whoops \ Exception \ ErrorException (E_NOTICE)
Undefined variable: str_replace Whoops\Exception\ErrorException thrown with message "Undefined variable: str_replace" Stacktrace: #14 Whoops\Exception\ErrorException in /home/corkcityfc/public_html/home/wp-content/plugins/goodlayers-core/include/pb/blog-style.php:291 #13 Whoops\Run:handleError in /home/corkcityfc/public_html/home/wp-content/plugins/goodlayers-core/include/pb/blog-style.php:291 #12 gdlr_core_blog_style:blog_thumbnail in /home/corkcityfc/public_html/home/wp-content/plugins/goodlayers-core/include/pb/blog-style.php:1093 #11 gdlr_core_blog_style:blog_medium in /home/corkcityfc/public_html/home/wp-content/plugins/goodlayers-core/include/pb/blog-style.php:99 #10 gdlr_core_blog_style:get_content in /home/corkcityfc/public_html/home/wp-content/plugins/goodlayers-core/include/pb/blog-item.php:246 #9 gdlr_core_blog_item:get_blog_grid_content in /home/corkcityfc/public_html/home/wp-content/plugins/goodlayers-core/include/pb/blog-item.php:128 #8 gdlr_core_blog_item:get_content in /home/corkcityfc/public_html/home/wp-content/plugins/goodlayers-core/include/pb/pb-element-blog.php:885 #7 gdlr_core_pb_element_blog:get_content in /home/corkcityfc/public_html/home/wp-content/themes/bigslam/content/archive-blog.php:41 #6 require in /home/corkcityfc/public_html/home/wp-includes/template.php:785 #5 load_template in /home/corkcityfc/public_html/home/wp-includes/template.php:718 #4 locate_template in /home/corkcityfc/public_html/home/wp-includes/general-template.php:204 #3 get_template_part in /home/corkcityfc/public_html/home/wp-content/themes/bigslam/archive.php:35 #2 include in /home/corkcityfc/public_html/home/wp-includes/template-loader.php:106 #1 require_once in /home/corkcityfc/public_html/home/wp-blog-header.php:19 #0 require in /home/corkcityfc/public_html/home/index.php:17
Stack frames (15)
14
Whoops
\
Exception
\
ErrorException
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-style.php
291
13
Whoops
\
Run
handleError
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-style.php
291
12
gdlr_core_blog_style
blog_thumbnail
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-style.php
1093
11
gdlr_core_blog_style
blog_medium
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-style.php
99
10
gdlr_core_blog_style
get_content
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-item.php
246
9
gdlr_core_blog_item
get_blog_grid_content
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-item.php
128
8
gdlr_core_blog_item
get_content
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
pb-element-blog.php
885
7
gdlr_core_pb_element_blog
get_content
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
themes
/
bigslam
/
content
/
archive-blog.php
41
6
require
/
home
/
corkcityfc
/
public_html
/
home
/
wp-includes
/
template.php
785
5
load_template
/
home
/
corkcityfc
/
public_html
/
home
/
wp-includes
/
template.php
718
4
locate_template
/
home
/
corkcityfc
/
public_html
/
home
/
wp-includes
/
general-template.php
204
3
get_template_part
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
themes
/
bigslam
/
archive.php
35
2
include
/
home
/
corkcityfc
/
public_html
/
home
/
wp-includes
/
template-loader.php
106
1
require_once
/
home
/
corkcityfc
/
public_html
/
home
/
wp-blog-header.php
19
0
require
/
home
/
corkcityfc
/
public_html
/
home
/
index.php
17
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-style.php
 
                        if( !empty($post_format_image) ){
                            $thumbnail_wrap_class  = '';
                            if( empty($args['opacity-on-hover']) || $args['opacity-on-hover'] == 'enable' ){
                                $thumbnail_wrap_class .= ' gdlr-core-opacity-on-hover';
                            }
                            if( empty($args['zoom-on-hover']) || $args['zoom-on-hover'] == 'enable' ){
                                $thumbnail_wrap_class .= ' gdlr-core-zoom-on-hover';
                            }else if( $args['zoom-on-hover'] == 'zoom-rotate' ){
                                $thumbnail_wrap_class .= ' gdlr-core-zoom-rotate-on-hover';
                            }
                            if( !empty($args['grayscale-effect']) && $args['grayscale-effect'] == 'enable' ){
                                $thumbnail_wrap_class .= ' gdlr-core-grayscale-effect';
                            }
                            
                            $ret .= '<div class="gdlr-core-blog-thumbnail gdlr-core-media-image ' . esc_attr($thumbnail_wrap_class) . '" ' . gdlr_core_esc_style($thumbnail_atts) . ' >';
                            $ret .= $post_format_image;
                            $ret .= '</div>';
 
                            if( $str_replace ){
                                $pages[0] = str_replace($post_format_image, '', $pages[0]);
                            }else{
                                $pages[0] = substr($pages[0], strlen($match[0]));
                            }
                            
                        }
 
                    }else if( $args['post-format'] == 'gallery' ){
                        if( preg_match('#\[gallery[^\]]+]#', $pages[0], $match) ){ 
                            $pages[0] = substr($pages[0], strlen($match[0]));
                            $ret .= '<div class="gdlr-core-blog-thumbnail gdlr-core-media-gallery" ' . gdlr_core_esc_style($thumbnail_atts) . ' >';
 
                            // convert the gallery to slider
                            if( !empty($args['post-format-gallery']) && $args['post-format-gallery'] == 'slider' ){
                                if( preg_match('#^\[gallery.+ids\s?=\s?\"([^\"]+).+]#', $match[0], $match2) ){
                                    
                                    $gallery_atts = array(
                                        'gallery'=>array(),
                                        'thumbnail-size'=>$args['thumbnail-size'],
                                        'style'=>'slider',
Arguments
  1. "Undefined variable: str_replace"
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-style.php
 
                        if( !empty($post_format_image) ){
                            $thumbnail_wrap_class  = '';
                            if( empty($args['opacity-on-hover']) || $args['opacity-on-hover'] == 'enable' ){
                                $thumbnail_wrap_class .= ' gdlr-core-opacity-on-hover';
                            }
                            if( empty($args['zoom-on-hover']) || $args['zoom-on-hover'] == 'enable' ){
                                $thumbnail_wrap_class .= ' gdlr-core-zoom-on-hover';
                            }else if( $args['zoom-on-hover'] == 'zoom-rotate' ){
                                $thumbnail_wrap_class .= ' gdlr-core-zoom-rotate-on-hover';
                            }
                            if( !empty($args['grayscale-effect']) && $args['grayscale-effect'] == 'enable' ){
                                $thumbnail_wrap_class .= ' gdlr-core-grayscale-effect';
                            }
                            
                            $ret .= '<div class="gdlr-core-blog-thumbnail gdlr-core-media-image ' . esc_attr($thumbnail_wrap_class) . '" ' . gdlr_core_esc_style($thumbnail_atts) . ' >';
                            $ret .= $post_format_image;
                            $ret .= '</div>';
 
                            if( $str_replace ){
                                $pages[0] = str_replace($post_format_image, '', $pages[0]);
                            }else{
                                $pages[0] = substr($pages[0], strlen($match[0]));
                            }
                            
                        }
 
                    }else if( $args['post-format'] == 'gallery' ){
                        if( preg_match('#\[gallery[^\]]+]#', $pages[0], $match) ){ 
                            $pages[0] = substr($pages[0], strlen($match[0]));
                            $ret .= '<div class="gdlr-core-blog-thumbnail gdlr-core-media-gallery" ' . gdlr_core_esc_style($thumbnail_atts) . ' >';
 
                            // convert the gallery to slider
                            if( !empty($args['post-format-gallery']) && $args['post-format-gallery'] == 'slider' ){
                                if( preg_match('#^\[gallery.+ids\s?=\s?\"([^\"]+).+]#', $match[0], $match2) ){
                                    
                                    $gallery_atts = array(
                                        'gallery'=>array(),
                                        'thumbnail-size'=>$args['thumbnail-size'],
                                        'style'=>'slider',
Arguments
  1. 8
    
  2. "Undefined variable: str_replace"
    
  3. "/home/corkcityfc/public_html/home/wp-content/plugins/goodlayers-core/include/pb/blog-style.php"
    
  4. 291
    
  5. array:7 [
      "args" => array:6 [
        "thumbnail-size" => "full"
        "post-format" => "image"
        "post-format-gallery" => "slider"
        "opacity-on-hover" => "enable"
        "zoom-on-hover" => "enable"
        "grayscale-effect" => "disable"
      ]
      "thumbnail_atts" => array:1 [
        "border-radius" => ""
      ]
      "ret" => "<div class="gdlr-core-blog-thumbnail gdlr-core-media-image  gdlr-core-opacity-on-hover gdlr-core-zoom-on-hover"  ><img class="aligncenter wp-image-43956 size-full" src="https://www.corkcityfc.ie/home/wp-content/uploads/2019/05/zacmatch-1.png" alt="" width="1920" height="1080" /></div>"
      "pages" => & array:1 [
        0 => """
          <img class="aligncenter wp-image-43956 size-full" src="https://www.corkcityfc.ie/home/wp-content/uploads/2019/05/zacmatch-1.png" alt="" width="1920" height="1080" />\r\n
          <p style="font-weight: 400;">This Sunday 12<sup>th</sup> May at 12pm, Ringmahon Rangers take on Cork City FC in a fundraising game in aid of Zac Higgins in Ringmahon Park.</p>\r\n
          <p style="font-weight: 400;">Contributions can be made at the gate on the day, with all proceeds going to the Zac Higgins Fund.</p>\r\n
          <p style="font-weight: 400;">For the game itself, the current Cork City and Ringmahon first teams will take each other on while there will be a twist in the second half of the game, with legends from both City and Ringmahon taking to the field.</p>\r\n
          <p style="font-weight: 400;">City will have legends like Colin Healy, Joe Gamble, Neal Horgan, Dan Murray, Billy Woods and many more taking to the field. There will also be bouncy castles, face painters and Red Patrollers there on the day which will be sure to make a great day out for the family for a fantastic cause.</p>
          """
      ]
      "match" => array:1 [
        0 => "<img class="aligncenter wp-image-43956 size-full" src="https://www.corkcityfc.ie/home/wp-content/uploads/2019/05/zacmatch-1.png" alt="" width="1920" height="1080" />"
      ]
      "post_format_image" => "<img class="aligncenter wp-image-43956 size-full" src="https://www.corkcityfc.ie/home/wp-content/uploads/2019/05/zacmatch-1.png" alt="" width="1920" height="1080" />"
      "thumbnail_wrap_class" => " gdlr-core-opacity-on-hover gdlr-core-zoom-on-hover"
    ]
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-style.php
                }
 
                $ret  = '<div class="gdlr-core-item-list gdlr-core-blog-medium clearfix ' . esc_attr($additional_class) . '" ' . gdlr_core_esc_style(array(
                    'margin-bottom' => empty($args['margin-bottom'])? '': $args['margin-bottom']
                )) . ' >';
 
                // left thumbnail
                if( $args['blog-style'] == 'blog-left-thumbnail' ){
                    $ret .= '<div class="gdlr-core-blog-thumbnail-wrap clearfix" >';
                    if( empty($args['show-thumbnail']) || $args['show-thumbnail'] == 'enable' ){
                        $thumbnail_shadow = array();
                        if( !empty($args['frame-shadow-size']['size']) && !empty($args['frame-shadow-color']) && !empty($args['frame-shadow-opacity']) ){
                            $thumbnail_shadow['background-shadow-size'] = $args['frame-shadow-size'];
                            $thumbnail_shadow['background-shadow-color'] = $args['frame-shadow-color'];
                            $thumbnail_shadow['background-shadow-opacity'] = $args['frame-shadow-opacity'];
                        }
                        $thumbnail_shadow['border-radius'] = empty($args['blog-border-radius'])? '': $args['blog-border-radius'];
 
                        $ret .= $this->blog_thumbnail(array(
                            'thumbnail-size' => $args['thumbnail-size'],
                            'post-format' => ($post_format == 'audio')? '': $post_format,
                            'post-format-gallery' => 'slider',
                            'opacity-on-hover' => empty($args['enable-thumbnail-opacity-on-hover'])? 'enable': $args['enable-thumbnail-opacity-on-hover'],
                            'zoom-on-hover' => empty($args['enable-thumbnail-zoom-on-hover'])? 'enable': $args['enable-thumbnail-zoom-on-hover'],
                            'grayscale-effect' => empty($args['enable-thumbnail-grayscale-effect'])? 'disable': $args['enable-thumbnail-grayscale-effect']
                        ), $thumbnail_shadow);
                    }
                    $ret .= $this->blog_date($args);
                    $ret .= '</div>';                    
                }
 
                // content
                $ret .= '<div class="gdlr-core-blog-medium-content-wrapper clearfix">';
                if( $post_format == 'audio' ){
                    $ret .= $this->blog_thumbnail(array(
                        'thumbnail-size' => $args['thumbnail-size'],
                        'post-format' => 'audio',
                        'post-format-gallery' => 'slider',
                        'opacity-on-hover' => empty($args['enable-thumbnail-opacity-on-hover'])? 'enable': $args['enable-thumbnail-opacity-on-hover'],
                        'zoom-on-hover' => empty($args['enable-thumbnail-zoom-on-hover'])? 'enable': $args['enable-thumbnail-zoom-on-hover'],
Arguments
  1. array:6 [
      "thumbnail-size" => "full"
      "post-format" => "image"
      "post-format-gallery" => "slider"
      "opacity-on-hover" => "enable"
      "zoom-on-hover" => "enable"
      "grayscale-effect" => "disable"
    ]
    
  2. array:1 [
      "border-radius" => ""
    ]
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-style.php
                        }
                        break;
                    case 'blog-column-hover-bg':
                        return $this->blog_column_hover_bg( $args );
                        break;
                    case 'blog-image':
                    case 'blog-image-no-space': 
                        return $this->blog_modern( $args ); 
                        break;    
                    case 'blog-feature':
                        return $this->blog_feature( $args ); 
                        break;    
                    case 'blog-metro':
                    case 'blog-metro-no-space': 
                        return $this->blog_metro( $args ); 
                        break;    
                    case 'blog-left-thumbnail': 
                    case 'blog-right-thumbnail':
                        if( empty($args['blog-side-thumbnail-style']) || in_array($args['blog-side-thumbnail-style'], array('style-1', 'style-1-large')) ){
                            return $this->blog_medium( $args ); 
                        }else if( in_array($args['blog-side-thumbnail-style'], array('style-2', 'style-2-large')) ){
                            return $this->blog_medium_style_2( $args ); 
                        }
                        break;
                    case 'blog-widget': 
                        return $this->blog_widget( $args ); 
                    case 'blog-widget-feature': 
                        return $this->blog_widget( $args, true ); 
                        break;
                    case 'blog-list': 
                    case 'blog-list-center': 
                        return $this->blog_list( $args ); 
                        break;
                }
                
            }
            
            // get blog excerpt from $args
            function get_blog_excerpt( $args ){
 
Arguments
  1. array:27 [
      "category" => ""
      "tag" => ""
      "num-fetch" => "9"
      "layout" => "fitrows"
      "prepend-sticky" => "disable"
      "show-thumbnail" => "enable"
      "thumbnail-size" => "full"
      "orderby" => "date"
      "order" => "desc"
      "blog-style" => "blog-left-thumbnail"
      "has-column" => "no"
      "no-space" => "no"
      "excerpt" => "specify-number"
      "excerpt-number" => "20"
      "column-size" => 60
      "item-size" => "small"
      "filterer" => "none"
      "filterer-align" => "center"
      "show-read-more" => "enable"
      "meta-option" => array:2 [
        0 => "date"
        1 => "author"
      ]
      "pagination" => "page"
      "query" => WP_Query {}
      "blog-full-alignment" => "left"
      "blog-date-feature" => "enable"
      "paged" => 1
      "pagination-style" => "round"
      "pagination-align" => "right"
    ]
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-item.php
 
                            if( !empty($blog_info['metro-thumbnail-size']) && $blog_info['metro-thumbnail-size'] != 'default' ){
                                $args['thumbnail-size'] = $blog_info['metro-thumbnail-size'];
                            }
                            
                        }else if( !empty($this->settings['column-size']) ){
                            $additional_class .= empty($this->settings['column-size'])? '': ' gdlr-core-column-' . $this->settings['column-size'];
                        }
 
                        if( $column_sum == 0 || $column_sum + intval($this->settings['column-size']) > 60 ){
                            $column_sum = intval($this->settings['column-size']);
                            $additional_class .= ' gdlr-core-column-first';
                        }else{
                            $column_sum += intval($this->settings['column-size']);
                        }
 
                        $ret .= '<div class="gdlr-core-item-list ' . esc_attr($additional_class) . '" >';
                    }
 
                    $ret .= $blog_style->get_content($args);
 
                    if( $this->settings['has-column'] == 'yes' ){
                        $ret .= '</div>';
                    }
                } // while
 
                return $ret;
            }
            function get_blog_grid_widget( $query ){
 
                $ret = apply_filters('get_blog_grid_widget', '', $query, $this);
                if( !empty($ret) ){ return $ret; }
 
                $first_column = true;
                $blog_widget_column = empty($this->settings['blog-widget-column'])? 60: intval($this->settings['blog-widget-column']);
                $column_item = ceil(count($query->posts) / (60 / $blog_widget_column));
                
                $count = 0;
                $featured = false;
                $blog_style = new gdlr_core_blog_style();
Arguments
  1. array:27 [
      "category" => ""
      "tag" => ""
      "num-fetch" => "9"
      "layout" => "fitrows"
      "prepend-sticky" => "disable"
      "show-thumbnail" => "enable"
      "thumbnail-size" => "full"
      "orderby" => "date"
      "order" => "desc"
      "blog-style" => "blog-left-thumbnail"
      "has-column" => "no"
      "no-space" => "no"
      "excerpt" => "specify-number"
      "excerpt-number" => "20"
      "column-size" => 60
      "item-size" => "small"
      "filterer" => "none"
      "filterer-align" => "center"
      "show-read-more" => "enable"
      "meta-option" => array:2 [
        0 => "date"
        1 => "author"
      ]
      "pagination" => "page"
      "query" => WP_Query {}
      "blog-full-alignment" => "left"
      "blog-date-feature" => "enable"
      "paged" => 1
      "pagination-style" => "round"
      "pagination-align" => "right"
    ]
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
blog-item.php
                    gdlr_core_reset_admin_postdata();
                    
                // fitrows style
                }else{
 
                    // filterer
                    if( $this->settings['filterer'] != 'none' ){
                        $extra_class  = ($this->settings['no-space'] == 'yes')? '': ' gdlr-core-item-pdlr';
                        $extra_class .= empty($this->settings['filterer'])? '': ' gdlr-core-style-' . $this->settings['filterer'];
                        $extra_class .= empty($this->settings['filterer-align'])? '': ' gdlr-core-' . $this->settings['filterer-align'] . '-align';
                        $extra_class .= apply_filters('gdlr_core_blog_filterer_class', '', $this->settings);
 
                        $ret .= gdlr_core_get_ajax_filterer('post', 'category', $this->settings, 'gdlr-core-blog-item-holder', $extra_class);
                    }
                    
                    gdlr_core_setup_admin_postdata();
 
                    $ret .= '<div class="gdlr-core-blog-item-holder gdlr-core-js-2 clearfix" data-layout="' . $this->settings['layout'] . '" >';
                    if( $query->have_posts() ){
                        $ret .= $this->get_blog_grid_content($query);
                    }
                    $ret .= '</div>';
 
                    wp_reset_postdata();
                    gdlr_core_reset_admin_postdata();
 
                    // pagination
                    if( $this->settings['pagination'] != 'none' ){
                        $extra_class = ($this->settings['no-space'] == 'yes')? '': 'gdlr-core-item-pdlr';
 
                        if( $this->settings['pagination'] == 'page' ){
                            if( !empty($this->settings['filterer']) && $this->settings['filterer'] != 'none' ){
                                $ret .= gdlr_core_get_ajax_pagination('post', $this->settings, $query->max_num_pages, 'gdlr-core-blog-item-holder', $extra_class);
                            }else{
                                $ret .= gdlr_core_get_pagination($query->max_num_pages, $this->settings, $extra_class);
                            }
                        }else if( $this->settings['pagination'] == 'load-more' ){
                            // mediaelement for blog ajax
                            wp_enqueue_style('wp-mediaelement');
                            wp_enqueue_script('wp-mediaelement');
Arguments
  1. WP_Query {}
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
plugins
/
goodlayers-core
/
include
/
pb
/
pb-element-blog.php
                    }
                }
                $extra_class .= empty($settings['class'])? '': ' ' . $settings['class'];
 
                $ret  = '<div class="gdlr-core-blog-item gdlr-core-item-pdb clearfix ' . esc_attr($extra_class) . '" ';
                if( !empty($settings['padding-bottom']) && $settings['padding-bottom'] != $gdlr_core_item_pdb ){
                    $ret .= gdlr_core_esc_style(array('padding-bottom'=>$settings['padding-bottom']));
                }
                if( !empty($settings['id']) ){
                    $ret .= ' id="' . esc_attr($settings['id']) . '" ';
                }
                $ret .= ' >';
 
                // print title
                $ret .= gdlr_core_block_item_title($title_settings);
                
                // pring blog item
                $blog_item = new gdlr_core_blog_item($settings);
 
                $ret .= $blog_item->get_content();
                
                $ret .= '</div>'; // gdlr-core-blog-item
                $ret .= $custom_style;
                
                return $ret;
            }            
            
        } // gdlr_core_pb_element_blog
    } // class_exists    
 
    add_shortcode('gdlr_core_blog', 'gdlr_core_blog_shortcode');
    if( !function_exists('gdlr_core_blog_shortcode') ){
        function gdlr_core_blog_shortcode($atts){
            $atts = wp_parse_args($atts, array(
                
            ));
 
            $ret  = '<div class="gdlr-core-blog-shortcode clearfix gdlr-core-item-rvpdlr" >';
            $ret .= gdlr_core_pb_element_blog::get_content($atts);
            $ret .= '</div>';
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
themes
/
bigslam
/
content
/
archive-blog.php
        'pagination' => 'page',
        'pagination-style' => bigslam_get_option('general', 'pagination-style', 'round'),
        'pagination-align' => bigslam_get_option('general', 'pagination-align', 'right'),
 
    );
 
    echo '<div class="bigslam-content-area" >';
    if( is_category() ){
        $tax_description = category_description();
        if( !empty($tax_description) ){
            echo '<div class="bigslam-archive-taxonomy-description bigslam-item-pdlr" >' . $tax_description . '</div>';
        }
    }else if( is_tag() ){
        $tax_description = term_description(NULL, 'post_tag');
        if( !empty($tax_description) ){
            echo '<div class="bigslam-archive-taxonomy-description bigslam-item-pdlr" >' . $tax_description . '</div>';
        }
    }
 
    echo gdlr_core_pb_element_blog::get_content($settings);
    echo '</div>'; // bigslam-content-area
Arguments
  1. array:18 [
      "query" => WP_Query {}
      "blog-style" => "blog-left-thumbnail"
      "blog-full-alignment" => "left"
      "thumbnail-size" => "full"
      "show-thumbnail" => "enable"
      "column-size" => 60
      "excerpt" => "specify-number"
      "excerpt-number" => "20"
      "blog-date-feature" => "enable"
      "meta-option" => array:2 [
        0 => "date"
        1 => "author"
      ]
      "show-read-more" => "enable"
      "paged" => 1
      "pagination" => "page"
      "pagination-style" => "round"
      "pagination-align" => "right"
      "no-space" => "no"
      "layout" => "fitrows"
      "has-column" => "no"
    ]
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-includes
/
template.php
 
    if ( isset( $s ) ) {
        $s = esc_attr( $s );
    }
 
    /**
     * Fires before a template file is loaded.
     *
     * @since 6.1.0
     *
     * @param string $_template_file The full path to the template file.
     * @param bool   $require_once   Whether to require_once or require.
     * @param array  $args           Additional arguments passed to the template.
     */
    do_action( 'wp_before_load_template', $_template_file, $require_once, $args );
 
    if ( $require_once ) {
        require_once $_template_file;
    } else {
        require $_template_file;
    }
 
    /**
     * Fires after a template file is loaded.
     *
     * @since 6.1.0
     *
     * @param string $_template_file The full path to the template file.
     * @param bool   $require_once   Whether to require_once or require.
     * @param array  $args           Additional arguments passed to the template.
     */
    do_action( 'wp_after_load_template', $_template_file, $require_once, $args );
}
 
Arguments
  1. "/home/corkcityfc/public_html/home/wp-content/themes/bigslam/content/archive-blog.php"
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-includes
/
template.php
function locate_template( $template_names, $load = false, $require_once = true, $args = array() ) {
    $located = '';
    foreach ( (array) $template_names as $template_name ) {
        if ( ! $template_name ) {
            continue;
        }
        if ( file_exists( STYLESHEETPATH . '/' . $template_name ) ) {
            $located = STYLESHEETPATH . '/' . $template_name;
            break;
        } elseif ( file_exists( TEMPLATEPATH . '/' . $template_name ) ) {
            $located = TEMPLATEPATH . '/' . $template_name;
            break;
        } elseif ( file_exists( ABSPATH . WPINC . '/theme-compat/' . $template_name ) ) {
            $located = ABSPATH . WPINC . '/theme-compat/' . $template_name;
            break;
        }
    }
 
    if ( $load && '' !== $located ) {
        load_template( $located, $require_once, $args );
    }
 
    return $located;
}
 
/**
 * Requires the template file with WordPress environment.
 *
 * The globals are set up for the template file to ensure that the WordPress
 * environment is available from within the function. The query variables are
 * also available.
 *
 * @since 1.5.0
 * @since 5.5.0 The `$args` parameter was added.
 *
 * @global array      $posts
 * @global WP_Post    $post          Global post object.
 * @global bool       $wp_did_header
 * @global WP_Query   $wp_query      WordPress Query object.
 * @global WP_Rewrite $wp_rewrite    WordPress rewrite component.
Arguments
  1. "/home/corkcityfc/public_html/home/wp-content/themes/bigslam/content/archive-blog.php"
    
  2. false
    
  3. []
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-includes
/
general-template.php
    if ( '' !== $name ) {
        $templates[] = "{$slug}-{$name}.php";
    }
 
    $templates[] = "{$slug}.php";
 
    /**
     * Fires before an attempt is made to locate and load a template part.
     *
     * @since 5.2.0
     * @since 5.5.0 The `$args` parameter was added.
     *
     * @param string   $slug      The slug name for the generic template.
     * @param string   $name      The name of the specialized template.
     * @param string[] $templates Array of template files to search for, in order.
     * @param array    $args      Additional arguments passed to the template.
     */
    do_action( 'get_template_part', $slug, $name, $templates, $args );
 
    if ( ! locate_template( $templates, true, false, $args ) ) {
        return false;
    }
}
 
/**
 * Displays search form.
 *
 * Will first attempt to locate the searchform.php file in either the child or
 * the parent, then load it. If it doesn't exist, then the default search form
 * will be displayed. The default search form is HTML, which will be displayed.
 * There is a filter applied to the search form HTML in order to edit or replace
 * it. The filter is {@see 'get_search_form'}.
 *
 * This function is primarily used by themes which want to hardcode the search
 * form into the sidebar and also by the search widget in WordPress.
 *
 * There is also an action that is called whenever the function is run called,
 * {@see 'pre_get_search_form'}. This can be useful for outputting JavaScript that the
 * search relies on or various formatting that applies to the beginning of the
 * search. To give a few examples of what it can be used for.
Arguments
  1. array:2 [
      0 => "content/archive-blog.php"
      1 => "content/archive.php"
    ]
    
  2. true
    
  3. false
    
  4. []
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-content
/
themes
/
bigslam
/
archive.php
        $post_type = 'post';
 
        $sidebar_type = bigslam_get_option('general', 'archive-blog-sidebar', 'none');
        $sidebar_left = bigslam_get_option('general', 'archive-blog-sidebar-left');
        $sidebar_right = bigslam_get_option('general', 'archive-blog-sidebar-right');
    }
 
    echo '<div class="bigslam-content-container bigslam-container">';
    echo '<div class="' . bigslam_get_sidebar_wrap_class($sidebar_type) . '" >';
 
    // sidebar content
    echo '<div class="' . bigslam_get_sidebar_class(array('sidebar-type'=>$sidebar_type, 'section'=>'center')) . '" >';
    
    if( $post_type == 'portfolio' && class_exists('gdlr_core_pb_element_portfolio') ){
 
        get_template_part('content/archive', 'portfolio');
 
    }else if( class_exists('gdlr_core_pb_element_blog') ){
 
        get_template_part('content/archive', 'blog');
        
    }else{
 
        get_template_part('content/archive', 'default');
        
    }
 
    echo '</div>'; // bigslam-get-sidebar-class
 
    // sidebar left
    if( $sidebar_type == 'left' || $sidebar_type == 'both' ){
        echo bigslam_get_sidebar($sidebar_type, 'left', $sidebar_left);
    }
 
    // sidebar right
    if( $sidebar_type == 'right' || $sidebar_type == 'both' ){
        echo bigslam_get_sidebar($sidebar_type, 'right', $sidebar_right);
    }
 
    echo '</div>'; // bigslam-get-sidebar-wrap-class
Arguments
  1. "content/archive"
    
  2. "blog"
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-includes
/
template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/home/corkcityfc/public_html/home/wp-content/themes/bigslam/archive.php"
    
/
home
/
corkcityfc
/
public_html
/
home
/
wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/home/corkcityfc/public_html/home/wp-includes/template-loader.php"
    
/
home
/
corkcityfc
/
public_html
/
home
/
index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/home/corkcityfc/public_html/home/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/home/2019/05/07/"
CONTEXT_DOCUMENT_ROOT
"/home/corkcityfc/public_html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/corkcityfc/public_html"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_AUTHORIZATION
""
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_CONNECTING_IP
"44.201.94.236"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_RAY
"7ae01992eecc9c61-IAD"
HTTP_CF_VISITOR
"{\"scheme\":\"https\"}"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"www.corkcityfc.ie"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_X_FORWARDED_FOR
"44.201.94.236"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_HTTPS
"1"
PATH
"/bin:/usr/bin"
PHP_INI_SCAN_DIR
"/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:."
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_SCRIPT_URI
"https://www.corkcityfc.ie/home/2019/05/07/"
REDIRECT_SCRIPT_URL
"/home/2019/05/07/"
REDIRECT_SSL_TLS_SNI
"www.corkcityfc.ie"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"ZCBXWjAultCTqyi0QIzJXgAAAEE"
REDIRECT_URL
"/home/2019/05/07/"
REMOTE_ADDR
"172.70.135.117"
REMOTE_PORT
"45126"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
SCRIPT_FILENAME
"/home/corkcityfc/public_html/home/index.php"
SCRIPT_NAME
"/home/index.php"
SCRIPT_URI
"https://www.corkcityfc.ie/home/2019/05/07/"
SCRIPT_URL
"/home/2019/05/07/"
SERVER_ADDR
"46.22.129.78"
SERVER_ADMIN
"[email protected]"
SERVER_NAME
"www.corkcityfc.ie"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SSL_TLS_SNI
"www.corkcityfc.ie"
TZ
"Etc/UTC"
UNIQUE_ID
"ZCBXWjAultCTqyi0QIzJXgAAAEE"
PHP_SELF
"/home/index.php"
REQUEST_TIME_FLOAT
1679841114.6497
REQUEST_TIME
1679841114
argv
[]
argc
0
empty
0. Whoops\Handler\PrettyPageHandler