LOL..type on ver...1.5.7d
LOL..type on ver...1.5.7d
xxxxxxx
Last edited by masterrusty; 16 Sep 2023 at 10:19 PM. Reason: can't delete it. :(
hallos
Looks like i ran into some error logs on my last plugin i needed to install lol. So this is a test domain. Php 8.1 , zencart 1.5.8b. I am using responsive classic. The last plugin i installed was the latest ceon from the github version 5.1.0. Steven had just given me a fix to a issue i was having with 500 errors. I then moved to install the latest squarewebpay 1.0.4. Now i am getting this error log
[18-Sep-2023 07:07:08 America/Los_Angeles] Request URI: /adminfolder/index.php?cmd=modules&set=payment&module=square_webPay&action=edit, IP address: a actual ip address, Language id 1
#0 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/ListLocationsResponse.php(15): zen_debug_error_handler()
#1 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(571): include('/home/hostingaccountname/...')
#2 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(320): class_exists()
#5 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Apis/LocationsApi.php(81): apimatic\jsonmapper\JsonMapper->mapClass()
#6 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(831): Square\Apis\LocationsApi->listLocations()
#7 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(842): square_webPay->getLocationsList()
#8 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(1463): square_webPay->getLocationsPulldownArray()
#9 /home/hostingaccountname/domainname/adminfolder/modules.php(322) : eval()'d code(1): zen_cfg_pull_down_squareWebPay_locations()
#10 /home/hostingaccountname/domainname/adminfolder/modules.php(322): eval()
#11 /home/hostingaccountname/domainname/adminfolder/index.php(11): require('/home/hostingaccountname/...')
--> PHP Deprecated: Return type of Square\Models\ListLocationsResponse::jsonSerialize(bool $asArrayWhenEmpty = false) should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/ListLocationsResponse.php on line 87.
[18-Sep-2023 07:07:08 America/Los_Angeles] Request URI: /adminfolder/index.php?cmd=modules&set=payment&module=square_webPay&action=edit, IP address: a actual ip address, Language id 1
#0 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Location.php(12): zen_debug_error_handler()
#1 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(571): include('/home/hostingaccountname/...')
#2 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(794): ReflectionClass->__construct()
#5 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(540): apimatic\jsonmapper\JsonMapper->createInstance()
#6 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(277): apimatic\jsonmapper\JsonMapper->mapArray()
#7 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#8 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(339): apimatic\jsonmapper\JsonMapper->map()
#9 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Apis/LocationsApi.php(81): apimatic\jsonmapper\JsonMapper->mapClass()
#10 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(831): Square\Apis\LocationsApi->listLocations()
#11 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(842): square_webPay->getLocationsList()
#12 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(1463): square_webPay->getLocationsPulldownArray()
#13 /home/hostingaccountname/domainname/adminfolder/modules.php(322) : eval()'d code(1): zen_cfg_pull_down_squareWebPay_locations()
#14 /home/hostingaccountname/domainname/adminfolder/modules.php(322): eval()
#15 /home/hostingaccountname/domainname/adminfolder/index.php(11): require('/home/hostingaccountname/...')
--> PHP Deprecated: Return type of Square\Models\Location::jsonSerialize(bool $asArrayWhenEmpty = false) should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Location.php on line 807.
[18-Sep-2023 07:07:08 America/Los_Angeles] Request URI: /adminfolder/index.php?cmd=modules&set=payment&module=square_webPay&action=edit, IP address: a actual ip address, Language id 1
#0 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Address.php(14): zen_debug_error_handler()
#1 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(571): include('/home/hostingaccountname/...')
#2 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(260): is_subclass_of()
#5 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#6 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(541): apimatic\jsonmapper\JsonMapper->map()
#7 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(277): apimatic\jsonmapper\JsonMapper->mapArray()
#8 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#9 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(339): apimatic\jsonmapper\JsonMapper->map()
#10 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Apis/LocationsApi.php(81): apimatic\jsonmapper\JsonMapper->mapClass()
#11 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(831): Square\Apis\LocationsApi->listLocations()
#12 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(842): square_webPay->getLocationsList()
#13 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(1463): square_webPay->getLocationsPulldownArray()
#14 /home/hostingaccountname/domainname/adminfolder/modules.php(322) : eval()'d code(1): zen_cfg_pull_down_squareWebPay_locations()
#15 /home/hostingaccountname/domainname/adminfolder/modules.php(322): eval()
#16 /home/hostingaccountname/domainname/adminfolder/index.php(11): require('/home/hostingaccountname/...')
--> PHP Deprecated: Return type of Square\Models\Address::jsonSerialize(bool $asArrayWhenEmpty = false) should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Address.php on line 260.
[18-Sep-2023 07:07:08 America/Los_Angeles] Request URI: /adminfolder/index.php?cmd=modules&set=payment&module=square_webPay&action=edit, IP address: a actual ip address, Language id 1
#0 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/BusinessHours.php(12): zen_debug_error_handler()
#1 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(571): include('/home/hostingaccountname/...')
#2 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(260): is_subclass_of()
#5 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#6 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(541): apimatic\jsonmapper\JsonMapper->map()
#7 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(277): apimatic\jsonmapper\JsonMapper->mapArray()
#8 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#9 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(339): apimatic\jsonmapper\JsonMapper->map()
#10 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Apis/LocationsApi.php(81): apimatic\jsonmapper\JsonMapper->mapClass()
#11 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(831): Square\Apis\LocationsApi->listLocations()
#12 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(842): square_webPay->getLocationsList()
#13 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(1463): square_webPay->getLocationsPulldownArray()
#14 /home/hostingaccountname/domainname/adminfolder/modules.php(322) : eval()'d code(1): zen_cfg_pull_down_squareWebPay_locations()
#15 /home/hostingaccountname/domainname/adminfolder/modules.php(322): eval()
#16 /home/hostingaccountname/domainname/adminfolder/index.php(11): require('/home/hostingaccountname/...')
--> PHP Deprecated: Return type of Square\Models\BusinessHours::jsonSerialize(bool $asArrayWhenEmpty = false) should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/BusinessHours.php on line 55.
[18-Sep-2023 07:07:08 America/Los_Angeles] Request URI: /adminfolder/index.php?cmd=modules&set=payment&module=square_webPay&action=edit, IP address: a actual ip address, Language id 1
#0 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Coordinates.php(12): zen_debug_error_handler()
#1 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(571): include('/home/hostingaccountname/...')
#2 /home/hostingaccountname/domainname/laravel/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(260): is_subclass_of()
#5 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#6 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(541): apimatic\jsonmapper\JsonMapper->map()
#7 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(277): apimatic\jsonmapper\JsonMapper->mapArray()
#8 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(188): apimatic\jsonmapper\JsonMapper->getMappedValue()
#9 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/apimatic/jsonmapper/src/JsonMapper.php(339): apimatic\jsonmapper\JsonMapper->map()
#10 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Apis/LocationsApi.php(81): apimatic\jsonmapper\JsonMapper->mapClass()
#11 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(831): Square\Apis\LocationsApi->listLocations()
#12 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(842): square_webPay->getLocationsList()
#13 /home/hostingaccountname/domainname/includes/modules/payment/square_webPay.php(1463): square_webPay->getLocationsPulldownArray()
#14 /home/hostingaccountname/domainname/adminfolder/modules.php(322) : eval()'d code(1): zen_cfg_pull_down_squareWebPay_locations()
#15 /home/hostingaccountname/domainname/adminfolder/modules.php(322): eval()
#16 /home/hostingaccountname/domainname/adminfolder/index.php(11): require('/home/hostingaccountname/...')
--> PHP Deprecated: Return type of Square\Models\Coordinates::jsonSerialize(bool $asArrayWhenEmpty = false) should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/hostingaccountname/domainname/includes/modules/payment/square_webPay/square/square/src/Models/Coordinates.php on line 76.
What am i doing wrong here ? This is a clean 1.5.8b install. I thought i was home free too lol
Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online www.missingcord.com
They're only deprecated warnings and will only be a problem if you move to a higher PHP version. You're getting them because Square WebPay v1.0.4 is only valid for up to PHP v8.0
Simon
oh ! thank you so much. I was like , what did i break now ? lol So is it okay for me to make a live site using what i have now ? So pretty much just delete them so they don't fill up the folder ?
Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online www.missingcord.com
I'm using this plugin on PHP v8.0 so don't have any issues but I do recall that others have had errors/warnings on live sites with PHP > v8.0 - you will need to look back through this thread to see if any are serious and have solutions. Otherwise, there's a more up to date version (paid) in the author's signature.
Simon
Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online www.missingcord.com
Zen Cart 1.5.8a
PHP 8.2
Square 1.0.4
Your transaction failed due to an error: [UNAUTHORIZED] This request could not be authorized.
Error Dump: [UNAUTHORIZED]: This request could not be authorized.
There are error log files but they contain no further information on why it could not be authorized.
Try it with 8.0
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
I went into the plugin, clicked, edit, changed nothing and saved. Now transactions process. We had a different error about a month ago and the same steps fixed it then. The error was:
Your transaction failed due to an error: [UNAUTHORIZED] The `Authorization` http header of your request was incorrect or expired. The header value is expected to be of the format "Bearer TOKEN" (without quotation marks), where TOKEN is a valid access token (e.g. "Bearer ABC123def456GHI789jkl0").
I'll change the PHP to 8.0. Seems unlikely that is the issue, but worth a try.
Bookmarks