<?php
$post_id = get_the_id();
// echo print_r(get_vehicle_gallery_images());
$image_urls = get_post_meta($post_id, 'pictures', true);
if (is_string($image_urls)) {
$images = explode(',', $image_urls);
} elseif (is_array($image_urls)) {
$images = $image_urls;
} else {
$images = [];
}
if (!empty($images)): ?>
<div class="vehicle-gallery">
<?php foreach ($images as $index => $img_url): ?>
<a href="<?php echo esc_url(trim($img_url)); ?>" class="glightbox" data-gallery="vehicle-gallery">
<?php if ($index === 0): ?>
<img src="<?php echo esc_url(trim($img_url)); ?>" alt="Vehicle Image" class="gallery-main-image" />
<?php else: ?>
<img src="<?php echo esc_url(trim($img_url)); ?>" alt="Gallery Thumb" class="gallery-thumb" />
<?php endif; ?>
</a>
<?php endforeach; ?>
</div>
<?php endif; ?>
document.addEventListener('DOMContentLoaded', function () {
new Swiper('.vehicle-gallery', {
slidesPerView: 5,
spaceBetween: 10,
loop: true,
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
breakpoints: {
768: {
slidesPerView: 3,
},
480: {
slidesPerView: 2,
}
}
});
});
VOLKSWAGEN POLO (2024)
VOLKSWAGEN VIVO HATCH MY25 1.6 LIFE
R 288 999
Range:
POLO
Year:
2024
Mileage:
15 121km
Colour:
Pure White
Transmission:
AUTOMATIC
Fuel:
UNLEADED
Vehicle ID:
28464853
Available from Barons N1 City
<?php
$post_id = get_the_id();
$custom_fields = get_post_meta($post_id);
echo $custom_fields['mmcode'][0] . '<br />';
echo print_r($custom_fields);
if (empty($custom_fields)) {
error_log("No custom fields found for post ID: $post_id");
return;
}
error_log("Custom fields for post ID $post_id:");
foreach ($custom_fields as $key => $value) {
// $value is always an array
if (is_array($value)) {
foreach ($value as $val) {
error_log("$key => $val");
}
} else {
error_log("$key => $value");
}
}
?>Call Now
Available from Barons N1 City
Cnr Giel Basson and, Nathan Mallach St, N1 City, Cape Town, 7500, South Africa
Similar Listings
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_10.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_11.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_12.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_13.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_14.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_15.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_16.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_17.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_18.jpg
VOLKSWAGEN
POLO
(2017)
VOLKSWAGEN 1.2 TSI TRENDLINE
Array
(
[vehicleid] => Array
(
[0] => 28461976
)
[dumpdate] => Array
(
[0] => 2025-10-25T09:50:55.337
)
[mmcode] => Array
(
[0] => 64027660
)
[molstockbooknumber] => Array
(
[0] => MOL01433_U0071469
)
[stockbooknumber] => Array
(
[0] => U0071469
)
[vinnumber] => Array
(
[0] => AAVZZZ6RZHU037446
)
[regnumber] => Array
(
[0] => CY55471
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => POLO
)
[vehiclemodel] => Array
(
[0] => 1.2 TSI TRENDLINE
)
[vehicleyear] => Array
(
[0] => 2017
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => Blue Silk
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 86056
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => The standard features include: Central locking system without SAFELOCK, radio remote control and 2 remote control folding keys, Dust and pollen filter, Hill hold control, Illuminated vanity mirrors in sun visors, Power windows front, and mechanical window regulators rear.
)
[price] => Array
(
[0] => 179000
)
[dealershipid] => Array
(
[0] => 52
)
[molnumber] => Array
(
[0] => MOL01433
)
[dealershipname] => Array
(
[0] => Barons N1 City
)
[pictures] => Array
(
[0] => a:18:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_10.jpg";i:10;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_11.jpg";i:11;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_12.jpg";i:12;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_13.jpg";i:13;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_14.jpg";i:14;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_15.jpg";i:15;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_16.jpg";i:16;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_17.jpg";i:17;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071469_18.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => AAVZZZ6RZHU037446
)
)
1
AAVZZZ6RZHU037446
AAVZZZ6RZHU037446
Colour: Blue Silk
MOL01433
28461976
28461976
Enquire
<?php
$post_id = get_the_id();
$custom_fields = get_post_meta($post_id);
echo $custom_fields['mmcode'][0] . '<br />';
echo print_r($custom_fields);
if (empty($custom_fields)) {
error_log("No custom fields found for post ID: $post_id");
return;
}
error_log("Custom fields for post ID $post_id:");
foreach ($custom_fields as $key => $value) {
// $value is always an array
if (is_array($value)) {
foreach ($value as $val) {
error_log("$key => $val");
}
} else {
error_log("$key => $value");
}
}
?>
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_10.jpg
VOLKSWAGEN
POLO
(2025)
VOLKSWAGEN VIVO HATCH MY25 1.4
Array
(
[vehicleid] => Array
(
[0] => 28461967
)
[dumpdate] => Array
(
[0] => 2025-10-25T09:50:46.43
)
[mmcode] => Array
(
[0] => 64020701
)
[molstockbooknumber] => Array
(
[0] => MOL01433_U0071419
)
[stockbooknumber] => Array
(
[0] => U0071419
)
[vinnumber] => Array
(
[0] => AAVZZZ6R1SU011856
)
[regnumber] => Array
(
[0] => CY472324
)
[uploadtype] => Array
(
[0] => USED
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => POLO
)
[vehiclemodel] => Array
(
[0] => VIVO HATCH MY25 1.4
)
[vehicleyear] => Array
(
[0] => 2025
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => Reef Blue
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 6748
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => Extras include:•9-inch Mirgor radio incl.
• App-connect•Electronic Stability Control•Front fog lamps and cornering lights incl.
DTRL •Tyre Pressure Monitor SystemTrade ins welcome and nationwide delivery at an agreed cost.
To avoid disappointment, kindly speak to one of our Certified Mastercar Sales Executives Rynard Snyman, Eric Adolph, Mildred Frantz, Carmen Ray, Ashley Naicker, or Kirsten Redelinghuys for more info.
Buy your next Volkswagen Mastercar with complete confidence.
)
[price] => Array
(
[0] => 259000
)
[dealershipid] => Array
(
[0] => 52
)
[molnumber] => Array
(
[0] => MOL01433
)
[dealershipname] => Array
(
[0] => Barons N1 City
)
[pictures] => Array
(
[0] => a:10:{i:0;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_1.jpg";i:1;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_2.jpg";i:2;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_3.jpg";i:3;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_4.jpg";i:4;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_5.jpg";i:5;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_6.jpg";i:6;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_7.jpg";i:7;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_8.jpg";i:8;s:90:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_9.jpg";i:9;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_u0071419_10.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => AAVZZZ6R1SU011856
)
)
1
AAVZZZ6R1SU011856
AAVZZZ6R1SU011856
Colour: Reef Blue
MOL01433
28461967
28461967
Enquire
<?php
$post_id = get_the_id();
$custom_fields = get_post_meta($post_id);
echo $custom_fields['mmcode'][0] . '<br />';
echo print_r($custom_fields);
if (empty($custom_fields)) {
error_log("No custom fields found for post ID: $post_id");
return;
}
error_log("Custom fields for post ID $post_id:");
foreach ($custom_fields as $key => $value) {
// $value is always an array
if (is_array($value)) {
foreach ($value as $val) {
error_log("$key => $val");
}
} else {
error_log("$key => $value");
}
}
?>
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_8.jpg
VOLKSWAGEN
POLO
(2025)
VOLKSWAGEN VIVO HATCH MY25 1.4 LIFE
Array
(
[vehicleid] => Array
(
[0] => 28464879
)
[dumpdate] => Array
(
[0] => 2025-10-25T09:50:46.43
)
[mmcode] => Array
(
[0] => 64020721
)
[molstockbooknumber] => Array
(
[0] => MOL01433_UD0050167
)
[stockbooknumber] => Array
(
[0] => UD0050167
)
[vinnumber] => Array
(
[0] => AAVZZZ6R8SU023079
)
[regnumber] => Array
(
[0] => CY53517
)
[uploadtype] => Array
(
[0] => DEMO
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => POLO
)
[vehiclemodel] => Array
(
[0] => VIVO HATCH MY25 1.4 LIFE
)
[vehicleyear] => Array
(
[0] => 2025
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => ASCOT GRAY
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 5000
)
[servicehistory] => Array
(
[0] => Full
)
[comments] => Array
(
[0] => Extras include:
• 15” Ubomi Alloy wheels
• Twin headlamps with integrated high beam
• Daytime Running Lights
Trade ins welcome and nationwide delivery at an agreed cost. To avoid disappointment, kindly speak to one of our Certified Mastercar Sales Executives Rynard Snyman, Eric Adolph, Mildred Frantz, Carmen Ray, Ashley Naicker, or Kirsten Redelinghuys for more info. Buy your next Volkswagen Mastercar with complete confidence.
)
[price] => Array
(
[0] => 269990
)
[dealershipid] => Array
(
[0] => 52
)
[molnumber] => Array
(
[0] => MOL01433
)
[dealershipname] => Array
(
[0] => Barons N1 City
)
[pictures] => Array
(
[0] => a:8:{i:0;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_2.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_3.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_4.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_5.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_6.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_7.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050167_8.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => AAVZZZ6R8SU023079
)
)
1
AAVZZZ6R8SU023079
AAVZZZ6R8SU023079
Colour: ASCOT GRAY
MOL01433
28464879
28464879
Enquire
<?php
$post_id = get_the_id();
$custom_fields = get_post_meta($post_id);
echo $custom_fields['mmcode'][0] . '<br />';
echo print_r($custom_fields);
if (empty($custom_fields)) {
error_log("No custom fields found for post ID: $post_id");
return;
}
error_log("Custom fields for post ID $post_id:");
foreach ($custom_fields as $key => $value) {
// $value is always an array
if (is_array($value)) {
foreach ($value as $val) {
error_log("$key => $val");
}
} else {
error_log("$key => $value");
}
}
?>
https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_1.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_2.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_3.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_4.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_5.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_6.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_7.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_8.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_9.jpg, https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_10.jpg
VOLKSWAGEN
POLO
(2025)
VOLKSWAGEN VIVO HATCH MY25 1.4 LIFE
Array
(
[vehicleid] => Array
(
[0] => 28461953
)
[dumpdate] => Array
(
[0] => 2025-10-25T09:50:46.43
)
[mmcode] => Array
(
[0] => 64020721
)
[molstockbooknumber] => Array
(
[0] => MOL01433_UD0050174
)
[stockbooknumber] => Array
(
[0] => UD0050174
)
[vinnumber] => Array
(
[0] => AAVZZZ6R6SU023808
)
[regnumber] => Array
(
[0] => CY446822
)
[uploadtype] => Array
(
[0] => DEMO
)
[vehiclemake] => Array
(
[0] => VOLKSWAGEN
)
[vehiclerange] => Array
(
[0] => POLO
)
[vehiclemodel] => Array
(
[0] => VIVO HATCH MY25 1.4 LIFE
)
[vehicleyear] => Array
(
[0] => 2025
)
[bodytype] => Array
(
[0] => HATCH
)
[transmissiontype] => Array
(
[0] => MANUAL
)
[fueltype] => Array
(
[0] => UNLEADED
)
[colour] => Array
(
[0] => WILD CHERRY RED METALLIC
)
[numberofdoors] => Array
(
[0] => 5
)
[mileage] => Array
(
[0] => 3500
)
[servicehistory] => Array
(
[0] =>
)
[comments] => Array
(
[0] =>
)
[price] => Array
(
[0] => 269990
)
[dealershipid] => Array
(
[0] => 52
)
[molnumber] => Array
(
[0] => MOL01433
)
[dealershipname] => Array
(
[0] => Barons N1 City
)
[pictures] => Array
(
[0] => a:10:{i:0;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_1.jpg";i:1;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_2.jpg";i:2;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_3.jpg";i:3;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_4.jpg";i:4;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_5.jpg";i:5;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_6.jpg";i:6;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_7.jpg";i:7;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_8.jpg";i:8;s:91:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_9.jpg";i:9;s:92:"https://bmrprodphotosuitestorage.blob.core.windows.net/stockimages/mol01433_ud0050174_10.jpg";}
)
[nmi_vehicle_id] => Array
(
[0] => AAVZZZ6R6SU023808
)
)
1
AAVZZZ6R6SU023808
AAVZZZ6R6SU023808
Colour: WILD CHERRY RED METALLIC
MOL01433
28461953
28461953
Enquire
<?php
$post_id = get_the_id();
$custom_fields = get_post_meta($post_id);
echo $custom_fields['mmcode'][0] . '<br />';
echo print_r($custom_fields);
if (empty($custom_fields)) {
error_log("No custom fields found for post ID: $post_id");
return;
}
error_log("Custom fields for post ID $post_id:");
foreach ($custom_fields as $key => $value) {
// $value is always an array
if (is_array($value)) {
foreach ($value as $val) {
error_log("$key => $val");
}
} else {
error_log("$key => $value");
}
}
?>
