Title: Error
Last modified: May 27, 2019

---

# Error

 *  [joaoaso](https://wordpress.org/support/users/joaoaso/)
 * (@joaoaso)
 * [7 years ago](https://wordpress.org/support/topic/error-1210/)
 * I have this error
 * Product #5978 error: the field “description” in must not be empty.
 * we have more the 30k of products we don’t field the descrition
 * What to do?
 * thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Antonino Scarfì](https://wordpress.org/support/users/antoscarface/)
 * (@antoscarface)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/error-1210/#post-11693400)
 * Hello,
 * unfortunately, Facebook request a description for each product as mandatory.
 * So the only workaround I can suggest you is adding a custom code that adds a 
   default description to all products.
 * To do that, copy and paste the code below in the `functions.php` of your current
   theme or in a new plugin. Here the code:
 *     ```
       add_filter('aepc_feed_item', function($params, \PixelCaffeine\ProductCatalog\FeedMapper $item){
           if (empty($params['g:description'])) {
               $params['g:description'] = 'A default empty message'; // <-- CHANGE HERE WITH SOMETHING OTHER
           }
   
           return $params;
       }, 10, 2);
       ```
   
 * I hope that can help you.
    Let me know.

Viewing 1 replies (of 1 total)

The topic ‘Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pixel-caffeine_e2ce0c.svg)
 * [Pixel Caffeine](https://wordpress.org/plugins/pixel-caffeine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pixel-caffeine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pixel-caffeine/)
 * [Active Topics](https://wordpress.org/support/plugin/pixel-caffeine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pixel-caffeine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pixel-caffeine/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Antonino Scarfì](https://wordpress.org/support/users/antoscarface/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/error-1210/#post-11693400)
 * Status: not resolved