Just downloaded/installed with my 1.5.4 version store. The Abandoned Cart Report displays correctly, however, when I attempt to send an email nothing happens. And, I found this in the error logs
Where does this function live? Did it get moved or renamed maybe?[25-Aug-2019 21:20:06 UTC] PHP Fatal error: Call to undefined function zen_get_info_page() in /home/www/myStore/includes/classes/usu.php on line 324
Here is the code referenced in the error message....
This seems like a good tool to attempt to close the sale with an abandoned cart, but not if it can't generate and send emails.PHP Code:// Add the cPath to the start of the parameters if present
if(is_string($cPath)) array_unshift($p, 'cPath=' . $cPath);
$this->log('Parsing Parameters for ' . $page);
$this->log(var_export($p, true));
$container = array();
foreach ($p as $index => $valuepair){
$p2 = @explode('=', $valuepair);
switch ($p2[0]){
case 'products_id':
// Make sure if uprid is passed it is converted to the correct pid
$p2[1] = zen_get_prid($p2[1]);
switch(true) {
// Handle product urls (check page against handler)
case ($page == zen_get_info_page($p2[1])): //LINE 324
// If a cPath was present we need to determine the immediate parent cid
$cID = null;
if(array_key_exists('cPath', $container)) {
$cID = strrpos($container['cPath'], '_');
if($cID !== false)
{
$cID = substr($container['cPath'], $cID+1);
}
else {
$cID = $container['cPath'];
}
if(USU_CATEGORY_DIR != 'off' || USU_CPATH != 'auto') {
unset($container['cPath']);
}
}
$url = $this->make_url($page, $this->get_product_name($p2[1], $cID), $p2[0], $p2[1], USU_END, $separator);
break;
Thanks for any help you can offer.
FYI - I get the same result when installing on a 1.5.5 version store as well.


Reply With Quote
