• Resolved wpsolen

    (@wpsolen)


    Hi,

    I’ve got issues with trying to get my feed working which seems to be connected to the Shipping mapping to Shipping Cost. This is the error i get when I try to create the feed with these fields. I noticed this issue due to the fact that my feed didnt refresh anymore.

    Fatal error: Uncaught TypeError: Unsupported operand types: string * float in
    homepublic_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php:803
    Stack trace: #0 homepublic_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products
    .php(3440): WooSEA_Get_Products->woosea_get_shipping_cost()
    #1 homepublic_html/wp-content/plugins/
    woo-product-feed-pro/woocommerce-sea.php(4580): WooSEA_Get_Products->woosea_get_products()
    #2 homepublic_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4387): woosea_continue_batch()
    #3 homepublic_html/wp-includes/class-wp-hook.php(307): woosea_generate_pages()
    #4 homepublic_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #5 homepublic_html/wp-includes/plugin.php(476): WP_Hook->do_action()
    #6 homepublic_html/wp-admin/admin.php(259): do_action() #7 {main} thrown in
    homepublic_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 803`

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    Thanks for using our plugin and reaching out to us. Sorry to hear you are experiencing issues refreshing/processing your feed.

    This piece of there error: “Unsupported operand types: string * float in” suggest you might have used formulas in your shipping costs set-up or perhaps are using a 3th party shipping plugin. Is that correct? If so, what formula and/or plugin?

    Thread Starter wpsolen

    (@wpsolen)

    Hi,

    I’m using standard with the woocommerce shipping and tax plugin. Here’s the formula I think you’re referring to.

    [fee percent=”3.5″ min_fee=”100″ max_fee=”1500″]

    Thread Starter wpsolen

    (@wpsolen)

    Please, any suggestions on how to remedy my situation. Our feed wont update as it is. I tried removing the formula but nothing changed.

    • This reply was modified 3 years, 7 months ago by wpsolen.

    Can you please share the following with us so we can try to replicate the issue at hand?

    Thread Starter wpsolen

    (@wpsolen)

    Seems like my rule, which sets a custom variable named “leadTime” to either “1-2 dagar” or “Över 1 vecka” might be the issue. Could there be any issues with “ö” ?

    I don’t think so however can you share a screenshot of how the exact rule looks so we can try replicating it?

    Thread Starter wpsolen

    (@wpsolen)

    Newest error when i created a new test feed for the purpose of generating a fault.
    Warning: Undefined array key “pa_leadtime” in /home/papmause/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 5798

    Heres the debug log, please not that the three first ones are currently working (i think) due to me removing everything that has to do with leadtime
    https://papmau.se/wp-content/uploads/woo-product-feed-pro/logs/debug.log

    Here’s all the images you requested

    View post on imgur.com

    Can you try downloading and installing the latest version of our plugin, version 11.9.1 to see if that solves the errors for you?

    Thread Starter wpsolen

    (@wpsolen)

    Yeah, everything seems to be working. I’ll try readding all the stuff i removed and see what happens. If i don’t comment anymore, it’s all good.

    Thanks for the help!

    Perfect, thanks for the heads-up.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Fatal error from shipping cost’ is closed to new replies.