Fatal error: Call to a member function get_cart_contents_count() on null
-
This message is presented after clicking “update” once edited a page. The update seems to take place, but just a white page with this error is displayed.
If I click back in the browser, the effects have taken place.
Any ideas on how to fix this?
Fatal error: Call to a member function get_cart_contents_count() on null in /wp-content/plugins/woocommerce-cart-tab/includes/cart-tab-templates.php on line 13
Thanks,
Lewis### WordPress Environment ### Home URL: https://www.woolmersales.co.uk Site URL: https://www.woolmersales.co.uk WC Version: 3.2.1 Log Directory Writable: ? WP Version: 4.8.2 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ? Language: en_GB ### Server Environment ### Server Info: Apache PHP Version: 5.6.31 PHP Post Max Size: 8 MB PHP Time Limit: 180 PHP Max Input Vars: 6000 cURL Version: 7.55.1 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: 5.6.37 Max Upload Size: 8 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.2.1 WC Database Prefix: wp_ Total Database Size: 202.17MB Database Data Size: 122.95MB Database Index Size: 79.22MB wp_woocommerce_sessions: Data: 40.08MB + Index: 1.02MB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB wp_woocommerce_attribute_taxonomies: Data: 0.08MB + Index: 0.05MB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.03MB wp_woocommerce_order_items: Data: 0.14MB + Index: 0.06MB wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.81MB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB 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.00MB + Index: 0.00MB wp_cleantalk_sfw: Data: 0.00MB + Index: 0.00MB wp_cleantalk_sfw_logs: Data: 0.00MB + Index: 0.00MB wp_commentmeta: Data: 0.02MB + Index: 0.03MB wp_comments: Data: 0.13MB + Index: 0.09MB wp_frm_fields: Data: 0.00MB + Index: 0.01MB wp_frm_forms: Data: 0.00MB + Index: 0.00MB wp_frm_items: Data: 0.02MB + Index: 0.02MB wp_frm_item_metas: Data: 0.01MB + Index: 0.02MB wp_gg_folders: Data: 0.02MB + Index: 0.00MB wp_gg_galleries: Data: 0.02MB + Index: 0.00MB wp_gg_galleries_excluded: Data: 0.02MB + Index: 0.00MB wp_gg_galleries_resources: Data: 0.02MB + Index: 0.00MB wp_gg_photos: Data: 0.02MB + Index: 0.00MB wp_gg_photos_pos: Data: 0.02MB + Index: 0.00MB wp_gg_photos_settings: Data: 0.02MB + Index: 0.00MB wp_gg_settings_presets: Data: 0.02MB + Index: 0.00MB wp_gg_settings_sets: Data: 0.02MB + Index: 0.00MB wp_gg_stats: Data: 0.02MB + Index: 0.00MB wp_gg_tags: Data: 0.02MB + Index: 0.00MB wp_links: Data: 0.02MB + Index: 0.02MB wp_msf_fileds: Data: 0.02MB + Index: 0.00MB wp_options: Data: 9.20MB + Index: 1.36MB wp_postmeta: Data: 35.58MB + Index: 31.11MB wp_posts: Data: 5.52MB + Index: 4.91MB wp_pp_login_builder: Data: 0.02MB + Index: 0.00MB wp_pp_password_reset_builder: Data: 0.02MB + Index: 0.00MB wp_pp_registration_builder: Data: 0.02MB + Index: 0.00MB wp_relevanssi: Data: 14.38MB + Index: 22.27MB wp_relevanssi_log: Data: 0.02MB + Index: 0.00MB wp_relevanssi_stopwords: Data: 0.02MB + Index: 0.00MB wp_sg_age_restriction_popup: Data: 0.02MB + Index: 0.00MB wp_sg_contact_form_popup: Data: 0.02MB + Index: 0.00MB wp_sg_countdown_popup: Data: 0.02MB + Index: 0.00MB wp_sg_exit_intent_popup: Data: 0.02MB + Index: 0.00MB wp_sg_fblike_popup: Data: 0.02MB + Index: 0.00MB wp_sg_html_popup: Data: 0.02MB + Index: 0.00MB wp_sg_iframe_popup: Data: 0.02MB + Index: 0.00MB wp_sg_image_popup: Data: 0.02MB + Index: 0.00MB wp_sg_popup: Data: 0.02MB + Index: 0.00MB wp_sg_popup_addons: Data: 0.02MB + Index: 0.02MB wp_sg_popup_addons_connection: Data: 0.02MB + Index: 0.00MB wp_sg_popup_in_pages: Data: 0.02MB + Index: 0.02MB wp_sg_popup_settings: Data: 0.02MB + Index: 0.00MB wp_sg_shortCode_popup: Data: 0.02MB + Index: 0.00MB wp_sg_social_popup: Data: 0.02MB + Index: 0.00MB wp_sg_subscribers: Data: 0.02MB + Index: 0.00MB wp_sg_subscription_error_log: Data: 0.02MB + Index: 0.00MB wp_sg_subscription_popup: Data: 0.02MB + Index: 0.00MB wp_sg_video_popup: Data: 0.02MB + Index: 0.00MB wp_statistics_exclusions: Data: 0.00MB + Index: 0.00MB wp_statistics_historical: Data: 0.00MB + Index: 0.00MB wp_statistics_pages: Data: 2.90MB + Index: 5.90MB wp_statistics_search: Data: 0.58MB + Index: 0.37MB wp_statistics_useronline: Data: 0.08MB + Index: 0.00MB wp_statistics_visit: Data: 0.00MB + Index: 0.01MB wp_statistics_visitor: Data: 4.58MB + Index: 4.37MB wp_termmeta: Data: 0.52MB + Index: 0.69MB wp_terms: Data: 0.30MB + Index: 0.36MB wp_term_relationships: Data: 1.52MB + Index: 1.52MB wp_term_taxonomy: Data: 0.38MB + Index: 0.56MB wp_usermeta: Data: 1.52MB + Index: 1.64MB wp_users: Data: 0.06MB + Index: 0.05MB wp_wangguardcronjobs: Data: 0.00MB + Index: 0.00MB wp_wangguardquestions: Data: 0.00MB + Index: 0.00MB wp_wangguardreportqueue: Data: 0.00MB + Index: 0.00MB wp_wangguardsignupsstatus: Data: 0.00MB + Index: 0.00MB wp_wangguarduserstatus: Data: 0.00MB + Index: 0.00MB wp_wdslayer: Data: 0.02MB + Index: 0.00MB wp_wdsslide: Data: 0.02MB + Index: 0.00MB wp_wdsslider: Data: 0.02MB + Index: 0.00MB wp_wfBadLeechers: Data: 0.00MB + Index: 0.00MB wp_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB wp_wfBlocks: Data: 0.00MB + Index: 0.00MB wp_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB wp_wfConfig: Data: 0.23MB + Index: 0.01MB wp_wfCrawlers: Data: 0.00MB + Index: 0.00MB wp_wfFileMods: Data: 1.36MB + Index: 0.29MB wp_wfHits: Data: 0.30MB + Index: 0.11MB wp_wfHoover: Data: 0.00MB + Index: 0.00MB wp_wfIssues: Data: 0.00MB + Index: 0.00MB wp_wfKnownFileList: Data: 0.69MB + Index: 0.09MB wp_wfLeechers: Data: 0.07MB + Index: 0.06MB wp_wfLockedOut: Data: 0.00MB + Index: 0.00MB wp_wfLocs: Data: 0.00MB + Index: 0.00MB wp_wfLogins: Data: 0.00MB + Index: 0.00MB wp_wfNet404s: Data: 0.01MB + Index: 0.01MB wp_wfNotifications: Data: 0.00MB + Index: 0.00MB wp_wfPendingIssues: Data: 0.00MB + Index: 0.00MB wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB wp_wfScanners: Data: 0.01MB + Index: 0.01MB wp_wfSNIPCache: Data: 0.00MB + Index: 0.00MB wp_wfStatus: Data: 0.07MB + Index: 0.03MB wp_wfThrottleLog: Data: 0.00MB + Index: 0.00MB wp_wfVulnScanners: Data: 0.00MB + Index: 0.00MB wp_wpuf_transaction: Data: 0.00MB + Index: 0.00MB wp_WPUser_LoginAttempts: Data: 0.02MB + Index: 0.00MB wp_wpuser_login_log: Data: 0.02MB + Index: 0.00MB wp_yoast_seo_links: Data: 0.03MB + Index: 0.01MB wp_yoast_seo_meta: Data: 0.04MB + Index: 0.04MB ### Post Type Counts ### attachment: 6476 cf7_style: 13 customize_changeset: 1 eps-slider: 1 frm_form_actions: 2 frm_styles: 1 optionsframework: 5 page: 12 popup_theme: 6 post: 2 product: 2183 product_variation: 5889 revision: 572 shop_coupon: 1 shop_options: 1 shop_order: 358 shop_order_refund: 3 woo_discount: 1 wpcf7_contact_form: 1 wpuf_forms: 1 wpuf_input: 2 yith_wcps_type: 1 ### Security ### Secure connection (HTTPS): ?Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates. Hide errors from visitors: ? ### Active Plugins (49) ### Advanced Browser Check: by Mattias Hedman – 4.4.1 Async JavaScript: by Clough I.T. Solutions – 2.17.09.31 Banner Management for WooCommerce: by Multidots – 1.0.9 – Not tested with the active version of WooCommerce Cherry Plugin: by Cherry Team. – 1.2.7 Anti-Spam by CleanTalk: by СleanTalk – 5.78 Contact Form 7 Style: by Johnny dorumarginean mlehelsz MirceaR – 3.1.2 Contact Form 7: by Takayuki Miyoshi – 4.9 CropRefine: by era404 – 0.9.8 Custom Related Products for WooCommerce: by Scott Nelle – 1.3 – Not tested with the active version of WooCommerce Easy Panorama: by Leonardo Giacone – 1.0.2 Enable Media Replace: by M?ns Jonasson – 3.1.1 Exclude Pages from Navigation: by Simon Wheatley – 1.92 Export User Data: by Q Studio – 1.3.1 Formidable Forms: by Strategy11 – 2.05.02 Load More Products for WooCommerce: by BeRocket – 1.0.8 – Not tested with the active version of WooCommerce MotoPress Content Editor: by MotoPress – 1.6.0 NC Grid List View For Woocommerce: by Nabaraj Chapagain – 1.0.1 – Not tested with the active version of WooCommerce Nice Search: by Mark Jaquith – 0.5 Perfect WooCommerce Brands: by Alberto de Vera Sevilla – 1.5.2 – Not tested with the active version of WooCommerce WooCommerce Local Shop: by Phil Meadows – 1.0 – Not tested with the active version of WooCommerce Popup Builder PRO: by Sygnoos – 3.1.6 Post Thumbnail Editor: by sewpafly – 2.4.8 Recently Registered: by Mika Epstein – 3.4.3 Relevanssi: by Mikko Saari – 3.6.2 SKU Error Fixer for WooCommerce: by WordPress Monsters – 1.0 – Not tested with the active version of WooCommerce Slider WD: by WebDorado – 1.1.92 Social Media Feather: by socialmediafeather – 1.8.4 WP woocommerce featured product by category: by WP Online Support – 1.1 – Not tested with the active version of WooCommerce Tawk.to Live Chat: by Tawkto – 0.3.3 User Spam Remover: by Joel Hardi – 1.0 WooCommerce Variation Swatches: by ThemeAlien – 1.0.3 – Not tested with the active version of WooCommerce Product Customer List for WooCommerce: by Kokomo – 2.6.0 – Not tested with the active version of WooCommerce WooCommerce Tree Table Rate Shipping: by tablerateshipping.com – 1.16.4 WooCommerce Product Image Gallery Options: by Create and Code – 1.0.2 – Not tested with the active version of WooCommerce WooCommerce Bulk Discount: by Rene Puchinger – 2.4.5 – Not tested with the active version of WooCommerce WooCommerce Cart Tab: by jameskoster – 1.1.1 – Not tested with the active version of WooCommerce WooCommerce - Embed Videos To Product Image Gallery: by ZealousWeb Technologies – 2.2 – Not tested with the active version of WooCommerce Booster for WooCommerce: by Algoritmika Ltd – 3.2.0 – Not tested with the active version of WooCommerce Woocommerce Products Per Page: by Jeroen Sormani – 1.2.3 – Not tested with the active version of WooCommerce WooCommerce Unit Of Measure: by Bradley Davis – 1.1 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.2.1 Yoast SEO: by Team Yoast – 5.7.1 WP Fastest Cache: by Emre Vona – 0.8.7.4 WP-Mail-SMTP: by Callum Macdonald – 0.10.1 WP Max Submit Protect: by Academe Computing – 1.1.2 – Not tested with the active version of WooCommerce WP Statistics: by WP-Statistics Team – 12.1.3 Custom Product Tabs for WooCommerce: by YIKES Inc. – 1.6.2 – Not tested with the active version of WooCommerce YITH Purchased Column for WooCommerce: by YITHEMES – 1.0.4 – Not tested with the active version of WooCommerce YITH WooCommerce Product Slider Carousel: by YITHEMES – 1.0.14 ### Settings ### API Enabled: ? Force SSL: ? Currency: GBP (£) 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: #13 - /shop/ Basket: #14 - /basket/ Checkout: #15 - /checkout/ My account: #16 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: free_interior_woocommerce Version: 3.1 Author URL: https://info.template-help.com/help/ Child Theme: ? Parent Theme Name: cherry Parent Theme Version: 3.1.5 Parent Theme Author URL: //info.template-help.com/help/ WooCommerce Support: ? ### Templates ### Overrides: free_interior_woocommerce/woocommerce/emails/email-styles.php free_interior_woocommerce/woocommerce/single-product/product-image.php
- The topic ‘Fatal error: Call to a member function get_cart_contents_count() on null’ is closed to new replies.