Open bobbingwide opened 1 year ago
This message appears many times in the debug.log
[23-Jul-2023 19:59:37 UTC] PHP Warning: Undefined variable $base in C:\apache\htdocs\wordpress\wp-content\themes\vgc\template-parts\shop\addons\removal-addon.php on line 40
The code's been like this for ages.
<img style='width:100%; height: auto;padding: 2rem 10px' src="<?php echo $row["image"]["url"]; ?>" alt="<?php echo $base["title"]; ?>" />
The variable should be $row['title'].
$row['title']
This message appears many times in the debug.log
[23-Jul-2023 19:59:37 UTC] PHP Warning: Undefined variable $base in C:\apache\htdocs\wordpress\wp-content\themes\vgc\template-parts\shop\addons\removal-addon.php on line 40
The code's been like this for ages.
The variable should be
$row['title']
.