
When I click on next on the second step in the checkout, I encounter an error message? 

While the OC version has not been provided, check your server access logs regarding this activity.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Ok and the access logs?Aleks1201 wrote: ↑Wed May 13, 2020 2:39 amthe version is 3.0.3.2straightlight wrote: ↑Wed May 13, 2020 1:41 amWhile the OC version has not been provided, check your server access logs regarding this activity.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
straightlight wrote: ↑Wed May 13, 2020 2:41 amOk and the access logs?Aleks1201 wrote: ↑Wed May 13, 2020 2:39 amthe version is 3.0.3.2straightlight wrote: ↑Wed May 13, 2020 1:41 amWhile the OC version has not been provided, check your server access logs regarding this activity.
Code: Select all
2020-04-13 12:24:24 - PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/masel/public_html/opencart/system/library/template/Twig/Node/Module.php on line 346
2020-04-15 10:21:44 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-15 10:21:44 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-15 10:21:44 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-15 10:21:48 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-15 10:21:48 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-15 10:21:48 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-15 10:21:53 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-15 10:21:53 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-15 10:21:53 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-15 10:22:05 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-15 10:22:05 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-15 10:22:05 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-15 10:24:13 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-15 10:24:13 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-15 10:24:13 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-16 13:08:42 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-16 13:08:42 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-16 13:08:42 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-16 13:08:45 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-16 13:08:45 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-16 13:08:45 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-18 8:26:37 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-18 8:26:37 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-18 8:26:37 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-19 11:13:47 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-19 11:13:47 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-19 11:13:47 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 6:03:36 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:03:36 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:03:36 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 6:03:59 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 6:03:59 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 6:03:59 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 6:17:57 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:17:57 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:17:57 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 6:34:13 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:34:13 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:34:13 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 6:34:28 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:34:28 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:34:28 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 6:34:47 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 6:34:47 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 6:34:47 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 6:36:39 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 6:36:39 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 6:36:39 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 6:45:17 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:45:17 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:45:17 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 6:54:54 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:54:54 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:54:54 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 6:56:05 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:56:05 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 6:56:05 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 6:56:21 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 6:56:21 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 6:56:21 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 7:23:30 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:23:30 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:23:30 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 7:28:48 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:28:48 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:28:48 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 7:29:23 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 7:29:23 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 7:29:23 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 7:36:21 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:36:21 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:36:21 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 7:41:41 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:41:41 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:41:41 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 7:42:09 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 7:42:09 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 7:42:09 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 7:49:23 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:49:23 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:49:24 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 7:49:39 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 7:49:39 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 7:49:39 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 7:56:16 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:56:16 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 7:56:16 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 7:56:31 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 7:56:31 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 7:56:31 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 8:06:06 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 8:06:06 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 8:06:06 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 8:27:38 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 8:27:38 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 138
2020-04-24 8:27:38 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/masel/public_html/opencart/admin/controller/startup/error.php:34) in /home/masel/opencart/modification/system/library/response.php on line 36
2020-04-24 8:31:54 - PHP Notice: Undefined index: weight_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
2020-04-24 8:31:54 - PHP Notice: Undefined index: length_class_id in /home/masel/public_html/opencart/admin/model/catalog/product.php on line 4
Last edited by straightlight on Wed May 13, 2020 3:14 am, edited 1 time in total.
Reason: Added code tags.
Reason: Added code tags.
According to this post on StackOverFlow: https://stackoverflow.com/questions/579 ... that-imple :
Regarding the phar code issue with PHP v7.x releases, see if the following works: https://github.com/Martin-Gleiss/smartvisu/pull/244 .
or:
https://github.com/phpDocumentor/phpDoc ... 4fb5b6e43f
regarding the:
Code: Select all
This means that phpdocumentor.phar has some code that is not fully compatible with PHP 7.2+. You can try downgrading the php version or upgrading the phpdocumentar (if possible).
or:
https://github.com/phpDocumentor/phpDoc ... 4fb5b6e43f
regarding the:
error.PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/masel/public_html/opencart/system/library/template/Twig/Node/Module.php on line 346
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I'm a little confused. I have searched for phpDocumentor.phar in my cPanel and there is nothing with this file name. On the above link the guy posted 3 files (1. phpDocumentor.phar 2. Source code (zip) 3. Source code (tar.gz)). What do I need to do with these files? In which location do I copy these?straightlight wrote: ↑Wed May 13, 2020 3:20 am
Regarding the phar code issue, see if the following works: https://github.com/phpDocumentor/phpDoc ... -578888990 .
What do I need to do with this code? Do I need to copy it in the Module.php?straightlight wrote: ↑Wed May 13, 2020 3:20 amor:
https://github.com/phpDocumentor/phpDoc ... 4fb5b6e43f
regarding the:
error.PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/masel/public_html/opencart/system/library/template/Twig/Node/Module.php on line 346
Submit a ticket to your web host asking them to disable it.
In my experience mod_security causes more problems than it solves.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
I have changed the checkout from opencart back to journal and the problem disappeared. But, when I fast click on add product to cart, the problem shows again. Is it worth disabling mod_security to fix this?paulfeakins wrote: ↑Wed May 13, 2020 6:52 pmSubmit a ticket to your web host asking them to disable it.
In my experience mod_security causes more problems than it solves.
It worth trying to disable it, even if just temperallory to eliminate it as being a problem. Try looking in the Imunify360 icon in your cPanel, could be your host is running that instead of ModSecurity.
Who is online
Users browsing this forum: No registered users and 11 guests