9
10<div class="breaking-britain__bars-container" style="position: absolute; width: 100%; height: 100vh; overflow: hidden; z-index: 10; pointer-events: none; ">
11 <div class="breaking-britain__bar-1">
12 <?php echo url_get_contents(get_bloginfo('stylesheet_directory') . '/dist/img/specials/focus-breakingbritain-line-1.svg'); ?> 13 </div>
14 <div class="breaking-britain__bar-2">
15 <?php echo url_get_contents(get_bloginfo('stylesheet_directory') . '/dist/img/specials/focus-breakingbritain-line-2.svg'); ?>
203 <div class="flex-grid-item flex-item-s-12 flex-item-m-6 flex-item-xxl-4">
204 <?php
205 if (!empty($credits)) {
206 echo apply_filters('the_content', $credits);207 }
208 ?>
209 </div>
191 );
192 }
193
194 get_template_part('partials/post-layouts/flex-post', null, $post_arguments);195
196 $i++;
197 }
152 <div class="flex-grid-item flex-item-s-12 flex-item-xxl-4 margin-bottom-basic mobile-margin-top-mid mobile-margin-bottom-mid font-color-blue-neon">
153 <?php
154 if(isset($quotes[1])) {
155 get_template_part('partials/components/quote', null, $quotes[1]);156 }
157 ?>
158 </div>
142 <div class="flex-grid-item flex-item-s-12 flex-item-xxl-4 margin-bottom-basic mobile-margin-top-mid mobile-margin-bottom-mid font-color-blue-neon">
143 <?php
144 if(isset($quotes[0])) {
145 get_template_part('partials/components/quote', null, $quotes[0]);146 }
147 ?>
148 </div>
A function has been called, but not defined. This will result in a run time fatal error.
This issue can be raised for any of the following cases:
class User
{
public function getName()
{
$lower = make_string_lowercase('JOHN DOE'); // function doesn't exist
return $lower;
}
}
class Utility
{
public function sanitizeText()
{
$text = htmlSpecialChars("<a href='/about'>About</a>"); // incorrect function case
return $text;
}
}
function make_string_lowercase($str)
{
return strtolower($str);
}
class User
{
public function getName()
{
$lower = make_string_lowercase('JOHN DOE');
return $lower;
}
}
class Utility
{
public function sanitizeText()
{
$text = htmlspecialchars("<a href='/about'>About</a>");
return $text;
}
}