/home/dsipbl/public_html/dev.dsi-pbl.com/content/themes/dsi/includes/partials/newssingle/news-facts.php
<div class="newsdetail-facts bg-grey-middle u-pb">
<?php if ($headline) : ?>
<div class="newsdetail-facts-header">
<?php
loadpartial('html-cols', ['html_left' => $headlineHtml, 'flavor' => ['secondhiddenonmobile']]);
?>
</div>
<?php endif; ?>
<div class="newsdetail-facts-boxes bg-white">
<?php foreach ($facts as $fact) : ?>
<?php
$hiddenmobile = (isset($fact['hiddenmobile']) && $fact['hiddenmobile']);
?>
<div class="newsdetail-facts-fact <?= $hiddenmobile ? 'u-hidden u-block@sm' : '' ?>">
<span class="f-h2"><?= $fact['text']; ?></span>
</div>
<?php endforeach; ?>
</div>
</div>
Arguments
"Undefined array key "text""
/home/dsipbl/public_html/dev.dsi-pbl.com/content/themes/dsi/includes/partials/newssingle/news-facts.php
<div class="newsdetail-facts bg-grey-middle u-pb">
<?php if ($headline) : ?>
<div class="newsdetail-facts-header">
<?php
loadpartial('html-cols', ['html_left' => $headlineHtml, 'flavor' => ['secondhiddenonmobile']]);
?>
</div>
<?php endif; ?>
<div class="newsdetail-facts-boxes bg-white">
<?php foreach ($facts as $fact) : ?>
<?php
$hiddenmobile = (isset($fact['hiddenmobile']) && $fact['hiddenmobile']);
?>
<div class="newsdetail-facts-fact <?= $hiddenmobile ? 'u-hidden u-block@sm' : '' ?>">
<span class="f-h2"><?= $fact['text']; ?></span>
</div>
<?php endforeach; ?>
</div>
</div>
Arguments
2
"Undefined array key "text""
"/home/dsipbl/public_html/dev.dsi-pbl.com/content/themes/dsi/includes/partials/newssingle/news-facts.php"
35
/home/dsipbl/public_html/dev.dsi-pbl.com/content/themes/dsi/class/src/Tools/Helper.php
<?php
namespace Probots\Tools;
class Helper
{
public static function includePartial($file, $data = [])
{
extract($data);
include(sprintf('%s/includes/partials/%s.php', get_template_directory(), $file));
}
public static function loadPartial($file, $data = [])
{
ob_start();
extract($data);
include(sprintf('%s/includes/partials/%s.php', get_template_directory(), $file));
return ob_get_clean();
}
public static function includeBlock($file, $data = [])
{
extract($data);
include(sprintf('%s/includes/blocks/%s.php', get_template_directory(), $file));
}
public static function includeAsset($name = '')
{
include(sprintf('%s/assets/%s', get_template_directory(), $name));
}
public static function getAssetUrl($name = '')
{
return sprintf('%s/assets/%s', get_template_directory_uri(), $name);
}
public static function getTplPath($file = '')
{
return sprintf('%s/%s', get_template_directory(), $file);
}
Arguments
"/home/dsipbl/public_html/dev.dsi-pbl.com/content/themes/dsi/includes/partials/newssingle/news-facts.php"
/home/dsipbl/public_html/dev.dsi-pbl.com/content/themes/dsi/class/functions/helpers.php
<?php
if (!function_exists('loadPartial')) {
function loadPartial($name, $data = [])
{
\Probots\Tools\Helper::includePartial($name, $data);
}
}
if (!function_exists('assetUrl')) {
function assetUrl($name)
{
return \Probots\Tools\Helper::getAssetUrl($name);
}
}
if (!function_exists('loadSvg')) {
function loadSvg($name)
{
include(get_template_directory() . '/assets/' . $name . '.svg');
}
}
if (!function_exists('clearPhoneNumber')) {
function clearPhoneNumber($number)
{
$plus = preg_match('/^(\+)/', $number)?"+":"";
$number = preg_replace('/[^0-9]/', '', $number);
return $plus.$number;
}
}
if (!function_exists('isDaylight')) {
function isDaylight()
{
$time = date("H");
return !($time >= 18 || $time <= 6);
}
}
Arguments
"newssingle/news-facts"
[]
/home/dsipbl/public_html/dev.dsi-pbl.com/content/themes/dsi/single-post.php
<?php
$logoType = 'red_pbl';
get_header();
?>
<?php loadpartial('newssingle/news-head', []); ?>
<?php loadpartial('newssingle/news-gallery', []); ?>
<?php loadpartial('newssingle/news-facts', []); ?>
<?php
get_footer();
?>
Arguments
"newssingle/news-facts"
[]
/home/dsipbl/public_html/dev.dsi-pbl.com/wp/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
"/home/dsipbl/public_html/dev.dsi-pbl.com/content/themes/dsi/single-post.php"
/home/dsipbl/public_html/dev.dsi-pbl.com/wp/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
"/home/dsipbl/public_html/dev.dsi-pbl.com/wp/wp-includes/template-loader.php"
/home/dsipbl/public_html/dev.dsi-pbl.com/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/wp-blog-header.php' );
Arguments
"/home/dsipbl/public_html/dev.dsi-pbl.com/wp/wp-blog-header.php"