Jump to content

shopmaker

Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by shopmaker

  1. Cubecart version 6.2.4
    PHP version 7.2.31

    I have an issue with my store. I've just discovered that for products with options the stock levels are being ignored and a customer can enter any quantity and purchase them. For products without options the stock level is being respected and an over-quantity order is correctly limited to whatever the stock level is. 

    On the options pages I have checked "Use stock level" next to the relevant options in the matrx, with the stock level entered there too.

    I'm not sure if this is relevant, but I'm also getting the following error recurring in the error_log: 
     

    [20-Jun-2020 15:45:39 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/tvcommco/public_html/store/classes/db/database.class.php on line 692
    [20-Jun-2020 15:45:46 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/tvcommco/public_html/store/classes/db/database.class.php on line 692
    [20-Jun-2020 15:47:08 UTC] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/tvcommco/public_html/store/classes/db/database.class.php on line 692

    Any help gratefully received! 

    Thank you,

    Andy.

    PS. I can edit PHP but I have no clue how it works 😉

×
×
  • Create New...