Title: Undefined variable: post_text
Last modified: August 31, 2016

---

# Undefined variable: post_text

 *  Resolved [pascalkleindienst](https://wordpress.org/support/users/pascalkleindienst/)
 * (@pascalkleindienst)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/undefined-variable-post_text/)
 * Hi,
 * I get an error when the plugin (free version) tries to fetch a post with only
   an image but no text. As a result there is not `$post_text` Variable defined.
   See error description below:
 * `Undefined variable: post_text in file .../wp-content/plugins/custom-facebook-
   feed/custom-facebook-feed.php:1177`
 * This could be easily fixed when the following line is inserted after line 1055(//
   POST TEXT)
    `$post_text = '';`
 * Regards,
    Pascal
 * [https://wordpress.org/plugins/custom-facebook-feed/](https://wordpress.org/plugins/custom-facebook-feed/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [smashballoon](https://wordpress.org/support/users/smashballoon/)
 * (@smashballoon)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/undefined-variable-post_text/#post-6985116)
 * Hey Pascal,
 * Thanks for letting us know about this. We’ll get it fixed in the next update!
 * John

Viewing 1 replies (of 1 total)

The topic ‘Undefined variable: post_text’ is closed to new replies.

 * ![](https://ps.w.org/custom-facebook-feed/assets/icon-256x256.png?rev=2700775)
 * [Smash Balloon Social Post Feed - Simple Social Feeds for WordPress](https://wordpress.org/plugins/custom-facebook-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-facebook-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-facebook-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-facebook-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-facebook-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-facebook-feed/reviews/)

## Tags

 * [undefined variable](https://wordpress.org/support/topic-tag/undefined-variable/)

 * 1 reply
 * 2 participants
 * Last reply from: [smashballoon](https://wordpress.org/support/users/smashballoon/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/undefined-variable-post_text/#post-6985116)
 * Status: resolved