• sagejohn

    (@sagejohn)


    Hi when using an import plugin like all wp import I get the following errors.

    WordPress version 5.7.8
    Current theme: Woodmart Child (version 1.0.0)
    Current plugin: GetResponse for WordPress (version 5.5.30)
    PHP version 8.0.24
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 91 of the file /usr/www/users/littlmkmwy/wp-content/plugins/getresponse-integration/getresponse/ecommerce/classes/class-gr-product-factory.php. Error message: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /usr/www/users/littlmkmwy/wp-content/plugins/getresponse-integration/getresponse/ecommerce/classes/class-gr-product-factory.php:91
    Stack trace:
    #0 /usr/www/users/littlmkmwy/wp-content/plugins/getresponse-integration/getresponse/ecommerce/classes/class-gr-product-factory.php(91): round('', 2)
    #1 /usr/www/users/littlmkmwy/wp-content/plugins/getresponse-integration/getresponse/ecommerce/classes/class-gr-product-service.php(247): Getresponse\WordPress\ProductFactory::buildFromVariableProduct(Object(WC_Product_Variable))
    #2 /usr/www/users/littlmkmwy/wp-content/plugins/getresponse-integration/getresponse/ecommerce/classes/class-gr-product-service.php(49): Getresponse\WordPress\ProductService->update_variable_product('6wwB', Object(WC_Product_Variable))
    #3 /usr/www/users/littlmkmwy/wp-content/plugins/getresponse-integration/gr-ecommerce/gr-ecommerce-actions.php(40): Getresponse\WordPress\ProductService->update_product('6wwB', Object(WC_Product_Variable))
    #4 /usr/www/users/littlmkmwy/wp-includes/class-wp-hook.php(294): gr_update_product_variation(848)
    #5 /usr/www/users/littlmkmwy/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array)
    #6 /usr/www/users/littlmkmwy/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #7 /usr/www/users/littlmkmwy/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variation-data-store-cpt.php(274): do_action('woocommerce_upd...', 848, Object(WC_Product_Variation))
    #8 /usr/www/users/littlmkmwy/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(179): WC_Product_Variation_Data_Store_CPT->update(Object(WC_Product_Variation))
    #9 /usr/www/users/littlmkmwy/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1383): WC_Data_Store->update(Object(WC_Product_Variation))
    #10 /usr/www/users/littlmkmwy/wp-content/plugins/wpai-woocommerce-add-on/src/importer/products/ImportProduct.php(80): WC_Product->save()
    #11 /usr/www/users/littlmkmwy/wp-content/plugins/wpai-woocommerce-add-on/src/importer/products/ImportVariableProduct.php(337): wpai_woocommerce_add_on\importer\products\ImportProduct->save()
    #12 /usr/www/users/littlmkmwy/wp-content/plugins/wpai-woocommerce-add-on/src/importer/products/ImportVariableProduct.php(160): wpai_woocommerce_add_on\importer\products\ImportVariableProduct->importVariations(736)
    #13 /usr/www/users/littlmkmwy/wp-content/plugins/wpai-woocommerce-add-on/src/importer/ProductsImporter.php(87): wpai_woocommerce_add_on\importer\products\ImportVariableProduct->import()
    #14 /usr/www/users/littlmkmwy/wp-content/plugins/wpai-woocommerce-add-on/src/XmlImportWooCommerceProduct.php(63): wpai_woocommerce_add_on\importer\ProductsImporter->import()
    #15 /usr/www/users/littlmkmwy/wp-content/plugins/wpai-woocommerce-add-on/models/import/record.php(96): wpai_woocommerce_add_on\XmlImportWooCommerceProduct->import(Array)
    #16 /usr/www/users/littlmkmwy/wp-content/plugins/wp-all-import-pro/models/import/record.php(3184): PMWI_Import_Record->import(Array)
    #17 /usr/www/users/littlmkmwy/wp-content/plugins/wp-all-import-pro/controllers/admin/import.php(2763): PMXI_Import_Record->process('
  • The topic ‘Error with integration’ is closed to new replies.