• Resolved heggyy

    (@heggyy)


    Facebook for WooCommerce (version 3.4.8)
    PHP version 8.2.28
    WordPressi version 6.8.1

    Error: Uncaught TypeError: mb_strlen(): Argument #1 ($string) must be of type string, array given

    File: wp-content/plugins/facebook-for-woocommerce/includes/Framework/Helper.php on line 112

    0 Helper.php(112): mb_strlen(Array, ‘UTF-8’) 1 fbproduct.php(1664): Helper::str_truncate(Array, 100) 2 facebook-commerce.php(1385): WC_Facebook_Product->prepare_product(…) 3 facebook-commerce.php(1269): ->create_product_item_batch_api(…) 4 facebook-commerce.php(1233): ->create_product_simple(…) 5 facebook-commerce.php(820): ->on_simple_product_publish(…)

    It also causes extreme slowdowns across the whole site (incl. admin) when publishing a product and it auto-syncs to FB. That is fixed when plugin is disabled.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Marija

    (@marijastuntcoders)

    Hi @heggyy ,

    Thank you for reaching out – the Dev team has been notified of this issue, and we will let you know as soon as an update addressing the issue is available.

    For the time being, you can revert to version 3.4.7 by downloading it from the bottom of the Advanced page, and uploading it to your site.

    Kind regards,
    Marija

    Plugin Support Marija

    (@marijastuntcoders)

    Thanks for following up everyone, there is a new update in the works that should address this isssue.

    We will let you know as soon as it’s available.

    Kind regards,
    Marija

    Plugin Support Marija

    (@marijastuntcoders)

    Hi everyone,

    This issue has been resolved with recent updates. Please update the plugin to the newest version.

    Kind regards,
    Marija

    Thread Starter heggyy

    (@heggyy)

    Can anyone confirm if it’s been fixed before I crash my website again?

    Plugin Support Marija

    (@marijastuntcoders)

    Hi @heggyy ,

    We have confirmed this error has been removed via testing, and have received no further complaints. Feel free to update to the latest version.

    Kind regards,
    Marija

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

The topic ‘Fatal error while publishing a product’ is closed to new replies.