
Originally Posted by
delia
7.2 throwing all sorts of warnings, not errors, but think it's easily fixable. ups, usps, paypal - some in admin and others in checkout. All Use of undefined constant where apostrophes need adding. Been chasing down this for my template and for testimonials on this site. Are you seeing this on any other php version?
I'm seeing various PHP notices on 7.1.4 on zc156c with Report All Errors set to enable those notices to be logged; these are from the checkout_shipping page, for instance:
Code:
[01-Aug-2019 15:05:07 America/New_York] Request URI: /checkout, IP address: 127.0.0.1
#1 usps->extra_service() called at [C:\xampp\htdocs\test_store\includes\modules\shipping\usps.php:321]
#2 usps->quote() called at [C:\xampp\htdocs\test_store\includes\classes\shipping.php:168]
#3 shipping->quote() called at [C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php:187]
#4 require(C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php) called at [C:\xampp\htdocs\test_store\index.php:36]
--> PHP Notice: Undefined variable: extraserviceinternational in C:\xampp\htdocs\test_store\includes\modules\shipping\usps.php on line 2223.
[01-Aug-2019 15:05:07 America/New_York] Request URI: /checkout, IP address: 127.0.0.1
#1 usps->quote() called at [C:\xampp\htdocs\test_store\includes\classes\shipping.php:168]
#2 shipping->quote() called at [C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php:187]
#3 require(C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php) called at [C:\xampp\htdocs\test_store\index.php:36]
--> PHP Notice: Undefined index: FirstClassMailType in C:\xampp\htdocs\test_store\includes\modules\shipping\usps.php on line 511.
[01-Aug-2019 15:05:07 America/New_York] Request URI: /checkout, IP address: 127.0.0.1
#1 usps->quote() called at [C:\xampp\htdocs\test_store\includes\classes\shipping.php:168]
#2 shipping->quote() called at [C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php:187]
#3 require(C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php) called at [C:\xampp\htdocs\test_store\index.php:36]
--> PHP Notice: Undefined index: FirstClassMailType in C:\xampp\htdocs\test_store\includes\modules\shipping\usps.php on line 512.
[01-Aug-2019 15:05:07 America/New_York] Request URI: /checkout, IP address: 127.0.0.1
#1 usps->quote() called at [C:\xampp\htdocs\test_store\includes\classes\shipping.php:168]
#2 shipping->quote() called at [C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php:187]
#3 require(C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php) called at [C:\xampp\htdocs\test_store\index.php:36]
--> PHP Notice: Undefined index: FirstClassMailType in C:\xampp\htdocs\test_store\includes\modules\shipping\usps.php on line 513.
[01-Aug-2019 15:05:07 America/New_York] Request URI: /checkout, IP address: 127.0.0.1
#1 usps->quote() called at [C:\xampp\htdocs\test_store\includes\classes\shipping.php:168]
#2 shipping->quote() called at [C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php:187]
#3 require(C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php) called at [C:\xampp\htdocs\test_store\index.php:36]
--> PHP Notice: Undefined variable: cnt_dump in C:\xampp\htdocs\test_store\includes\modules\shipping\usps.php on line 655.
[01-Aug-2019 15:05:07 America/New_York] Request URI: /checkout, IP address: 127.0.0.1
#1 usps->quote() called at [C:\xampp\htdocs\test_store\includes\classes\shipping.php:168]
#2 shipping->quote() called at [C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php:187]
#3 require(C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php) called at [C:\xampp\htdocs\test_store\index.php:36]
--> PHP Notice: Undefined variable: cnt_dump in C:\xampp\htdocs\test_store\includes\modules\shipping\usps.php on line 656.
[01-Aug-2019 15:05:07 America/New_York] Request URI: /checkout, IP address: 127.0.0.1
#1 usps->quote() called at [C:\xampp\htdocs\test_store\includes\classes\shipping.php:168]
#2 shipping->quote() called at [C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php:187]
#3 require(C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php) called at [C:\xampp\htdocs\test_store\index.php:36]
--> PHP Notice: Undefined index: FirstClassMailType in C:\xampp\htdocs\test_store\includes\modules\shipping\usps.php on line 511.
[01-Aug-2019 15:05:07 America/New_York] Request URI: /checkout, IP address: 127.0.0.1
#1 usps->quote() called at [C:\xampp\htdocs\test_store\includes\classes\shipping.php:168]
#2 shipping->quote() called at [C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php:187]
#3 require(C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php) called at [C:\xampp\htdocs\test_store\index.php:36]
--> PHP Notice: Undefined index: FirstClassMailType in C:\xampp\htdocs\test_store\includes\modules\shipping\usps.php on line 512.
[01-Aug-2019 15:05:08 America/New_York] Request URI: /checkout, IP address: 127.0.0.1
#1 usps->quote() called at [C:\xampp\htdocs\test_store\includes\classes\shipping.php:168]
#2 shipping->quote() called at [C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php:187]
#3 require(C:\xampp\htdocs\test_store\includes\modules\pages\checkout_shipping\header_php.php) called at [C:\xampp\htdocs\test_store\index.php:36]
--> PHP Notice: Undefined index: FirstClassMailType in C:\xampp\htdocs\test_store\includes\modules\shipping\usps.php on line 513.
Bookmarks