www.aspb.cat | D:/Apache24/htdocs

AJAX PAUSED www.aspb.cat/arees/drogodependencies/centres-datencio-seguiment-barcelona/ X RETRY

Non-static method iuttu\model\Documento::get_all_years() should not be called statically

128 wp-content/themes/aspb/header.php

                                        'orderby' => 'count',
                                        'hide_empty' => 0
                                        ));
    $terms_documents = get_terms('tipusdocument', array(
                                                    'orderby' => 'count',
                                                    'hide_empty' => 0
                                                ));
    $document_years = \iuttu\model\Documento::get_all_years();
    // MenĂº principal
 
if ( is_array( $wp_query->query_vars ) ) {
    extract( $wp_query->query_vars, EXTR_SKIP );
}
if ( isset( $s ) ) {
    $s = esc_attr( $s );
}
if ( $require_once ) {
    require_once( $_template_file );
} else {
    require( $_template_file );
}
            $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 );
    return $located;
}
    $templates = array();
    $name = (string) $name;
    if ( '' !== $name ) {
        $templates[] = "header-{$name}.php";
    }
    $templates[] = 'header.php';
    locate_template( $templates, true );
}
 * envie una carta a Creative Commons, 171 Second Street, Suite 300,
 * San Francisco, California 94105, USA.
 *
 * @author iuttu
 * @link http://www.iuttu.com
* @copyright (c) 2015 iuttu
 */
?>
<?php get_header() ?>
<?php
 
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_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' );
}
 
 * @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' );
 
128wp-content/themes/aspb/header.php$document_years = \iuttu\model\Documento::get_all_years();
688wp-includes/template.php require_once( "D:\Apache24\htdocs\wp-content\themes\aspb\header.php" )
647wp-includes/template.php load_template( "D:\Apache24\htdocs/wp-content/themes/aspb/header.php", true )
41wp-includes/general-template.php locate_template( [ "header.php" ], true )
17wp-content/themes/aspb/page.php get_header()
74wp-includes/template-loader.php include( "D:\Apache24\htdocs\wp-content\themes\aspb\page.php" )
19wp-blog-header.php require_once( "D:\Apache24\htdocs\wp-includes\template-loader.php" )
17index.php require( "D:\Apache24\htdocs\wp-blog-header.php" )

cookies

_icl_current_language
=>
"ca"

request

User-Agent
=>
"CCBot/2.0 (https://commoncrawl.org/faq/)"
Accept
=>
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
If-Modified-Since
=>
"Sun, 19 Aug 2018 11:15:52 CEST"
Host
=>
"www.aspb.cat"
Connection
=>
"Keep-Alive"
Accept-Encoding
=>
"gzip"

response

X-Powered-By
=>
"PHP/7.0.3"
Vary
=>
"Accept-Encoding, Cookie"
Link
=>
"<http://www.aspb.cat/?p=3876>; rel=shortlink"
Content-Type
=>
"text/html; charset=UTF-8"

server

SERVER_SOFTWARE
=>
"Apache/2.4.18 (Win64) OpenSSL/1.0.2e PHP/7.0.3"
REQUEST_URI
=>
"/arees/drogodependencies/centres-datencio-seguiment-barcelona/"
REDIRECT_STATUS
=>
"200"
HTTP_USER_AGENT
=>
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_ACCEPT
=>
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_IF_MODIFIED_SINCE
=>
"Sun, 19 Aug 2018 11:15:52 CEST"
HTTP_HOST
=>
"www.aspb.cat"
HTTP_CONNECTION
=>
"Keep-Alive"
HTTP_ACCEPT_ENCODING
=>
"gzip"
PATH
=>
"C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\MySQL\\MySQL Utilities\\;C:\\Program Files (x86)\\MySQL\\MySQL Utilities\\Doctrine extensions for PHP\\;D:\\php-7.0.3\\"
SystemRoot
=>
"C:\\Windows"
COMSPEC
=>
"C:\\Windows\\system32\\cmd.exe"
PATHEXT
=>
".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
WINDIR
=>
"C:\\Windows"
SERVER_SIGNATURE
=>
""
SERVER_NAME
=>
"www.aspb.cat"
SERVER_ADDR
=>
"193.146.189.43"
SERVER_PORT
=>
"80"
REMOTE_ADDR
=>
"54.158.208.189"
DOCUMENT_ROOT
=>
"D:/Apache24/htdocs"
REQUEST_SCHEME
=>
"http"
CONTEXT_PREFIX
=>
""
CONTEXT_DOCUMENT_ROOT
=>
"D:/Apache24/htdocs"
SERVER_ADMIN
=>
"shernand@aspb.cat"
SCRIPT_FILENAME
=>
"D:/Apache24/htdocs/index.php"
REMOTE_PORT
=>
"48558"
REDIRECT_URL
=>
"/arees/drogodependencies/centres-datencio-seguiment-barcelona/"
GATEWAY_INTERFACE
=>
"CGI/1.1"
SERVER_PROTOCOL
=>
"HTTP/1.1"
REQUEST_METHOD
=>
"GET"
QUERY_STRING
=>
""
SCRIPT_NAME
=>
"/index.php"
PHP_SELF
=>
"/index.php"
REQUEST_TIME_FLOAT
=>
"1540194102.821"
REQUEST_TIME
=>
"1540194102"