Support » Theme: Storefront » Uncaught Error: Call to a member function value() on null

  • Resolved Abraham Morales

    (@abramoca)


    Hi,
    I have a problem with this theme.

    2019-05-27T20:26:30+00:00 CRITICAL Uncaught Error: Call to a member function value() on null in /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php:1162
    Stack trace:
    #0 /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php(1217): Storefront_NUX_Starter_Content->_get_created_starter_content_products()
    #1 /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php(1007): Storefront_NUX_Starter_Content->_query_starter_content(‘page’, ‘homepage’, true)
    #2 /public_html/wp-includes/class-wp-hook.php(286): Storefront_NUX_Starter_Content->update_homepage_content(Object(WP_Customize_Manager))
    #3 /public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #4 /public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #5 /public_html/wp-includes/class-wp-customize-manager.php(1887): do_action(‘custom en /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php en la línea 1162

    When I try the WordPress Custimizer this happens.

    I currently use WooCommerce in its latest version.

    I could solve it commenting on the content of the function of line 1162

    I do not know what happens, does the same thing happen to someone?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @abramoca,

    This is the first report we’ve seen of this issue. Could you please share more information about your setup? Are you on the latest version of WordPress, WooCommerce, and Storefront?

    @archimboldi please open a different thread for your issue, thank you.

    Thank you

    Hi @tiagonoronha this is my configuration:
    WordPress 5.2.1
    WooCommerce 3.4.6
    StoreFront 2.5.0
    PHP 7.2

    RK

    (@riaanknoetze)

    Thanks @abramoca – To get a better picture of your configuration, please share a copy of your system status report as found under WooCommerce > System Status

    Thanks!

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.cocoaccesorios.mx
    Site address (URL): https://www.cocoaccesorios.mx
    WC Version: 3.6.4
    Log Directory Writable: ✔
    WP Version: 5.2.1
    WP Multisite: –
    WP Memory Limit: 384 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: es_ES
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.2.18
    PHP Post Max Size: 256 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 10000
    cURL Version: 7.62.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.2.23-MariaDB-cll-lve
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.6.4
    WC Database Prefix: wprm_
    MaxMind GeoIP Database: ✔
    Tamaño total de la base de datos: 220.41MB
    Tamaño de los datos de la base de datos: 131.68MB
    Tamaño del índice de la base de datos: 88.73MB
    wprm_woocommerce_sessions: Datos: 10.02MB + Índice: 0.14MB
    wprm_woocommerce_api_keys: Datos: 0.02MB + Índice: 0.03MB
    wprm_woocommerce_attribute_taxonomies: Datos: 0.02MB + Índice: 0.02MB
    wprm_woocommerce_downloadable_product_permissions: Datos: 0.02MB + Índice: 0.06MB
    wprm_woocommerce_order_items: Datos: 3.52MB + Índice: 2.52MB
    wprm_woocommerce_order_itemmeta: Datos: 32.56MB + Índice: 30.09MB
    wprm_woocommerce_tax_rates: Datos: 0.02MB + Índice: 0.06MB
    wprm_woocommerce_tax_rate_locations: Datos: 0.02MB + Índice: 0.05MB
    wprm_woocommerce_shipping_zones: Datos: 0.02MB + Índice: 0.00MB
    wprm_woocommerce_shipping_zone_locations: Datos: 0.02MB + Índice: 0.05MB
    wprm_woocommerce_shipping_zone_methods: Datos: 0.02MB + Índice: 0.00MB
    wprm_woocommerce_payment_tokens: Datos: 0.02MB + Índice: 0.02MB
    wprm_woocommerce_payment_tokenmeta: Datos: 0.02MB + Índice: 0.03MB
    wprm_woocommerce_log: Datos: 0.00MB + Índice: 0.00MB
    wpfi_commentmeta: Datos: 0.00MB + Índice: 0.00MB
    wpfi_comments: Datos: 0.00MB + Índice: 0.01MB
    wpfi_links: Datos: 0.00MB + Índice: 0.00MB
    wpfi_options: Datos: 0.39MB + Índice: 0.01MB
    wpfi_postmeta: Datos: 0.00MB + Índice: 0.01MB
    wpfi_posts: Datos: 0.00MB + Índice: 0.01MB
    wpfi_termmeta: Datos: 0.00MB + Índice: 0.00MB
    wpfi_terms: Datos: 0.00MB + Índice: 0.01MB
    wpfi_term_relationships: Datos: 0.00MB + Índice: 0.00MB
    wpfi_term_taxonomy: Datos: 0.00MB + Índice: 0.00MB
    wpfi_usermeta: Datos: 0.00MB + Índice: 0.01MB
    wpfi_users: Datos: 0.00MB + Índice: 0.01MB
    wprm_commentmeta: Datos: 0.02MB + Índice: 0.03MB
    wprm_comments: Datos: 14.52MB + Índice: 14.09MB
    wprm_datalist: Datos: 0.00MB + Índice: 0.00MB
    wprm_elfsight_social_share_buttons_widgets: Datos: 0.00MB + Índice: 0.00MB
    wprm_gglcptch_whitelist: Datos: 0.02MB + Índice: 0.00MB
    wprm_hustle_modules: Datos: 0.00MB + Índice: 0.00MB
    wprm_hustle_modules_meta: Datos: 0.00MB + Índice: 0.01MB
    wprm_links: Datos: 0.02MB + Índice: 0.02MB
    wprm_litespeed_img_optm: Datos: 0.00MB + Índice: 0.00MB
    wprm_litespeed_optimizer: Datos: 0.00MB + Índice: 0.00MB
    wprm_options: Datos: 4.27MB + Índice: 0.16MB
    wprm_popover_ip_cache: Datos: 0.02MB + Índice: 0.02MB
    wprm_postmeta: Datos: 34.53MB + Índice: 26.03MB
    wprm_posts: Datos: 9.50MB + Índice: 3.66MB
    wprm_power_stats_browsers: Datos: 0.02MB + Índice: 0.00MB
    wprm_power_stats_os: Datos: 0.02MB + Índice: 0.00MB
    wprm_power_stats_pageviews: Datos: 0.05MB + Índice: 0.02MB
    wprm_power_stats_posts: Datos: 2.52MB + Índice: 2.52MB
    wprm_power_stats_referers: Datos: 2.52MB + Índice: 0.00MB
    wprm_power_stats_searches: Datos: 0.02MB + Índice: 0.00MB
    wprm_power_stats_visits: Datos: 9.52MB + Índice: 2.52MB
    wprm_private_blog_access_logs: Datos: 0.00MB + Índice: 0.00MB
    wprm_rednao_wc_invoice: Datos: 0.00MB + Índice: 0.00MB
    wprm_rednao_wc_invoices_created: Datos: 0.01MB + Índice: 0.00MB
    wprm_rednao_wc_invoices_custom_field: Datos: 0.00MB + Índice: 0.00MB
    wprm_revslider_css: Datos: 0.13MB + Índice: 0.00MB
    wprm_revslider_layer_animations: Datos: 0.02MB + Índice: 0.00MB
    wprm_revslider_navigations: Datos: 0.02MB + Índice: 0.00MB
    wprm_revslider_sliders: Datos: 0.06MB + Índice: 0.00MB
    wprm_revslider_slides: Datos: 0.08MB + Índice: 0.00MB
    wprm_revslider_static_slides: Datos: 0.02MB + Índice: 0.00MB
    wprm_shipment_batch_process: Datos: 0.00MB + Índice: 0.00MB
    wprm_statistics_exclusions: Datos: 0.02MB + Índice: 0.03MB
    wprm_statistics_historical: Datos: 0.02MB + Índice: 0.05MB
    wprm_statistics_pages: Datos: 0.02MB + Índice: 0.05MB
    wprm_statistics_search: Datos: 0.02MB + Índice: 0.05MB
    wprm_statistics_useronline: Datos: 0.02MB + Índice: 0.00MB
    wprm_statistics_visit: Datos: 0.02MB + Índice: 0.02MB
    wprm_statistics_visitor: Datos: 0.02MB + Índice: 0.08MB
    wprm_termmeta: Datos: 0.02MB + Índice: 0.03MB
    wprm_terms: Datos: 0.02MB + Índice: 0.03MB
    wprm_term_relationships: Datos: 0.22MB + Índice: 0.16MB
    wprm_term_taxonomy: Datos: 0.02MB + Índice: 0.03MB
    wprm_usermeta: Datos: 5.52MB + Índice: 5.00MB
    wprm_users: Datos: 0.16MB + Índice: 0.16MB
    wprm_wc_admin_notes: Datos: 0.00MB + Índice: 0.00MB
    wprm_wc_admin_note_actions: Datos: 0.00MB + Índice: 0.00MB
    wprm_wc_customer_lookup: Datos: 0.00MB + Índice: 0.00MB
    wprm_wc_download_log: Datos: 0.00MB + Índice: 0.00MB
    wprm_wc_order_coupon_lookup: Datos: 0.00MB + Índice: 0.00MB
    wprm_wc_order_product_lookup: Datos: 0.00MB + Índice: 0.00MB
    wprm_wc_order_stats: Datos: 0.00MB + Índice: 0.00MB
    wprm_wc_order_tax_lookup: Datos: 0.00MB + Índice: 0.00MB
    wprm_wc_product_meta_lookup: Datos: 0.09MB + Índice: 0.12MB
    wprm_wc_webhooks: Datos: 0.00MB + Índice: 0.00MB
    wprm_woo_shipment_status_email: Datos: 0.00MB + Índice: 0.00MB
    wprm_woo_shippment_provider: Datos: 0.01MB + Índice: 0.00MB
    wprm_woo_sr_cart_items: Datos: 0.88MB + Índice: 0.70MB
    wprm_wpmcleaner: Datos: 0.00MB + Índice: 0.00MB
    wprm_yoast_seo_links: Datos: 0.00MB + Índice: 0.00MB
    wprm_yoast_seo_meta: Datos: 0.00MB + Índice: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 6719
    client-logo: 1
    custom_css: 3
    customize_changeset: 24
    ecwd_calendar: 1
    elementor_library: 2
    inc_popup: 1
    kwlogos: 3
    nav_menu_item: 14
    option-tree: 1
    page: 30
    portfolio: 12
    post: 9
    product: 1270
    revision: 727
    robo_gallery_table: 1
    scheduled-action: 105
    shop_coupon: 14
    shop_order: 3683
    shop_order_refund: 69
    vc-element: 2
    was: 2
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (16) ###
    
    Disable New User Notifications: por Thomas Griffin – 1.0.3
    Elementor Pro: por Elementor.com – 2.4.3
    Elementor: por Elementor.com – 2.5.15
    Fuse Social Floating Sidebar: por Daniyal Ahmed – 4.0
    Google Captcha (reCAPTCHA) by BestWebSoft: por BestWebSoft – 1.44
    LiteSpeed Cache: por LiteSpeed Technologies – 2.9.8
    Minimum Order Amount for Woocommerce: por Dario Curasì – 1.5.0 – No probado con la versión activa de WooCommerce
    Mis funciones: por Abraham Morales – 1.0
    Speed Contact Bar: por Alexandra Mutter
    Martin Stehle – 6.4.1
    
    WC Password Strength Settings: por Daniel Santoro – 2.1.0
    Advanced Shipment Tracking for WooCommerce: por zorem – 1.9.9.1
    Checkout Field Editor for WooCommerce: por ThemeHiGH – 1.3.2
    Woocommerce Minimum and Maximum Quantity: por Ashok G – 2.0.6 – No probado con la versión activa de WooCommerce
    WooCommerce TM Extra Product Options: por themecomplete – 4.5.2 – No probado con la versión activa de WooCommerce
    WooCommerce: por Automattic – 3.6.4
    Yoast SEO: por Equipo Yoast – 11.3 – No probado con la versión activa de WooCommerce
    
    ### Inactive Plugins (1) ###
    
    Contact Form 7: por Takayuki Miyoshi – 5.1.3
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: MXN ($)
    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: –
    
    ### WC Pages ###
    
    Base de la tienda: #23993 - /productos/
    Carrito: #23994 - /carrito/
    Finalizar compra: #23995 - /finalizar-comprar/
    Mi cuenta: #23996 - /mi-cuenta/
    Términos y condiciones: #25222 - /terminos-y-condiciones/
    
    ### Theme ###
    
    Name: StoreFront Child
    Version: 1.0.0
    Author URL: 
    Child Theme: ✔
    Parent Theme Name: Storefront
    Parent Theme Version: 2.5.0
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: /home/cocoacc2750/public_html/wp-content/plugins/woocommerce-tm-extra-product-options/templates/cart/cart-item-data.php
    La  version - de storefront-child/woocommerce/checkout/form-billing.php está obsoleta. La versión del núcleo es la 3.6.0
    La  version - de storefront-child/woocommerce/myaccount/my-address.php está obsoleta. La versión del núcleo es la 2.6.0
    La  version - de storefront-child/woocommerce/order/order-details-customer.php está obsoleta. La versión del núcleo es la 3.4.4
    La  version - de storefront-child/woocommerce/order/order-details-item.php está obsoleta. La versión del núcleo es la 3.0.0
    La  version - de storefront-child/woocommerce/order/order-details.php está obsoleta. La versión del núcleo es la 3.5.2
    
    Outdated Templates: ❌
    					
    					
    						Aprende cómo actualizar
    
    ### Action Scheduler ###
    
    Complete: 104
    Oldest: 2019-05-26 12:54:42 -0600
    Newest: 2019-05-26 12:55:45 -0600
    
    Pending: 0
    Oldest: –
    Newest: –
    
    Canceled: 1
    Oldest: 2019-05-27 14:16:04 -0600
    Newest: 2019-05-27 14:16:04 -0600
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    
    

    It is fixed, in plugin “Advanced Shipment Tracking for WooCommerce: por zorem”, updating 2.0.1

    Resolved

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.