Title: Error while syndicating feeds
Last modified: August 21, 2016

---

# Error while syndicating feeds

 *  Resolved [dnk6742](https://wordpress.org/support/users/dnk6742/)
 * (@dnk6742)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-while-syndicating-feeds/)
 * Fatal error: Call to undefined method SimpleXMLElement::count() in /wp-content/
   plugins/events-manager-ess/inc/controllers/ESS_Import.php on line 714
 * That’s what I get while trying to add the feed to site. Is there a way to get
   this fixed?
 * [http://wordpress.org/plugins/events-manager-ess/](http://wordpress.org/plugins/events-manager-ess/)

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

 *  Thread Starter [dnk6742](https://wordpress.org/support/users/dnk6742/)
 * (@dnk6742)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-while-syndicating-feeds/#post-4534061)
 * I replaced `if ( $child->$feed->count() > 0 )`
    with `if ( count ( $child->$feed)
   > 0 )`. So far it works.
 *  Plugin Author [essfeed](https://wordpress.org/support/users/essfeed/)
 * (@essfeed)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/error-while-syndicating-feeds/#post-4534229)
 * Hi,
    I have checked your issue, It seems that your PHP version is < 5.3.0 [http://us.php.net/manual/en/simplexmlelement.count.php](http://us.php.net/manual/en/simplexmlelement.count.php)
 * I’ve placed a version controller to evaluate which `count()` to do.
    Thanks for
   your comment, your explanation was very useful.

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

The topic ‘Error while syndicating feeds’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/events-manager-ess_e0e0e1.svg)
 * [Events Manager ESS](https://wordpress.org/plugins/events-manager-ess/)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager-ess/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager-ess/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager-ess/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager-ess/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [essfeed](https://wordpress.org/support/users/essfeed/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/error-while-syndicating-feeds/#post-4534229)
 * Status: resolved