lat9 / keep_cart

Keeps a Zen Cart "cart" in a browser cookie.
GNU General Public License v2.0
1 stars 1 forks source link

PHP Fatal error: Uncaught Error: Call to protected method shoppingCart::generate_cart_id() from ...class.savecart.php on line 142 #3

Closed torvista closed 2 years ago

torvista commented 2 years ago

I was testing this by deleting the zenid when not logged in. On the subsequent page load, this debug was generated. I'm not sure if it is irrelevant or indicating that the zenid is being created after this plugin code / there is some other issue.

lat9 commented 2 years ago

Nope, it's indicating that zc158 somehow decided that the function is now protected. I'll open a zc158 issue on GitHub ... although I'm now wondering how many other previously-public functions have also been pulled into protected status.

lat9 commented 2 years ago

Thanks for the report @torvista; I've submitted a zc158 PR to put Humpty Dumpty back together again.

torvista commented 2 years ago

Fixed by;https://github.com/zencart/zencart/pull/4682