Title: PHP Fatal Error
Last modified: November 21, 2022

---

# PHP Fatal Error

 *  Resolved [neilgee](https://wordpress.org/support/users/neilgee/)
 * (@neilgee)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-331/)
 * Getting this fatal error on latest verison:
 *     ```
       [21-Nov-2022 05:10:03 UTC] PHP Fatal error:  Uncaught TypeError: Return value of WooCommerce\Facebook\Products\Sync\Background::send_item_updates() must be of the type array, null returned in /home/resonator/webapps/resonator/wp-content/plugins/facebook-for-woocommerce/includes/Products/Sync/Background.php:344
       Stack trace:
       #0 /home/resonator/webapps/resonator/wp-content/plugins/facebook-for-woocommerce/includes/Products/Sync/Background.php(134): WooCommerce\Facebook\Products\Sync\Background->send_item_updates()
       #1 /home/resonator/webapps/resonator/wp-content/plugins/facebook-for-woocommerce/includes/Products/Sync/Background.php(84): WooCommerce\Facebook\Products\Sync\Background->process_items()
       #2 /home/resonator/webapps/resonator/wp-content/plugins/facebook-for-woocommerce/includes/Framework/Utilities/BackgroundJobHandler.php(557): WooCommerce\Facebook\Products\Sync\Background->process_job()
       #3 /home/resonator/webapps/resonator/wp-content/plugins/facebook-for-woocommerce/includes/Framework/Utilities/BackgroundJobHandler.php(145): WooCommerce\Facebook\F in /home/resonator/webapps/resonator/wp-content/plugins/facebook-for-woocommerce/includes/Products/Sync/Background.php on line 344
       ```
   

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

 *  [Justin (a11n)](https://wordpress.org/support/users/layoutd/)
 * (@layoutd)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-331/#post-16217741)
 * Hi [@neilgee](https://wordpress.org/support/users/neilgee/),
 * We’re sorry to hear about your problem with the plugin. Please allow us little
   time to go through the issue and get back to you as soon as possible.
 * In the meantime it would be great if you could share your current System Status
   Report. You can get it by navigating to the `WooCommerce / Status` section of
   your site. Once there, click on the `Get system report` button and then copy 
   it by clicking on the `Copy for support` button. Then paste it here in a comment.
 * Thanks,
    Justin
 *  [Justin (a11n)](https://wordpress.org/support/users/layoutd/)
 * (@layoutd)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-331/#post-16220028)
 * Hi again [@neilgee](https://wordpress.org/support/users/neilgee/),
 * Thanks again for you report. Version 3.0.4 of the plugin has been released today
   and should resolve your issue. Please give it a try and let us know (one way 
   or the other).
 * Regards,
    Justin

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

The topic ‘PHP Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/facebook-for-woocommerce/assets/icon.svg?rev=3469606)
 * [Meta for WooCommerce](https://wordpress.org/plugins/facebook-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Justin (a11n)](https://wordpress.org/support/users/layoutd/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-331/#post-16220028)
 * Status: resolved