Support » Plugin: WooCommerce Shipping & Tax » Object error when trying to view cart

  • ResolvedModerator Steven Stern (sterndata)


    Forum Moderator & Support Team Volunteer

    If I disable the Woocommerce Services plugin, it’s all good so it’s something to do with this plugin.

    I’m getting this error when trying to view the shopping cart:

    Recoverable fatal error: Object of class WP_Error could not be converted to string in /var/www/dk/wordpress/wp-includes/class-requests.php on line 797

    Note: this is a development site.

    The error occurs even if I remove the one customized template (related.php) from my theme.

    ### WordPress Environment ###
    Home URL:
    Site URL:
    WC Version: 3.5.0
    Log Directory Writable: ✔
    WP Version: 4.9.8
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US
    External object cache: –
    ### Server Environment ###
    Server Info: Apache/2.4.35 (IUS) OpenSSL/1.0.2k-fips
    PHP Version: 7.2.11
    PHP Post Max Size: 16 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1800
    cURL Version: 7.29.0
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.2.18-MariaDB
    Max Upload Size: 16 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    ### Database ###
    WC Database Version: 3.5.0
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total Database Size: 10.29MB
    Database Data Size: 8.54MB
    Database Index Size: 1.75MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 0.02MB + Index: 0.09MB
    wp_frm_fields: Data: 0.02MB + Index: 0.03MB
    wp_frm_forms: Data: 0.02MB + Index: 0.02MB
    wp_frm_items: Data: 0.02MB + Index: 0.08MB
    wp_frm_item_metas: Data: 0.02MB + Index: 0.03MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_options: Data: 1.39MB + Index: 0.06MB
    wp_postmeta: Data: 1.52MB + Index: 0.19MB
    wp_posts: Data: 0.22MB + Index: 0.13MB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB
    wp_terms: Data: 0.02MB + Index: 0.03MB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB
    wp_users: Data: 0.02MB + Index: 0.05MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_wfbadleechers: Data: 0.02MB + Index: 0.00MB
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB
    wp_wfconfig: Data: 0.42MB + Index: 0.00MB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB
    wp_wffilemods: Data: 1.52MB + Index: 0.00MB
    wp_wfhits: Data: 0.13MB + Index: 0.05MB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB
    wp_wfissues: Data: 0.36MB + Index: 0.06MB
    wp_wfknownfilelist: Data: 1.52MB + Index: 0.00MB
    wp_wfleechers: Data: 0.02MB + Index: 0.00MB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB
    wp_wflogins: Data: 0.02MB + Index: 0.03MB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB
    wp_wfpendingissues: Data: 0.36MB + Index: 0.06MB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB
    wp_wfscanners: Data: 0.02MB + Index: 0.00MB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB
    wp_wfstatus: Data: 0.14MB + Index: 0.09MB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB
    wp_wfvulnscanners: Data: 0.02MB + Index: 0.00MB
    wp_woof_query_cache: Data: 0.02MB + Index: 0.02MB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB
    ### Post Type Counts ###
    acf-field: 11
    acf-field-group: 3
    attachment: 436
    frm_form_actions: 2
    frm_styles: 1
    jetpack_migration: 2
    nav_menu_item: 4
    page: 9
    post: 2
    product: 29
    revision: 6
    shop_coupon: 1
    shop_order: 1
    ### Security ###
    Secure connection (HTTPS): ❌
    					Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ❌Error messages should not be shown to visitors.
    ### Active Plugins (10) ###
    Advanced Custom Fields PRO: by Elliot Condon – 5.7.7
    Classic Editor: by WordPress Contributors – 0.4
    Formidable Forms: by Strategy11 – 3.04.01
    Health Check & Troubleshooting: by The community – 1.2.1
    Jetpack by by Automattic – 6.6.1
    Standard Stuff (SternData): by Stern Data Solutions – 2018.06.19
    Show Current Template: by JOTAKI Taisuke – 0.3.0
    WC Custom Add to Cart labels: by Rynaldo Stoltz – 1.1
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.4 – Not tested with the active version of WooCommerce
    WOOF - WooCommerce Products Filter: by realmag777 – 2.2.1 – Not tested with the active version of WooCommerce
    ### Settings ###
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    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 ###
    Shop base: #18 - /jewelry/
    Cart: #83 - /jewelry/shopping-bag/
    Checkout: #85 - /jewelry/checkout/
    My account: #87 - /jewelry/my-shopping-bag-account/
    Terms and conditions: #89 - /jewelry/terms-and-conditions/
    ### Theme ###
    Name: Indulgence Studios
    Version: 1.0.1
    Author URL:
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔
    ### Templates ###
    Overrides: indulgence/woocommerce/single-product/related.php
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Object error when trying to view cart’ is closed to new replies.