• Resolved telebarn

    (@telebarn)


    Hello, I am unable to create products using the woocommerce plugin on my website.
    When I press the “Create Product” button, I am faced with the following error message:

    Warning: Creating default object from empty value in /home/telebarn/public_html/wp-admin/includes/post.php on line 708

    I am unsure of what to do, and I have even disabled all other plugins and it still does not fix the problem.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • This is usually from a server issue. You’re probably using an outdated PHP version.

    Can you grab a system report please?

    Goto WooCommerce > Status > Get System Report and paste it here.

    Thread Starter telebarn

    (@telebarn)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://telebarn.com
    Site address (URL): https://telebarn.com
    WC Version: 3.6.4
    Log Directory Writable: ✔
    WP Version: 5.2.1
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.1.30 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version
    PHP Post Max Size: 128 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 7.59.0
    OpenSSL/1.0.2r
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.40-84.0-log
    Max Upload Size: 128 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: wpyy_
    MaxMind GeoIP Database: ✔
    Total Database Size: 11.13MB
    Database Data Size: 9.23MB
    Database Index Size: 1.90MB
    wpyy_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB
    wpyy_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wpyy_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wpyy_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB
    wpyy_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB
    wpyy_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB
    wpyy_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wpyy_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    wpyy_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wpyy_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    wpyy_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wpyy_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wpyy_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wpyy_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wpyy_adsw_activities: Data: 0.05MB + Index: 0.00MB
    wpyy_adsw_ali_meta: Data: 0.02MB + Index: 0.03MB
    wpyy_adsw_search_analytics: Data: 0.02MB + Index: 0.02MB
    wpyy_ads_activities: Data: 0.02MB + Index: 0.00MB
    wpyy_ads_ali_meta: Data: 0.02MB + Index: 0.03MB
    wpyy_ads_attributes: Data: 0.02MB + Index: 0.03MB
    wpyy_ads_categories: Data: 0.02MB + Index: 0.02MB
    wpyy_ads_orders_item: Data: 0.02MB + Index: 0.03MB
    wpyy_ads_products: Data: 0.02MB + Index: 0.03MB
    wpyy_ads_products_meta: Data: 0.02MB + Index: 0.02MB
    wpyy_ads_search_analytics: Data: 0.02MB + Index: 0.02MB
    wpyy_commentmeta: Data: 0.02MB + Index: 0.03MB
    wpyy_comments: Data: 0.02MB + Index: 0.09MB
    wpyy_failed_jobs: Data: 0.02MB + Index: 0.00MB
    wpyy_links: Data: 0.02MB + Index: 0.02MB
    wpyy_litespeed_img_optm: Data: 0.02MB + Index: 0.09MB
    wpyy_litespeed_optimizer: Data: 0.02MB + Index: 0.03MB
    wpyy_mailchimp_carts: Data: 0.02MB + Index: 0.00MB
    wpyy_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB
    wpyy_nextend2_section_storage: Data: 0.02MB + Index: 0.03MB
    wpyy_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB
    wpyy_nextend2_smartslider3_sliders: Data: 0.05MB + Index: 0.00MB
    wpyy_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.00MB
    wpyy_nextend2_smartslider3_slides: Data: 0.06MB + Index: 0.00MB
    wpyy_options: Data: 3.03MB + Index: 0.05MB
    wpyy_payment_discount: Data: 0.02MB + Index: 0.00MB
    wpyy_payment_transaction: Data: 0.02MB + Index: 0.06MB
    wpyy_postmeta: Data: 0.13MB + Index: 0.03MB
    wpyy_posts: Data: 0.23MB + Index: 0.06MB
    wpyy_queue: Data: 0.02MB + Index: 0.00MB
    wpyy_social_users: Data: 0.02MB + Index: 0.02MB
    wpyy_termmeta: Data: 0.02MB + Index: 0.03MB
    wpyy_terms: Data: 0.05MB + Index: 0.03MB
    wpyy_term_relationships: Data: 0.02MB + Index: 0.02MB
    wpyy_term_taxonomy: Data: 0.06MB + Index: 0.06MB
    wpyy_usermeta: Data: 0.02MB + Index: 0.03MB
    wpyy_users: Data: 0.02MB + Index: 0.05MB
    wpyy_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wpyy_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB
    wpyy_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wpyy_wfblockediplog: Data: 0.02MB + Index: 0.00MB
    wpyy_wfblocks7: Data: 0.02MB + Index: 0.05MB
    wpyy_wfconfig: Data: 0.08MB + Index: 0.00MB
    wpyy_wfcrawlers: Data: 0.02MB + Index: 0.00MB
    wpyy_wffilechanges: Data: 0.02MB + Index: 0.00MB
    wpyy_wffilemods: Data: 2.52MB + Index: 0.00MB
    wpyy_wfhits: Data: 0.02MB + Index: 0.05MB
    wpyy_wfhoover: Data: 0.02MB + Index: 0.02MB
    wpyy_wfissues: Data: 0.02MB + Index: 0.06MB
    wpyy_wfknownfilelist: Data: 1.52MB + Index: 0.00MB
    wpyy_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB
    wpyy_wflocs: Data: 0.02MB + Index: 0.00MB
    wpyy_wflogins: Data: 0.02MB + Index: 0.03MB
    wpyy_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB
    wpyy_wfls_settings: Data: 0.02MB + Index: 0.00MB
    wpyy_wfnotifications: Data: 0.02MB + Index: 0.00MB
    wpyy_wfpendingissues: Data: 0.02MB + Index: 0.06MB
    wpyy_wfreversecache: Data: 0.02MB + Index: 0.00MB
    wpyy_wfsnipcache: Data: 0.02MB + Index: 0.05MB
    wpyy_wfstatus: Data: 0.06MB + Index: 0.03MB
    wpyy_wftrafficrates: Data: 0.02MB + Index: 0.00MB
    wpyy_yoast_seo_links: Data: 0.02MB + Index: 0.02MB
    wpyy_yoast_seo_meta: Data: 0.11MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 32
    customize_changeset: 39
    nav_menu_item: 8
    page: 10
    post: 1
    product: 1
    revision: 31
    scheduled-action: 1
    shop_order: 1
    wpcf7_contact_form: 2
    wpforms: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ❌Error messages should not be shown to visitors.
    
    ### Active Plugins (15) ###
    
    AliDropship Woo Plugin: by Vitaly Kukin & Yaroslav Nevskiy & Pavel Shishkin & Denis Zharov – 1.5.3
    Contact Form 7: by Takayuki Miyoshi – 5.1.3
    Jetpack by WordPress.com: by Automattic – 7.4
    Mailchimp for WooCommerce: by Mailchimp – 2.1.16 – Not tested with the active version of WooCommerce
    Nextend Social Login: by Nextendweb – 3.0.20
    SG Optimizer: by SiteGround – 5.1.3
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.14
    WooCommerce Stripe Gateway: by WooCommerce – 4.2.0
    WooCommerce Services: by Automattic – 1.20.0
    WooCommerce: by Automattic – 3.6.4
    WooSidebars: by WooCommerce – 1.4.5
    Wordfence Security: by Wordfence – 7.3.3
    WordPress Importer: by wordpressdotorg – 0.6.4
    WordPress Starter: by SiteGround – 1.0.2
    WPForms Lite: by WPForms – 1.5.2.3
    
    ### Inactive Plugins (0) ###
    
    ### 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: –
    
    ### WC Pages ###
    
    Shop base: #88 - /shop/
    Cart: #89 - /cart/
    Checkout: #90 - /checkout/
    My account: #91 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Flatsome
    Version: 3.8.3
    Author URL: http://www.uxthemes.com/
    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: flatsome/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart-empty.php
    flatsome/woocommerce/cart/cart-shipping.php
    flatsome/woocommerce/cart/cart.php
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/form-coupon.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-product_cat.php
    flatsome/woocommerce/content-single-product.php
    flatsome/woocommerce/content-widget-product.php
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/quantity-input.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/result-count.php
    flatsome/woocommerce/loop/sale-flash.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/myaccount/navigation.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/notice.php
    flatsome/woocommerce/notices/success.php
    flatsome/woocommerce/product-searchform.php
    flatsome/woocommerce/single-product/photoswipe.php
    flatsome/woocommerce/single-product/price.php
    flatsome/woocommerce/single-product/product-image.php
    flatsome/woocommerce/single-product/product-thumbnails.php
    flatsome/woocommerce/single-product/rating.php
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php
    
    ### Action Scheduler ###
    
    Complete: 1
    Oldest: 2019-06-12 02:48:44 +0000
    Newest: 2019-06-12 02:48:44 +0000
    
    Pending: 0
    Oldest: –
    Newest: –
    
    Canceled: 0
    Oldest: –
    Newest: –
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    
    

    Thanks. PHP looks okay. You have a lot of overriding going on in that theme too. I’d try switching to a default theme temporarily to see if it’s something to do in your theme.

    Plugin Support Ryan Ray, a11n

    (@ryanr14)

    Hi @telebarn,

    Did a temporary theme switch help anything here and let you start creating products? 🙂

    Plugin Support Rynald0s.a11n

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy!

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to Create Products’ is closed to new replies.