UPS Plugin- Error
-
Hey. I’ve been using the ups plug for some time, and the problem has recently appeared.
This is information when I try to load my page:
Fatal error: Call to a member function get_countries() on null in /wp-content/plugins/flexible-shipping-ups/classes/settings/shipping-method-form-fields.php on line 3
I removed the plugin by webftp and installed it again, but there are still this same problem.
-
Hello @padraix,
I wonder what WooCommerce version you are using. Flexible Shipping UPS plugin is compatible with WooCommerce 3.0.0 – 3.4.x.
Please send us a WooCommerce system status. Here’s a screenshot showing how to get it.
I have 3.4.3 version. Earlier the plugin worked good.
Okay, I see @padraix
I have more questions for you:
- What is the place on your page where the error is displayed?
- Does it completely freeze your page and it is inaccessible?
- What is your configuration of shipping zones?
- Which PHP version are you using? Please send us a WooCommerce system status. Here’s a screenshot showing how to get it.
1. All website. I cant enter anywhere. When i delete plugin-site is ok. When i install again, i have this info: Fatal error: Call to a member function get_countries…
2.Yes
3. I have something like this:
https://scr.hu/ReOgG6
4. Here :### WordPress Environment ### Home URL: https://u-poster.com Site URL: https://u-poster.com WC Version: 3.4.3 Log Directory Writable: ? WP Version: 4.9.7 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: pl_PL External object cache: – ### Server Environment ### Server Info: IdeaWebServer/0.83 (like Apache) PHP Version: 5.6.34 - Rekomendujemy u?ywanie PHP w wersji 7.2 lub wy?szej w celu osi?gni?cia wi?kszej wydajno?ci oraz bezpieczeństwa. Jak zaktualizowa? wersj? PHP PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.53.1 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: 5.7.21-20-log Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.2.6 WC Database Prefix: wp_ MaxMind GeoIP Database: ? Ca?kowity rozmiar bazy danych: 15.63MB Rozmiar bazy danych: 9.26MB Rozmiar indeksu bazy danych: 6.37MB wp_woocommerce_sessions: Dane: 0.02MB + Indeks: 0.02MB wp_woocommerce_api_keys: Dane: 0.02MB + Indeks: 0.03MB wp_woocommerce_attribute_taxonomies: Dane: 0.02MB + Indeks: 0.02MB wp_woocommerce_downloadable_product_permissions: Dane: 0.02MB + Indeks: 0.05MB wp_woocommerce_order_items: Dane: 0.02MB + Indeks: 0.02MB wp_woocommerce_order_itemmeta: Dane: 0.02MB + Indeks: 0.03MB wp_woocommerce_tax_rates: Dane: 0.02MB + Indeks: 0.06MB wp_woocommerce_tax_rate_locations: Dane: 0.02MB + Indeks: 0.03MB wp_woocommerce_shipping_zones: Dane: 0.02MB + Indeks: 0.00MB wp_woocommerce_shipping_zone_locations: Dane: 0.02MB + Indeks: 0.03MB wp_woocommerce_shipping_zone_methods: Dane: 0.02MB + Indeks: 0.00MB wp_woocommerce_payment_tokens: Dane: 0.02MB + Indeks: 0.02MB wp_woocommerce_payment_tokenmeta: Dane: 0.02MB + Indeks: 0.03MB wp_woocommerce_log: Dane: 0.02MB + Indeks: 0.02MB ahc_browsers: Dane: 0.00MB + Indeks: 0.00MB ahc_countries: Dane: 0.01MB + Indeks: 0.00MB ahc_hits: Dane: 0.04MB + Indeks: 0.00MB ahc_keywords: Dane: 0.00MB + Indeks: 0.00MB ahc_recent_visitors: Dane: 0.00MB + Indeks: 0.00MB ahc_refering_sites: Dane: 0.00MB + Indeks: 0.00MB ahc_searching_visits: Dane: 0.00MB + Indeks: 0.00MB ahc_search_engines: Dane: 0.00MB + Indeks: 0.00MB ahc_search_engine_crawlers: Dane: 0.00MB + Indeks: 0.00MB ahc_title_traffic: Dane: 0.01MB + Indeks: 0.00MB ahc_visitors: Dane: 0.00MB + Indeks: 0.00MB ahc_visits_time: Dane: 0.00MB + Indeks: 0.00MB wp_bwg_album: Dane: 0.02MB + Indeks: 0.00MB wp_bwg_album_gallery: Dane: 0.02MB + Indeks: 0.00MB wp_bwg_gallery: Dane: 0.02MB + Indeks: 0.00MB wp_bwg_image: Dane: 0.02MB + Indeks: 0.00MB wp_bwg_image_comment: Dane: 0.02MB + Indeks: 0.00MB wp_bwg_image_rate: Dane: 0.02MB + Indeks: 0.00MB wp_bwg_image_tag: Dane: 0.02MB + Indeks: 0.00MB wp_bwg_shortcode: Dane: 0.02MB + Indeks: 0.00MB wp_bwg_theme: Dane: 0.08MB + Indeks: 0.00MB wp_commentmeta: Dane: 0.08MB + Indeks: 0.03MB wp_comments: Dane: 0.06MB + Indeks: 0.09MB wp_links: Dane: 0.02MB + Indeks: 0.02MB wp_options: Dane: 2.05MB + Indeks: 0.08MB wp_pmxi_files: Dane: 0.02MB + Indeks: 0.00MB wp_pmxi_history: Dane: 0.02MB + Indeks: 0.00MB wp_pmxi_images: Dane: 0.02MB + Indeks: 0.00MB wp_pmxi_imports: Dane: 0.02MB + Indeks: 0.00MB wp_pmxi_posts: Dane: 0.02MB + Indeks: 0.00MB wp_pmxi_templates: Dane: 0.02MB + Indeks: 0.00MB wp_postmeta: Dane: 2.02MB + Indeks: 5.03MB wp_posts: Dane: 2.03MB + Indeks: 0.13MB wp_redirection_404: Dane: 0.06MB + Indeks: 0.06MB wp_redirection_groups: Dane: 0.02MB + Indeks: 0.03MB wp_redirection_items: Dane: 0.02MB + Indeks: 0.08MB wp_redirection_logs: Dane: 0.02MB + Indeks: 0.08MB wp_slim_events: Dane: 0.06MB + Indeks: 0.03MB wp_slim_events_archive: Dane: 0.02MB + Indeks: 0.02MB wp_slim_stats: Dane: 1.52MB + Indeks: 0.05MB wp_slim_stats_archive: Dane: 0.02MB + Indeks: 0.02MB wp_termmeta: Dane: 0.02MB + Indeks: 0.03MB wp_terms: Dane: 0.02MB + Indeks: 0.03MB wp_term_relationships: Dane: 0.06MB + Indeks: 0.02MB wp_term_taxonomy: Dane: 0.05MB + Indeks: 0.03MB wp_usermeta: Dane: 0.05MB + Indeks: 0.03MB wp_users: Dane: 0.02MB + Indeks: 0.05MB wp_wc_download_log: Dane: 0.02MB + Indeks: 0.03MB wp_wc_webhooks: Dane: 0.02MB + Indeks: 0.02MB wp_wdslayer: Dane: 0.02MB + Indeks: 0.00MB wp_wdsslide: Dane: 0.02MB + Indeks: 0.00MB wp_wdsslider: Dane: 0.02MB + Indeks: 0.00MB wp_woocommerce_tpay: Dane: 0.02MB + Indeks: 0.00MB wp_yoast_seo_links: Dane: 0.02MB + Indeks: 0.02MB wp_yoast_seo_meta: Dane: 0.20MB + Indeks: 0.00MB ### Post Type Counts ### al_product: 1 attachment: 160 bwg_gallery: 1 jetpack_migration: 2 jp_img_sitemap: 2 jp_sitemap: 2 jp_sitemap_master: 2 nav_menu_item: 35 oembed_cache: 3 page: 12 polylang_mo: 7 post: 34 product: 62 product_variation: 174 redirect_rule: 2 revision: 213 sp_wps_shortcodes: 1 wcps: 1 wds-slider: 1 woocarousel: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (19) ### Akismet Anti-Spam: przez Automattic – 4.0.8 BackWPup: przez Inpsyde GmbH – 3.6.0 Jetpack z WordPress.com: przez Automattic – 6.3.2 Photo Gallery: przez Photo Gallery Team – 1.4.15 Redirection: przez John Godley – 3.3.1 Slider WD: przez WebDorado – 1.2.13 WD manager: przez WebDorado – 1.3.9 Weglot Translate: przez Weglot Translate team – 1.13.1 WooCommerce Ceneo.pl / Nokaut.pl Integration: przez OptArt | Piotr Szczygiel – 1.3.2 – Nietestowane z u?ywan? wersj? WooCommerce WooCommerce Currency Switcher: przez realmag777 – 1.2.5.1 WooCommerce PayPal Checkout Gateway: przez WooCommerce – 1.6.1 WooCommerce Services: przez Automattic – 1.15.1 tpay.com Woocommerce payment module: przez tpay.com – 2.6.42 – Nietestowane z u?ywan? wersj? WooCommerce WP All Import - WooCommerce Add-On: przez Soflyy – 1.3.9 WooCommerce: przez Automattic – 3.4.3 Yoast SEO: przez Zespó? Yoast – 7.8 WP All Import: przez Soflyy – 3.4.9 Slimstat Analytics: przez Jason Crouse – 4.7.8.3 ### Settings ### API Enabled: ? Force SSL: ? Currency: PLN (z?) Currency Position: right Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) ### WC Pages ### Strona sklepu: #6 - /sklep/ Koszyk: #7 - /koszyk/ Zamówienie: #8 - /zamowienie/ Moje konto: #9 - /moje-konto/ Regulamin: #2636 - /regulamin/ ### Theme ### Name: Portfolio Gallery Version: 1.0.35 Author URL: https://web-dorado.com/ Child Theme: ? – Je?li modyfikujesz WooCommerce lub motyw nadrz?dny którego nie jeste? autorem polecamy u?ywanie motywu potomnego. Zobacz: Jak tworzy? motywy potomne WooCommerce Support: ? ### Templates ### Overrides: –
Just installed the plugin and I get the same error when trying to access the settings link. Wordpres 4.9.7 Woocommerce 3.4.4
Dear @padraix, dear @orbitdesign,
We have actually verified this issue and it has been resolved. The fix will be included in the next update. I’ll let you know when it will be released by posting in this thread.
Cheers!
Dear @padraix, dear @orbitdesign,
we have just released a new version of the plugin. This update resolves your issue.Please update the UPS Shipping plugin.
Here’s the changelog:”
* Fixed number change when sequential order numbering is used
* Show access point fallback rate only when no standard rates added
* Enable custom services by default
* Fixed fatal error on countries select box
- The topic ‘UPS Plugin- Error’ is closed to new replies.