Recently viewed products

Error on Shopping cart page - Recently viewed products

Error on Shopping cart page

by zeeshop » Thu Jan 06, 2022 2:24 pm

Hi,
@raiwa
Thanks for the update,

When installing this "Continue shopping & Recently menu" module on shopping cart page, getting following error:

Code: Select all

Notice: Undefined variable: ids_in_cart_array in /homepages/31/d854685020/htdocs/*************/includes/modules/content/shopping_cart/cm_sc_continue_recently_viewed.php on line 48

Warning: implode(): Invalid arguments passed in /homepages/31/d854685020/htdocs/*************/includes/modules/content/shopping_cart/cm_sc_continue_recently_viewed.php on line 48

Notice: Undefined variable: ids_in_cart_array in /homepages/31/d854685020/htdocs/*************/includes/modules/content/shopping_cart/cm_sc_continue_recently_viewed.php on line 48

Warning: implode(): Invalid arguments passed in /homepages/31/d854685020/htdocs/*************/includes/modules/content/shopping_cart/cm_sc_continue_recently_viewed.php on line 48

Fatal error: Uncaught TypeError: Argument 1 passed to Text::input() must be of the type string, null given, called in /homepages/31/d854685020/htdocs/*************/includes/modules/content/shopping_cart/cm_sc_continue_recently_viewed.php on line 78 and defined in /homepages/31/d854685020/htdocs/*************/includes/system/versioned/1.0.8.2/text.php:34 Stack trace: #0 /homepages/31/d854685020/htdocs/*************/includes/modules/content/shopping_cart/cm_sc_continue_recently_viewed.php(78): Text::input(NULL) #1 /homepages/31/d854685020/htdocs/*************/includes/system/versioned/1.0.7.9/osc_template.php(106): cm_sc_continue_recently_viewed->execute() #2 /homepages/31/d854685020/htdocs/*************/templates/default/includes/pages/shopping_cart.php(13): oscTemplate->getContent('shopping_cart') #3 /homepages/31/d854685020/htdocs/*************/shopping_cart.php(17): require('/homepages/31/d...') #4 {main} thrown in /homepages/31/d854685020/htdocs/*************/includes/system/versioned/1.0.8.2/text.php on line 34
Any suggestion to resolve this issue pls.

Thanks.
zeeshop
Posts: 78
Joined: Sun Jan 10, 2021 11:30 pm
Contact:

Re: Error on Shopping cart page

by raiwa » Thu Jan 06, 2022 4:07 pm

Your Phoenix version please?
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: Error on Shopping cart page

by raiwa » Thu Jan 06, 2022 4:36 pm

Uploaded Version 5.3.1 with the fix. Thank you for the report.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
PhoenixCart Developer
PhoenixCart Developer
Posts: 1184
Joined: Sat Dec 21, 2019 8:08 am
Contact:

Re: Error on Shopping cart page

by zeeshop » Thu Jan 06, 2022 6:21 pm

All Good now,
Thanks very much
zeeshop
Posts: 78
Joined: Sun Jan 10, 2021 11:30 pm
Contact: