Hi everybody!

I recently installed zen-cart ver 1.39b and I'm developing my website on my localhost before going "live."

My DEBUG log reveals the following error:

"PHP Warning: explode() expects parameter 2 to be string, array given in C:\xampp\htdocs\catalog\includes\functions\functions_general.php on line 566


The section of code referred to in the error log is as follows:


// Return a product ID from a product ID with attributes
function zen_get_prid($uprid) {
$pieces = explode(':', $uprid);

return $pieces[0];
}


Line 566 is the line that reads:
$pieces = explode(':', $uprid);

According to the log, this error is reoccurring.

I haven't touched the functions_general.php file and have no idea why I'm getting this error or how to fix it.

Any assistance would be very much appreciated.

Thank you.