Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1329789
    wakspiddlevak
    Participant

    Happens when trying to import products into Woocommerce from theprintful.com

    Any idea how to fix this? =) I hope..

    Thank you.
    Jeremiah

    
    ### WordPress Environment ###
    
    Home URL: https://lazulu.com
    Site URL: https://lazulu.com
    WC Version: 2.7.0
    Log Directory Writable: ✔
    WP Version: 4.7.1
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: nginx/1.10.0
    PHP Version: 7.0.14-2+deb.sury.org~xenial+1
    PHP Post Max Size: 100 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.47.0
    OpenSSL/1.0.2g
    
    SUHOSIN Installed: –
    Max Upload Size: 100 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 2.7.0
    WC Database Prefix: wp_
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (6) ###
    
    Cornerstone: by Themeco – 1.3.3
    Jetpack by WordPress.com: by Automattic – 4.4.2
    Nginx Helper: by rtCamp – 1.9.9
    Redis Object Cache: by Till Krüss – 1.3.5
    WooCommerce PayPal Powered by Braintree Gateway: by WooThemes – 1.2.6
    WooCommerce: by WooThemes – 2.7.0-beta-1
    
    ### 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)
    
    ### WC Pages ###
    
    Shop base: #6 - /
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    
    ### Theme ###
    
    Name: X – Child Theme
    Version: 1.0.0
    Author URL: http://theme.co/
    Child Theme: ✔
    Parent Theme Name: X
    Parent Theme Version: 4.6.4
    Parent Theme Author URL: http://theme.co/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Archive Template: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    
    Overrides: x/woocommerce/cart/cart-empty.php
    x/woocommerce/cart/cross-sells.php
    x/woocommerce/loop/loop-end.php
    x/woocommerce/loop/loop-start.php
    x/woocommerce/loop/pagination.php
    x/woocommerce/notices/error.php
    x/woocommerce/notices/notice.php
    x/woocommerce/notices/success.php
    x/woocommerce/single-product/product-image.php
    x/woocommerce/single-product/product-thumbnails.php
    x/woocommerce/single-product/related.php
    x/woocommerce/single-product/tabs/tabs.php
    x/woocommerce/single-product/up-sells.php
    x/woocommerce/single-product-reviews.php
    
    

    ———————————————————————————————————————————————————————————–

    [14-Jan-2017 10:08:42 UTC] PHP Notice: Trying to get property of non-object in /var/www/lazulu.com/htdocs/wp-content/plugins/jetpack/modules/custom-css/migrate-to-core.php on line 170
    [14-Jan-2017 10:08:42 UTC] PHP Notice: Trying to get property of non-object in /var/www/lazulu.com/htdocs/wp-content/plugins/jetpack/modules/custom-css/migrate-to-core.php on line 29
    [14-Jan-2017 10:08:42 UTC] PHP Notice: Trying to get property of non-object in /var/www/lazulu.com/htdocs/wp-content/plugins/jetpack/modules/custom-css/migrate-to-core.php on line 182
    [14-Jan-2017 10:09:09 UTC] PHP Notice: WC_Product::get_rating_html is deprecated since version 2.7! Use wc_get_rating_html instead. in /var/www/lazulu.com/htdocs/wp-includes/functions.php on line 3828
    [14-Jan-2017 10:10:03 UTC] PHP Notice: Trying to get property of non-object in /var/www/lazulu.com/htdocs/wp-content/plugins/jetpack/modules/custom-css/migrate-to-core.php on line 170
    [14-Jan-2017 10:10:03 UTC] PHP Notice: Trying to get property of non-object in /var/www/lazulu.com/htdocs/wp-content/plugins/jetpack/modules/custom-css/migrate-to-core.php on line 29
    [14-Jan-2017 10:10:03 UTC] PHP Notice: Trying to get property of non-object in /var/www/lazulu.com/htdocs/wp-content/plugins/jetpack/modules/custom-css/migrate-to-core.php on line 182
    [14-Jan-2017 10:10:21 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_Product_Variable::create() in /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php:267
    Stack trace:
    #0 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(372): WC_API_Products->create_product(Array)
    #1 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(223): WC_API_Server->dispatch()
    #2 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(269): WC_API_Server->serve_request()
    #3 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(101): WC_Legacy_API->handle_v2_rest_api_request()
    #4 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(298): WC_Legacy_API->handle_rest_api_requests(Object(WP))
    #5 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/lazulu.com/htdocs/wp-inclu in /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php on line 267
    [14-Jan-2017 10:16:47 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_Product_Variable::create() in /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php:267
    Stack trace:
    #0 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(372): WC_API_Products->create_product(Array)
    #1 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(223): WC_API_Server->dispatch()
    #2 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(269): WC_API_Server->serve_request()
    #3 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(101): WC_Legacy_API->handle_v2_rest_api_request()
    #4 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(298): WC_Legacy_API->handle_rest_api_requests(Object(WP))
    #5 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/lazulu.com/htdocs/wp-inclu in /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php on line 267
    [14-Jan-2017 10:16:57 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_Product_Variable::create() in /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php:267
    Stack trace:
    #0 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(372): WC_API_Products->create_product(Array)
    #1 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(223): WC_API_Server->dispatch()
    #2 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(269): WC_API_Server->serve_request()
    #3 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(101): WC_Legacy_API->handle_v2_rest_api_request()
    #4 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(298): WC_Legacy_API->handle_rest_api_requests(Object(WP))
    #5 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/lazulu.com/htdocs/wp-inclu in /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php on line 267
    [14-Jan-2017 10:40:18 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_Product_Variable::create() in /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php:267
    Stack trace:
    #0 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(372): WC_API_Products->create_product(Array)
    #1 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(223): WC_API_Server->dispatch()
    #2 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(269): WC_API_Server->serve_request()
    #3 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(101): WC_Legacy_API->handle_v2_rest_api_request()
    #4 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(298): WC_Legacy_API->handle_rest_api_requests(Object(WP))
    #5 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/lazulu.com/htdocs/wp-inclu in /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php on line 267
    [14-Jan-2017 10:40:30 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WC_Product_Variable::create() in /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php:267
    Stack trace:
    #0 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(372): WC_API_Products->create_product(Array)
    #1 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(223): WC_API_Server->dispatch()
    #2 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(269): WC_API_Server->serve_request()
    #3 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(101): WC_Legacy_API->handle_v2_rest_api_request()
    #4 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(298): WC_Legacy_API->handle_rest_api_requests(Object(WP))
    #5 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/lazulu.com/htdocs/wp-inclu in /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php on line 267

    —————————————————————————————————————————————————————————–
    0 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(372): WC_API_Products->create_product(Array)
    1 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-server.php(223): WC_API_Server->dispatch()
    2 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(269): WC_API_Server->serve_request()
    3 /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-legacy-api.php(101): WC_Legacy_API->handle_v2_rest_api_request()
    4 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(298): WC_Legacy_API->handle_rest_api_requests(Object(WP))
    5 /var/www/lazulu.com/htdocs/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    6″ while reading response header from upstream, client: 52.52.37.39, server: lazulu.com, request: “POST /wc-api/v2/products?consumer_key=ck_acd0997ae80faqwed6bc76e8b2e9c1c64004e3d&consumer_secret=cs_d1ce4de259719ddfbcf49caechjbb9e444ad65190&_rand=2262062 HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9070”, host: “lazulu.com”

    2017/01/14 06:52:05 [error] 3169#3169: *24598 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined method WC_Product_Variable::create() in /var/www/lazulu.com/htdocs/wp-content/plugins/woocommerce/includes/api/legacy/v2/class-wc-api-products.php:267
    ——————————————————————————————————————————————————————————-

    #1329794
    Thai
    Moderator

    Hi There,

    Please try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Hope it helps.

    #1330833
    wakspiddlevak
    Participant

    Yeah already tried that before postings here =)

    #1330840
    Rupok
    Member

    Hi there,

    Thanks for writing back. Most of the errors are related to Jetpack. So if you disable all the plugins then you should see less error. And WooCommerce stable version is 2.6.12 but you are using 2.7.0 beta version. Kindly install the stable version form WordPress repository and check again – https://wordpress.org/plugins/woocommerce/

    Cheers!

    #1332179
    wakspiddlevak
    Participant

    Actually the problem was the beta version of woocommerce being packaged with X. So I should probably thank whoever came up with that bright idea lol.

    #1332276
    Rupok
    Member

    Glad that you are all set now. Have a nice day!

  • <script> jQuery(function($){ $("#no-reply-1329789 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>