• Resolved armandolas

    (@armandolas)


    Hello Im getting this error in my product admin pages

    Fatal error: Uncaught Exception: Invalid product. in /home2/camperki/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:167 Stack trace: #0 /home2/camperki/public_html/wp-content/plugins/woocommerce-bookings/includes/data-stores/class-wc-product-booking-data-store-cpt.php(134): WC_Product_Data_Store_CPT->read(Object(WC_Product_Booking)) #1 /home2/camperki/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Booking_Data_Store_CPT->read(Object(WC_Product_Booking)) #2 /home2/camperki/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(138): WC_Data_Store->read(Object(WC_Product_Booking)) #3 /home2/camperki/public_html/wp-content/plugins/woocommerce-bookings/includes/data-objects/class-wc-product-booking.php(80): WC_Product->__construct(11389) #4 /home2/camperki/public_html/wp-content/plugins/woocommerce-bookings/includes/admin/class-wc-bookings-admin.php(567): WC_Product_Booking->__construct(11389) #5 / in /home2/camperki/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 167

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    It looks like the error is related to our premium extension:
    https://woocommerce.com/products/woocommerce-bookings/

    To confirm, can 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”.?

    We’ll look forward to hearing from you.

    Thread Starter armandolas

    (@armandolas)

    yhanks for the fast reply. You can find the status report below:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://camperkingportugal.com
    Site address (URL): https://camperkingportugal.com
    WC Version: 6.6.1
    REST API Version: ? 6.6.1
    WC Blocks Version: ? 7.6.2
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.30
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.5.16-MariaDB
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.6.1
    WC Database Prefix: wp_
    Total Database Size: 38.14MB
    Database Data Size: 24.27MB
    Database Index Size: 13.87MB
    wp_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.14MB + Index: 0.14MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 1.38MB + Index: 0.67MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.45MB + Index: 0.36MB + Engine InnoDB
    wp_ariadminer_connections: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_follow: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_content_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_core_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_languages: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_icl_languages_translations: Data: 0.10MB + Index: 0.10MB + Engine MyISAM
    wp_icl_locale_map: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_message_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_mo_files_domains: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_node: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_reminders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_strings: Data: 5.39MB + Index: 4.89MB + Engine MyISAM
    wp_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_string_packages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_string_pages: Data: 1.34MB + Index: 2.50MB + Engine MyISAM
    wp_icl_string_positions: Data: 0.08MB + Index: 0.04MB + Engine MyISAM
    wp_icl_string_status: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_string_translations: Data: 2.85MB + Index: 1.22MB + Engine MyISAM
    wp_icl_string_urls: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_icl_translate: Data: 0.59MB + Index: 0.08MB + Engine MyISAM
    wp_icl_translate_job: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_translations: Data: 0.06MB + Index: 0.13MB + Engine MyISAM
    wp_icl_translation_batches: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_translation_status: Data: 0.65MB + Index: 0.01MB + Engine MyISAM
    wp_imagify_files: Data: 0.03MB + Index: 0.04MB + Engine MyISAM
    wp_imagify_folders: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_iqblock_logging: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 2.17MB + Index: 0.13MB + Engine InnoDB
    wp_postmeta: Data: 4.52MB + Index: 1.97MB + Engine InnoDB
    wp_posts: Data: 1.52MB + Index: 0.30MB + Engine InnoDB
    wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_redirection_404: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_redirection_items: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
    wp_redirection_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_rentit_booking: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_sib_model_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_sib_model_lang: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_sib_model_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.14MB + Index: 0.11MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wp_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_wc_booking_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_deposits_payment_plans: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_deposits_payment_plans_schedule: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpstg_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 0.19MB + Index: 0.09MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 858
    custom_css: 1
    flamingo_contact: 5
    jetpack_migration: 2
    jp_img_sitemap: 1
    jp_sitemap: 1
    jp_sitemap_master: 1
    nav_menu_item: 44
    oembed_cache: 1
    page: 51
    portfolio: 19
    post: 14
    product: 11
    rental_location: 8
    revision: 45
    shop_coupon: 1
    shop_order: 78
    shop_order_refund: 3
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (33) ###
    
    WPML Multilingual CMS: by OnTheGoSystems – 4.5.8
    WPML SEO: by OnTheGoSystems – 2.0.1
    Advanced Custom Fields Multilingual: by OnTheGoSystems – 1.10.3
    All-in-One WP Migration Unlimited Extension: by ServMask – 2.46
    All-in-One WP Migration: by ServMask – 7.62
    ARI Adminer: by ARI Soft – 1.2.3
    Conditional Fields for Contact Form 7: by Jules Colle – 2.2
    Classic Editor: by WordPress Contributors – 1.6.2
    Contact Form 7: by Takayuki Miyoshi – 5.6
    GA Google Analytics: by Jeff Starr – 20220517
    Health Check & Troubleshooting: by The www.remarpro.com community – 1.4.5
    Imagify: by WP Media – 1.10
    Insert Headers and Footers: by WPBeginner – 1.6.2
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.6.0
    Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue: by Sendinblue – 3.1.44
    Personalized WooCommerce Store Pro: by Najeeb Ahmad – 2.2
    WooHero: by N-Media – 3.4
    Redirection: by John Godley – 5.2.3
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Rentit: by Victor Lerner [email protected] – 2.2.2
    Tawk.to Live Chat: by Tawkto – 0.7.2
    WooCommerce Bookings: by Automattic – 1.12.2 (update to version 1.15.58 is available)
    WooCommerce Deposits: by WooCommerce – 1.4.13 (update to version 1.5.11 is available)
    WooCommerce Stripe Gateway: by WooCommerce – 6.4.3
    WooCommerce Google Analytics Pro: by SkyVerge – 1.7.1 (update to version 1.12.0 is available)
    WooCommerce Multilingual & Multicurrency: by OnTheGoSystems – 5.0.2
    WooCommerce PayPal Payments: by WooCommerce – 1.9.0
    WooCommerce: by Automattic – 6.6.1
    Yoast SEO: by Team Yoast – 19.2
    WP Fastest Cache: by Emre Vona – 1.0.2
    Backup Duplicator & Migration - WP STAGING: by WP-STAGING
    WPStagingBackup – 2.9.14
    
    WPML Media: by OnTheGoSystems – 2.7.0
    WPML String Translation: by OnTheGoSystems – 3.2.1
    
    ### Inactive Plugins (9) ###
    
    Akismet Anti-Spam: by Automattic – 4.2.4
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.6.0
    GTM4WP: by Thomas Geiger – 1.16
    iQ Block Country: by Pascal – 1.2.17
    Mailchimp for WooCommerce: by Mailchimp – 2.7
    WooCommerce Admin: by WooCommerce – 3.3.2
    WooCommerce Google Analytics Integration: by WooCommerce – 1.5.11
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3
    WP Rocket: by WP Media – 3.3.7
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    maintenance.php: maintenance.php
    
    ### Must Use Plugins (2) ###
    
    Health Check Troubleshooting Mode: by  – 1.7.2
    WP STAGING Optimizer: by René Hermenau – 1.5.1
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: booking (booking)
    external (external)
    grouped (grouped)
    rentit_rental (rentit_rental)
    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: ?
    Enforce Approved Product Download Directories: –
    
    ### WC Pages ###
    
    Shop base: #10336 - /our-campers/
    Cart: #10265 - /cart-2/
    Checkout: #10268 - /checkout/
    My account: #10337 - /my-account/
    Terms and conditions: #11286 - /terms-and-conditions-2/
    
    ### Theme ###
    
    Name: RentIt
    Version: 1.8.5
    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: rentit/woocommerce/archive-product.php
    rentit/woocommerce/auth/footer.php
    rentit/woocommerce/auth/form-grant-access.php
    rentit/woocommerce/auth/header.php
    rentit/woocommerce/cart/cart-totals.php
    rentit/woocommerce/cart/cart.php
    rentit/woocommerce/cart/proceed-to-checkout-button.php
    rentit/woocommerce/checkout/cart-errors.php
    rentit/woocommerce/checkout/form-billing.php
    rentit/woocommerce/checkout/form-checkout.php
    rentit/woocommerce/checkout/form-shipping.php
    rentit/woocommerce/checkout/payment-method.php
    rentit/woocommerce/checkout/review-order.php
    rentit/woocommerce/checkout/terms.php
    rentit/woocommerce/checkout/thankyou.php
    rentit/woocommerce/content-product.php
    rentit/woocommerce/content-single-product.php
    rentit/woocommerce/global/form-login.php
    rentit/woocommerce/global/sidebar.php
    rentit/woocommerce/global/wrapper-end.php
    rentit/woocommerce/global/wrapper-start.php
    rentit/woocommerce/loop/loop-end.php
    rentit/woocommerce/loop/loop-start.php
    rentit/woocommerce/loop/no-products-found.php
    rentit/woocommerce/loop/orderby.php
    rentit/woocommerce/loop/pagination.php
    rentit/woocommerce/loop/price.php
    rentit/woocommerce/loop/rating.php
    rentit/woocommerce/myaccount/my-address.php
    rentit/woocommerce/myaccount/navigation.php
    rentit/woocommerce/myaccount/orders.php
    rentit/woocommerce/notices/error.php
    rentit/woocommerce/notices/success.php
    rentit/woocommerce/order/order-details.php
    rentit/woocommerce/order/tracking.php
    rentit/woocommerce/single-product/add-to-cart/simple.php
    rentit/woocommerce/single-product/product-image.php
    rentit/woocommerce/single-product/rating.php
    rentit/woocommerce/single-product/related.php
    rentit/woocommerce/single-product/sale-flash.php
    rentit/woocommerce/single-product/share.php
    rentit/woocommerce/single-product/title.php
    rentit/woocommerce/single-product/up-sells.php
    rentit/woocommerce/single-product-reviews.php
    rentit/woocommerce/single-product.php
    rentit/woocommerce/content-product_cat.php
    rentit/woocommerce/taxonomy-product_cat.php
    rentit/woocommerce/taxonomy-product_tag.php
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: –
    Shop country code: PT
    WooCommerce currency supported: ?
    PayPal card processing available in country: –
    Pay Later messaging available in country: –
    Webhook status: –
    Vault enabled: –
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: ?
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ? Next scheduled: 2022-07-09 18:26:23 +00:00
    Options: ?
    Notes: 55
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 1,853
    Oldest: 2022-06-08 14:39:35 +0000
    Newest: 2022-07-09 13:49:33 +0000
    
    Pending: 4
    Oldest: 2022-07-09 14:49:33 +0000
    Newest: 2022-07-10 11:45:57 +0000
    
    ### Status report information ###
    
    Generated at: 2022-07-09 14:01:21 +00:00
    
    Roxy

    (@roxannestoltz)

    Hi @armandolas ,

    Thanks for providing the Status report.

    As Igor suggested, the error is indeed coming from the WooCommerce Bookings extension.

    Kindly contact WooCommerce.com > My Account > Support?and a Happiness Engineer will be able to assist you further with this premium extension. Please create the ticket using the account that you purchased the extension, and feel free to include a link to this forum topic on the ticket, so that they can use this topic as a reference.

    Thanks!

    Plugin Support Kaushik S. a11n

    (@kaushiksomaiya)

    Hi there @armandolas!

    Thanks for sharing the system status report.

    I see you are using one of our premium plugins from WooCommerce.com marketplace – WooCommerce Bookings.

    I’d suggest creating a ticket from your WooCommerce.com account dashboard: https://woocommerce.com/my-account/create-a-ticket/ to get support.

    Be sure to include a link to this forum thread and your site’s system status report while creating the ticket.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Uncaught Exception’ is closed to new replies.