I need your support to solve below issue
DataTables warning: table id=prTables - Ajax error. For more information about this error, please see http://datatables.net/tn/7
- MSAnswered
Hello,
May I know on which page you are getting this error? You can check server error logs and let me know the error details so that I can suggest.
Thank you
- AAnswered
its hosted on hostinger.com where shall I find the error logs please ?
- MSAnswered
Hello,
I mean on which page of the Simple POS. You can check with your server admin for error log location.
If you need, you can enable app logs by changing the
log_threshold
to 1 inapp/config/config.php
and the visit page again to produce error. Lastly check the latest log file in theapp/logs/
folder.Thank you
- AAnswered
Please find below the error
ERROR - 2021-07-07 23:20:34 --> Severity: Warning --> sizeof(): Parameter must be an array or an object that implements Countable /home/u985469793/domains/giftomarket.com/public_html/shohra/themes/default/views/dashboard.php 138 ERROR - 2021-07-07 23:20:40 --> Severity: error --> Exception: Too few arguments to function Products::get_products(), 0 passed in /home/u985469793/domains/giftomarket.com/public_html/shohra/lib/core/CodeIgniter.php on line 532 and exactly 1 expected /home/u985469793/domains/giftomarket.com/public_html/shohra/app/controllers/Products.php 307
- AAnswered
ERROR - 2021-07-07 23:22:27 --> Severity: error --> Exception: Too few arguments to function Products::get_products(), 0 passed in /home/u985469793/domains/giftomarket.com/public_html/shohra/lib/core/CodeIgniter.php on line 532 and exactly 1 expected /home/u985469793/domains/giftomarket.com/public_html/shohra/app/controllers/Products.php 307
- MSAnswered
Hello,
You can remove the themes/default/views/dashboard.php line 138. It should be commented already. This isn’t the issue just a warning.
Too few arguments to function
is the cause but no idea why store id is not being passed. Please let me know your Simple POS version and your php version. If you can share the install url with admin login details so that I can have look.You can add private reply by enableing the
PRIVATE for Staff only
at top right of reply section.Thank you
- Login to Reply