Undefined variable "out"
-
In button/add_button.php the variable “out” is not defined.
At line 91, out is concatenated:
$out .= '<div class="infographic'.$settings[0].'" data-embed="'.$settings[1].'" data-code="'.$settings[2].'"> <img src="'.$infographic->thumbnail_url.'"> <h4>'.$infographic->title.'</h4> <div class="infogr-hover"><span class="infogr-h-add">Embed</span></div> </div>';
But was never previously defined. I patched locally, just needs
$out = '';
defined before the for loop starts on line 77
- The topic ‘Undefined variable "out"’ is closed to new replies.