• Resolved mherding

    (@mherding)


    We hav an error in the product backend.

    Error:

    CRITICAL Uncaught Error: Call to a member function get_type() on bool in /homepages/28/d745329365/htdocs/shop/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php:20
    Stack trace:
    #0 /homepages/28/d745329365/htdocs/shop/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(33): include()
    #1 /homepages/28/d745329365/htdocs/shop/wp-admin/includes/template.php(1389): WC_Meta_Box_Product_Data::output(Object(WP_Post), Array)
    #2 /homepages/28/d745329365/htdocs/shop/wp-admin/edit-form-advanced.php(688): do_meta_boxes(Object(WP_Screen), 'normal', Object(WP_Post))
    #3 /homepages/28/d745329365/htdocs/shop/wp-admin/post.php(206): require('/homepages/28/d...')
    #4 {main}
      thrown in /homepages/28/d745329365/htdocs/shop/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php in Zeile 20′
    
    System Report:
    

    ### WordPress Environment ###

    WordPress address (URL): https://shop.herding-textiles.com
    Site address (URL): https://shop.herding-textiles.com
    WC Version: 5.3.0
    REST API Version: ? 5.3.0
    WC Blocks Version: ? 4.9.1
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 2.2.6
    Log Directory Writable: ?
    WP Version: 5.7.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: de_DE_formal
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.4.18
    PHP Post Max Size: 64 MB
    PHP Time Limit: 50000
    PHP Max Input Vars: 5000
    cURL Version: 7.64.0
    OpenSSL/1.1.1d

    SUHOSIN Installed: –
    MySQL Version: 5.7.33-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: 5.3.0
    WC Database Prefix: wp_
    Datenbank-Gesamtgr??e: 79.40MB
    Datenbank-Datengr??e: 67.27MB
    Datenbank-Indexgr??e: 12.13MB
    wp_woocommerce_sessions: Daten: 11.02MB + Index: 0.33MB + Engine InnoDB
    wp_woocommerce_api_keys: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    magnalister_apirequests: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    magnalister_config: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    magnalister_ebay_categories: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    magnalister_ebay_errorlog: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    magnalister_ebay_prepare: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    magnalister_errorlog: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    magnalister_global_selection: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    magnalister_image: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    magnalister_listings_deleted: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    magnalister_magnacompat_errorlog: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    magnalister_orders: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    magnalister_preparedefaults: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    magnalister_products: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    magnalister_selection: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_actionscheduler_actions: Daten: 2.52MB + Index: 2.91MB + Engine InnoDB
    wp_actionscheduler_claims: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Daten: 2.52MB + Index: 1.94MB + Engine InnoDB
    wp_berocket_termmeta: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_blc_filters: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_blc_instances: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_blc_links: Daten: 0.06MB + Index: 0.06MB + Engine InnoDB
    wp_blc_synch: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_borlabs_cookie_consent_log: Daten: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_borlabs_cookie_content_blocker: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_borlabs_cookie_cookies: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_borlabs_cookie_groups: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_borlabs_cookie_script_blocker: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_braapf_product_stock_status_parent: Daten: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_braapf_product_variation_attributes: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_braapf_term_taxonomy_hierarchical: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_braapf_variation_attributes: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Daten: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_fusion_forms: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fusion_form_entries: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fusion_form_fields: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_fusion_form_submissions: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gdpr_cc_options: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mclean_refs: Daten: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_mclean_scan: Daten: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_options: Daten: 12.08MB + Index: 0.19MB + Engine InnoDB
    wp_pmxe_exports: Daten: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_pmxe_google_cats: Daten: 0.39MB + Index: 0.00MB + Engine InnoDB
    wp_pmxe_posts: Daten: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_pmxe_templates: Daten: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_files: Daten: 0.16MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_hash: Daten: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_history: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_images: Daten: 0.11MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_imports: Daten: 0.11MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_posts: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_templates: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_postmeta: Daten: 6.05MB + Index: 2.03MB + Engine InnoDB
    wp_posts: Daten: 25.03MB + Index: 0.33MB + Engine InnoDB
    wp_shortpixel_folders: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_shortpixel_meta: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_sib_model_contact: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_sib_model_country: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Daten: 0.13MB + Index: 0.17MB + Engine InnoDB
    wp_terms: Daten: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_term_relationships: Daten: 0.22MB + Index: 0.14MB + Engine InnoDB
    wp_term_taxonomy: Daten: 0.11MB + Index: 0.14MB + Engine InnoDB
    wp_usermeta: Daten: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_users: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Daten: 0.14MB + Index: 0.31MB + Engine InnoDB
    wp_wc_reserved_stock: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_gzd_dhl_im_products: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_dhl_im_product_services: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_dhl_labelmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_dhl_labels: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_packaging: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_gzd_packagingmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_shipmentmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_shipments: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_woocommerce_gzd_shipment_itemmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_shipment_items: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_gzd_shipment_labelmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_shipment_labels: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_gzd_shipping_provider: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_gzd_shipping_providermeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpr_rucss_resources: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wpr_rucss_used_css: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_indexable: Daten: 3.50MB + Index: 0.95MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Daten: 0.08MB + Index: 0.08MB + Engine InnoDB
    wp_yoast_migrations: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_prominent_words: Daten: 0.14MB + Index: 0.14MB + Engine InnoDB
    wp_yoast_seo_links: Daten: 0.41MB + Index: 0.20MB + Engine InnoDB

    ### Post Type Counts ###

    acoplw_badges: 1
    acoplw_prod_list: 1
    attachment: 796
    avada_faq: 1
    br_filters_group: 1
    br_product_filter: 10
    fusion_element: 2
    fusion_form: 1
    fusion_tb_section: 3
    fusion_template: 1
    ibfw_product_label: 1
    nav_menu_item: 41
    oembed_cache: 8
    page: 47
    post: 1
    product: 283
    product_variation: 208
    revision: 3
    seedprod: 2
    shop_order: 5
    wobd-badge-designer: 3

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (34) ###

    FiboSearch – AJAX Search for WooCommerce: von FiboSearch Team – 1.11.0
    AGB-Connector der IT-Recht Kanzlei: von Inpsyde GmbH – 2.1.0
    All-in-One WP Migration Unlimited Extension: von ServMask – 2.40
    All-in-One WP Migration: von ServMask – 7.43
    Autoptimize: von Frank Goossens (futtta) – 2.8.4
    Borlabs Cookie – Cookie Opt-in: von Benjamin A. Bornschein
    Borlabs – 2.2.26

    Broken Link Checker: von WPMU DEV – 1.11.15
    Coming Soon Page, Maintenance Mode & Landing Pages by SeedProd: von SeedProd – 6.2.3
    Avada Builder: von ThemeFusion – 3.3.1
    Avada Core: von ThemeFusion – 5.3.1
    Avada Custom Branding: von ThemeFusion – 1.2
    magnalister: von magnalister – 3.0.3
    Media Cleaner: von Jordy Meow – 6.1.7
    Perfect Brands for WooCommerce: von QuadLayers – 1.8.7
    PW WooCommerce Bulk Edit: von Pimwick
    LLC – 2.88

    Safe SVG: von Daryll Doyle – 1.9.9
    SEO Friendly Images: von Vladimir Prelovac – 3.0.5
    ShortPixel Image Optimizer: von ShortPixel – 4.22.2
    User Role Editor: von Vladimir Garagulya – 4.59.1
    Woo Badge Designer – WooCommerce Product Badge Designer WordPress Plugin: von AccessPress Themes – 3.0.9
    PayPal PLUS für WooCommerce: von Inpsyde GmbH – 2.2.1
    WooCommerce AJAX Products Filter: von BeRocket – 3.0.3.6
    Germanized für WooCommerce: von vendidero – 3.4.8
    Sendinblue – WooCommerce Email Marketing: von Sendinblue – 2.0.20
    WooCommerce: von Automattic – 5.3.0
    Yoast SEO Premium: von Team Yoast – 16.4
    Yoast SEO: von Team Yoast – 16.4
    WP All Export Pro: von Soflyy – 1.6.5
    WP All Import Pro: von Soflyy – 4.6.7
    WP Mail SMTP: von WPForms – 2.8.0
    WP Rocket: von WP Media – 3.9.0.1
    WP All Import – WooCommerce Add-On Pro: von Soflyy – 3.2.6
    Yoast SEO: WooCommerce: von Team Yoast – 14.1
    Yoast Test Helper: von Team Yoast – 1.14

    ### Inactive Plugins (0) ###

    ### Dropin Plugins (1) ###

    advanced-cache.php: advanced-cache.php

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    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 ###

    Shop-Basis: ? Seite nicht festgelegt
    Warenkorb: #1117 – /warenkorb/
    Kasse: #1118 – /kasse/
    Mein Konto: #1119 – /mein-konto/
    Allgemeine Gesch?ftsbedingungen: #8 – /agb/

    ### Theme ###

    Name: Avada Child
    Version: 1.0.0
    Author URL: https://theme-fusion.com
    Child Theme: ?
    Parent Theme Name: Avada
    Parent Theme Version: 7.3.1
    Parent Theme Author URL: https://themeforest.net/user/ThemeFusion
    WooCommerce Support: ?

    ### Templates ###

    Overrides: Avada/woocommerce/cart/cart.php
    Avada/woocommerce/checkout/form-pay.php
    Avada/woocommerce/checkout/review-order.php
    Avada/woocommerce/checkout/thankyou.php
    Avada-Child-Theme/woocommerce/emails/customer-reset-password.php
    Avada/woocommerce/loop/loop-start.php
    Avada/woocommerce/single-product/add-to-cart/variable.php
    Avada/woocommerce/single-product/short-description.php
    Avada/woocommerce/single-product/tabs/additional-information.php
    Avada/woocommerce/single-product/tabs/description.php

    ### Action Scheduler ###

    Abgeschlossen: 9.960
    Oldest: 2021-05-14 11:04:08 +0200
    Newest: 2021-06-07 09:08:24 +0200

    ### Status report information ###

    Generated at: 2021-06-07 09:16:05 +02:00
    `

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mherding

    (@mherding)

    This is the problem php code:

    <span class="type_box hidden"> &mdash;
    		<label for="product-type">
    			<select id="product-type" name="product-type">
    				<optgroup label="<?php esc_attr_e( 'Product Type', 'woocommerce' ); ?>">
    				<?php foreach ( wc_get_product_types() as $value => $label ) : ?>
    					<option value="<?php echo esc_attr( $value ); ?>" <?php echo selected( $product_object->get_type(), $value, false ); ?>><?php echo esc_html( $label ); ?></option>
    				<?php endforeach; ?>
    				</optgroup>
    			</select>
    		</label>
    Thread Starter mherding

    (@mherding)

    The problem occurs only with one user out of 5. The user is also an admin.

    Plugin Support Sol J. a11n

    (@solstudioim)

    Hi there @mherding

    It seems to be related to theme/plugin conflict within your website.

    Please follow the guide here to resolve the issue by doing a conflict test and uncover which plugin might have conflicted with WooCommerce core.

    Let me know if you have done the conflict test!

    Thread Starter mherding

    (@mherding)

    But why it’s an plugin problem ? The problem occurs only by one user.

    Plugin Support Sol J. a11n

    (@solstudioim)

    Hi there @mherding

    But why it’s an plugin problem ? The problem occurs only by one user.

    Such an error in the backend is very likely of plugins conflict as we don’t have this critical error widespread.

    Please follow all the steps below to determine if the issue is being caused by a theme and/or plugin:

    1. Temporarily switch your theme back to the?Storefront and test for the issue

    2. If the issue persists, disable all plugins except WooCommerce.

    3. Test to see if the issue has been resolved.

    4. If that resolves the issue, then one-by-one you can switch back your theme and re-enable your plugins, testing in between, until you find the one causing the conflict.

    If doing this on your live site is not possible, you can create a duplicate site. We suggest using?WP Staging?if your hosting provider does not offer a staging server as an option.

    Let me know how it goes.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Product Error Line 20’ is closed to new replies.