Post by Aleks1201 » Wed May 13, 2020 1:39 am

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

Attachments

error on second page.png

error on second page.png (36.24 KiB) Viewed 480 times


New member

Posts

Joined
Sat Apr 11, 2020 10:05 pm

Post by straightlight » Wed May 13, 2020 1:41 am

While the OC version has not been provided, check your server access logs regarding this activity.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Aleks1201 » Wed May 13, 2020 2:39 am

straightlight wrote:
Wed May 13, 2020 1:41 am
While the OC version has not been provided, check your server access logs regarding this activity.
the version is 3.0.3.2

New member

Posts

Joined
Sat Apr 11, 2020 10:05 pm

Post by straightlight » Wed May 13, 2020 2:41 am

Aleks1201 wrote:
Wed May 13, 2020 2:39 am
straightlight wrote:
Wed May 13, 2020 1:41 am
While the OC version has not been provided, check your server access logs regarding this activity.
the version is 3.0.3.2
Ok and the access logs?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Aleks1201 » Wed May 13, 2020 3:13 am

straightlight wrote:
Wed May 13, 2020 2:41 am
Aleks1201 wrote:
Wed May 13, 2020 2:39 am
straightlight wrote:
Wed May 13, 2020 1:41 am
While the OC version has not been provided, check your server access logs regarding this activity.
the version is 3.0.3.2
Ok and the access logs?

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.

New member

Posts

Joined
Sat Apr 11, 2020 10:05 pm

Post by straightlight » Wed May 13, 2020 3:20 am

According to this post on StackOverFlow: https://stackoverflow.com/questions/579 ... that-imple :

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).
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:
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
error.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ADD Creative » Wed May 13, 2020 4:05 am

Check your hosting cPanel to see if you have ModSecurity enabled.

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Aleks1201 » Wed May 13, 2020 3:58 pm

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 .
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
or:
https://github.com/phpDocumentor/phpDoc ... 4fb5b6e43f

regarding the:
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
error.
What do I need to do with this code? Do I need to copy it in the Module.php?

New member

Posts

Joined
Sat Apr 11, 2020 10:05 pm

Post by Aleks1201 » Wed May 13, 2020 4:02 pm

ADD Creative wrote:
Wed May 13, 2020 4:05 am
Check your hosting cPanel to see if you have ModSecurity enabled.
There is no ModSecurity option under Security in my cPanel.

Attachments

security.png

security.png (25.16 KiB) Viewed 366 times


New member

Posts

Joined
Sat Apr 11, 2020 10:05 pm

Post by paulfeakins » Wed May 13, 2020 6:52 pm

Aleks1201 wrote:
Wed May 13, 2020 4:02 pm
There is no ModSecurity option under Security in my cPanel.
Submit a ticket to your web host asking them to disable it.

In my experience mod_security causes more problems than it solves.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by Aleks1201 » Mon May 25, 2020 3:29 pm

paulfeakins wrote:
Wed May 13, 2020 6:52 pm
Aleks1201 wrote:
Wed May 13, 2020 4:02 pm
There is no ModSecurity option under Security in my cPanel.
Submit a ticket to your web host asking them to disable it.

In my experience mod_security causes more problems than it solves.
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?

New member

Posts

Joined
Sat Apr 11, 2020 10:05 pm

Post by ADD Creative » Mon May 25, 2020 10:03 pm

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.

www.add-creative.co.uk


Active Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 31 guests