WooCommerce Parcel2Go plugin errors during installation
-
When installing it on my local development I have successfully mapped a domain using SmartSend and also added credentials for the WooCommerce client. However when I configure the client at
/wp-admin/admin.php?page=parcel2go%2Fsettings.php
I see several errors and associated bad user experience with it1 – look up for countries returns a 401 response see https://www.dropbox.com/s/922h28kcpkgwqzt/wooCommerceParcelToGo_CountriesNotLoading_2020-10-05_14-15-59.png?dl=0
401 Unauthorized-
HTTP API Transport: curl
DNS Resolution Time: 0.0426
Connection Time: 0.0587
Transfer Start Time (TTFB): 0.3397
Response Size: 61 B
Response Content Type: application/json; charset=utf-8
IP Address: 104.22.14.XX—
Parcel2Go_Api->getCountries()
wp-content/plugins/parcel2go-shipping/parcel2go.php:248
Parcel2Go_SettingsPage->collection_country_callback()
wp-content/plugins/parcel2go-shipping/parcel2go.php:1586
do_settings_fields()
wp-admin/includes/template.php:1737
do_settings_sections()
wp-admin/includes/template.php:1695
Parcel2Go_SettingsPage->create_admin_page()
wp-content/plugins/parcel2go-shipping/parcel2go.php:1153
do_action(‘parcel2go_page_parcel2go/settings’)
wp-includes/plugin.php:4782 – Invalid argument supplied for foreach() -https://www.dropbox.com/s/vzil2c2dso2e73m/wooCommerceParcelToGo_ForeachInvalidArgument_2020-10-05%2014-18-27.png?dl=0
Error visible from query monitor
–
wp-content/plugins/parcel2go-shipping/parcel2go.php:1590
Parcel2Go_SettingsPage->collection_country_callback()
wp-admin/includes/template.php:1737
do_settings_fields()
wp-admin/includes/template.php:1695
do_settings_sections()
wp-content/plugins/parcel2go-shipping/parcel2go.php:1153
Parcel2Go_SettingsPage->create_admin_page()
wp-includes/class-wp-hook.php:287
do_action(‘parcel2go_page_parcel2go/settings’)
wp-admin/admin.php:259The above is out of the box and given the error above the countries drop down is not loading.
The topic ‘WooCommerce Parcel2Go plugin errors during installation’ is closed to new replies.