• Resolved erowebs

    (@erowebs)


    HI,

    I recently updated my website with the most recent Woocommerce plugin, after updating am getting following fatal error when trying to access certain parts of the website: like items, and categories.

    Fatal error: Uncaught Error: Call to a member function get() on null in /home1/yokotacl/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:178 Stack trace: #0 /home1/yokotacl/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(220): wc_setup_loop() #1 /home1/yokotacl/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php(376): wc_get_loop_prop(‘total_pages’) #2 /home1/yokotacl/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php(363): WC_Query->adjust_total_pages() #3 /home1/yokotacl/public_html/wp-includes/class-wp-hook.php(289): WC_Query->handle_get_posts(Array) #4 /home1/yokotacl/public_html/wp-includes/plugin.php(249): WP_Hook->apply_filters(Array, Array) #5 /home1/yokotacl/public_html/wp-includes/class-wp-query.php(3190): apply_filters_ref_array(‘the_posts’, Array) #6 /home1/yokotacl/public_html/wp-includes/class-wp-query.php(3448): WP_Query->get_posts() #7 /home1/yokotacl/public_html/wp-includes/class-wp-query.php(3559): WP_Query- in /home1/yokotacl/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 178
    There has been a critical error on your website.

    Learn more about debugging in WordPress.

    Please assist as I have Ads running to advertise the site, and I had to put the site in maintenance mode.

    Thank you in advance

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Niels Lange

    (@nielslange)

    Hello @erowebs,

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.

    Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.

    Thread Starter erowebs

    (@erowebs)

    Hello @erowebs,

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.

    Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    For some reason, it doesn’t give me the option for get system status?

    Screen Shot

    if you want I can give you admin access so you can look yourself.

    Thread Starter erowebs

    (@erowebs)

    if it helps my theme is Classiera 4.0.

    Thread Starter erowebs

    (@erowebs)

    I am coping and pasting what on the screen as I don’t have the for support option

    WordPress environment
    WordPress address (URL):		https://www.yokota-classifieds.com
    Site address (URL):		https://www.yokota-classifieds.com
    WooCommerce version:		4.4.0
    WooCommerce REST API package:		 1.0.15 /home1/yokotacl/public_html/wp-content/plugins/woocommerce/packages/woocommerce-rest-api
    WooCommerce Blocks package:		 3.1.0 /home1/yokotacl/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/
    Action Scheduler package:		 3.1.6 /home1/yokotacl/public_html/wp-content/plugins/woocommerce/packages/action-scheduler
    WooCommerce Admin package:		 1.4.0 /home1/yokotacl/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin
    Log directory writable:		 /home1/yokotacl/public_html/wp-content/uploads/wc-logs/
    WordPress version:		5.5
    WordPress multisite:		–
    WordPress memory limit:		256 MB
    WordPress debug mode:		–
    WordPress cron:		
    Language:		en_US
    External object cache:		–
    Server environment
    Server info:		Apache
    PHP version:		7.4.9
    PHP post max size:		260 MB
    PHP time limit:		300
    PHP max input vars:		1000
    cURL version:		7.71.1, OpenSSL/1.1.1g
    SUHOSIN installed:		–
    MySQL version:		5.6.41-84.1
    Max upload size:		260 MB
    Default timezone is UTC:		
    fsockopen/cURL:		
    SoapClient:		
    DOMDocument:		
    GZip:		
    Multibyte string:		
    Remote post:		
    Remote get:		
    Database
    WooCommerce database version:		4.4.0
    Database prefix	 	wpsu_
    Total Database Size	 	6.94MB
    Database Data Size	 	5.06MB
    Database Index Size	 	1.88MB
    wpsu_woocommerce_sessions	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_woocommerce_api_keys	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_woocommerce_attribute_taxonomies	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_woocommerce_downloadable_product_permissions	 	Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpsu_woocommerce_order_items	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_woocommerce_order_itemmeta	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_woocommerce_tax_rates	 	Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpsu_woocommerce_tax_rate_locations	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_woocommerce_shipping_zones	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_woocommerce_shipping_zone_locations	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_woocommerce_shipping_zone_methods	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_woocommerce_payment_tokens	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_woocommerce_payment_tokenmeta	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_woocommerce_log	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_actionscheduler_actions	 	Data: 0.06MB + Index: 0.11MB + Engine InnoDB
    wpsu_actionscheduler_claims	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_actionscheduler_groups	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_actionscheduler_logs	 	Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wpsu_apsl_users_social_profile_details	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_author_favorite	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_author_followers	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_classiera_inbox	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_classiera_inbox_meta	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_classiera_inbox_read	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_classiera_plans	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_commentmeta	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_comments	 	Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wpsu_gglcptch_whitelist	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_layerslider	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_layerslider_revisions	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_links	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_mo_openid_linked_user	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_options	 	Data: 2.03MB + Index: 0.09MB + Engine InnoDB
    wpsu_postmeta	 	Data: 1.50MB + Index: 0.36MB + Engine InnoDB
    wpsu_posts	 	Data: 0.34MB + Index: 0.06MB + Engine InnoDB
    wpsu_social_users	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_termmeta	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_terms	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_term_relationships	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_term_taxonomy	 	Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wpsu_usermeta	 	Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wpsu_users	 	Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpsu_wc_admin_notes	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_wc_admin_note_actions	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_wc_category_lookup	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_wc_customer_lookup	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_wc_download_log	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_wc_order_coupon_lookup	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_wc_order_product_lookup	 	Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpsu_wc_order_stats	 	Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpsu_wc_order_tax_lookup	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpsu_wc_product_meta_lookup	 	Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wpsu_wc_reserved_stock	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpsu_wc_tax_rate_classes	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_wc_webhooks	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpsu_wpmm_subscribers	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Post Type Counts
    attachment	 	236
    blog	 	3
    cities	 	18
    countries	 	6
    customize_changeset	 	8
    nav_menu_item	 	21
    page	 	33
    post	 	12
    price_plan	 	4
    product	 	11
    revision	 	25
    shop_order	 	10
    states	 	4
    Security
    Secure connection (HTTPS):		
    Hide errors from visitors		
    Active plugins (17)
    Redux Lite	 	by Redux.io + Dovy Paukstys – 4.1.15
    LayerSlider WP	 	by Kreatura Media – 6.11.2
    Social Login WordPress Plugin - AccessPress Social Login Lite	 	by AccessPress Themes – 3.4.5
    AccessPress Social Share	 	by AccessPress Themes – 4.5.2
    Advanced WordPress Reset	 	by Younes JFR. – 1.1.0
    Classiera Demo Importer	 	by JoinWebs – 1.3
    Classiera Helper	 	by JoinWebs – 2.0.12
    Classiera Locations	 	by JoinWebs – 2.0.3
    reCaptcha by BestWebSoft	 	by BestWebSoft – 1.57
    Jetpack by WordPress.com	 	by Automattic – 8.8.2
    Social Login, Social Sharing by miniOrange	 	by miniOrange – 7.3.12
    Nextend Social Login	 	by Nextendweb – 3.0.24
    One Click Demo Import	 	by ProteusThemes – 2.6.1
    User Role Editor	 	by Vladimir Garagulya – 4.56
    WooCommerce	 	by Automattic – 4.4.0
    WordPress Importer	 	by wordpressdotorg – 0.7
    WP Maintenance Mode	 	by Designmodo – 2.2.4
    Inactive plugins (14)
    Akismet Anti-Spam	 	by Automattic – 4.1.6
    Classifier	 	by wp-themespro – 1.1
    Contact Form 7	 	by Takayuki Miyoshi – 5.2.1
    Hello Dolly	 	by Matt Mullenweg – 1.7.2
    Loginizer	 	by Softaculous – 1.5.4
    MB Settings Page	 	by MetaBox.io – 1.3.5
    MB Term Meta	 	by MetaBox.io – 1.2.5
    Meta Box	 	by MetaBox.io – 5.3.3
    Meta Box Builder	 	by MetaBox.io – 3.2.1
    MOJO Marketplace	 	by Mike Hansen – 1.5.6
    PageLayer	 	by Pagelayer Team – 1.2.2
    Site Kit by Google	 	by Google – 1.14.0
    WooCommerce Stripe Gateway	 	by WooCommerce – 4.5.1 – Installed version not tested with active version of WooCommerce 4.4.0
    wpCentral	 	by Softaculous Ltd. – 1.5.3
    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)
    Connected to WooCommerce.com:		
    WooCommerce pages
    Shop base:		 Page not set
    Cart:		#84 - /cart/
    Checkout:		#85 - /checkout/
    My account:		#86 - /my-account/
    Terms and conditions:		#46 - /terms-and-conditions/
    Theme
    Name:		Classiera
    Version:		4.0.13
    Author URL:		https://themeforest.net/user/joinwebs
    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	 	classiera/woocommerce/archive-product.php,
    classiera/woocommerce/single-product.php
    Action Scheduler
    Version:	3.1.6
    Action Status	 	Count	Oldest Scheduled Date	Newest Scheduled Date
    Complete	 	100	2020-08-15 11:51:43 +0000	2020-08-19 11:15:28 +0000
    Pending	 	1	2020-08-19 11:30:28 +0000	2020-08-19 11:30:28 +0000

    Lead dev of Redux here.

    The WooCommerce team has fixed this and you need WooCommerce version 4.4.1 due out probably today, or downgrade to v4.3.3. You can read all the details here: https://github.com/woocommerce/woocommerce/issues/27394

    ??

    Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    As noted above, this appears to be related to a change that was recently made.

    The WooCommerce core team is working on releasing version 4.4.1, which should resolve this problem. Once that is released, you’ll see the option to update on your “Plugins” tab.

    As such, I’ll mark this thread as resolved.

    Jeff D

    (@twogringosmedia)

    They finally released an update. Not in the regular channels, yet, but it’s on Github where they develop it. It works for me.
    https://github.com/woocommerce/woocommerce/releases/tag/4.4.1

    Here’s wah happened and what the fixed/disabled to get it to work for now: https://github.com/woocommerce/woocommerce/blob/master/src/README.md

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal error from Woocommerce since’ is closed to new replies.