Hey,
I am having trouble with the POS side of things.
When I click on the item to add it to the sale, if gives me a brief loading icon, but does not add anything to the sale.
Please advise what I need to check.
- MSAnswered
Hello,
Please check your server’s php log and let me know the error details so that I can suggest.
If you are not sure about server error logs, you can enable app logs by changing the
log_threshold
to 1 inapp/config/config.php
and then try to add the item again to pos. Lastly check the latest log file in theapp/logs/
folder.Thank you
- EAnswered
ERROR - 2022-01-31 15:44:21 --> Severity: Warning --> sizeof(): Parameter must be an array or an object that implements Countable /homepages/41/d553935649/htdocs/event_tills/themes/default/views/dashboard.php 138
- EAnswered
I also get this error when adding a product from the console jQuery-2.1.4.min.js:4 GET https://MYDOMAIN/pos/get_product/child?_=1643647162523 500
- MSAnswered
Hello,
Warning won’t cause such error. Please check your server admin logs again and if there are any other error?
Thank you
- EAnswered
And what about the error in the console?
- MSAnswered
Hello,
Yes, that would be the reason, but it should be logged in too. That’s why I ask if there are other errors.
500 errors are server errors and might be caused due to several reasons including server version, config or bad code. The error details would have useful info to find the real cause. So please check your server’s php error logs and let me know the error details so that I can suggest.
Thank you
- Login to Reply