Title: Shortcode not functionning anymore
Last modified: June 24, 2019

---

# Shortcode not functionning anymore

 *  Resolved [guiest63](https://wordpress.org/support/users/guiest63/)
 * (@guiest63)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/shortcode-not-functionning-anymore/)
 * Hi,
    Since v. 2.6.0 (and still in v 2.6.2, I have this message error when using
   the shortcode EM [events_map]. The message is the following : Warning: count():
   Parameter must be an array or an object that implements Countable in /htdocs/
   wp-content/plugins/stonehenge-em-osm/em-osm-maps.php on line 316
 * Should I change something in EM parameters ? There was no issue prior to that
 * Thnaks for your help!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-not-functionning-anymore%2Fpage%2F2%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/shortcode-not-functionning-anymore/?output_format=md)
[1](https://wordpress.org/support/topic/shortcode-not-functionning-anymore/?output_format=md)
2

 *  Plugin Author [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/shortcode-not-functionning-anymore/page/2/#post-11718321)
 * Next time: **Open your own topic.** This one was opened (and resolved) for a 
   different issue! Those are the Forum rules. Please abide by them.
 * 1) They are not errors, but notices. Big difference. They do not influence the
   shortcodes in any way.
    2) It appears that ‘event=”60″ (or any event ID) does
   not return anything from the database. That seems to be caused by EM it self 
   in events-manager/classes/em-events.php, lines 37 to 44.
 * If you comment out line 37 + 44, you should get a result. Else EM returns no 
   data, so the shortcode gets nothing back to handle.
 *  [jeeltcraft](https://wordpress.org/support/users/jeeltcraft/)
 * (@jeeltcraft)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/shortcode-not-functionning-anymore/page/2/#post-11718549)
 * Yes sure, sorry for not opening a separated topic, I’m trying your suggestion
   right now…
 *  [jeeltcraft](https://wordpress.org/support/users/jeeltcraft/)
 * (@jeeltcraft)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/shortcode-not-functionning-anymore/page/2/#post-11718629)
 * Doesn’t work sadly 🙁
    I’m opening a new ticket… If I did understand the problem
   is that I’m passing the ids to the shortcode as a string, am I right?
 *  Plugin Author [Stonehenge Creations](https://wordpress.org/support/users/duisterdenhaag/)
 * (@duisterdenhaag)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/shortcode-not-functionning-anymore/page/2/#post-11719313)
 * No, the problem lies within EM, so I cannot help you with that.
    [event_map event
   =”60″] returns nothing. [events_map event”60, 61″] only returns “61”. So there
   is a bug in their EM_Events::get() function.
 *  [jeeltcraft](https://wordpress.org/support/users/jeeltcraft/)
 * (@jeeltcraft)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/shortcode-not-functionning-anymore/page/2/#post-11721395)
 * I had that same problem on other plugins, it may be a wordpress problem 😉

Viewing 5 replies - 16 through 20 (of 20 total)

[←](https://wordpress.org/support/topic/shortcode-not-functionning-anymore/?output_format=md)
[1](https://wordpress.org/support/topic/shortcode-not-functionning-anymore/?output_format=md)
2

The topic ‘Shortcode not functionning anymore’ is closed to new replies.

 * ![](https://ps.w.org/stonehenge-em-osm/assets/icon-256x256.jpg?rev=2143406)
 * [Events Manager - OpenStreetMaps](https://wordpress.org/plugins/stonehenge-em-osm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stonehenge-em-osm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stonehenge-em-osm/)
 * [Active Topics](https://wordpress.org/support/plugin/stonehenge-em-osm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stonehenge-em-osm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stonehenge-em-osm/reviews/)

## Tags

 * [events_map](https://wordpress.org/support/topic-tag/events_map/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 20 replies
 * 5 participants
 * Last reply from: [jeeltcraft](https://wordpress.org/support/users/jeeltcraft/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/shortcode-not-functionning-anymore/page/2/#post-11721395)
 * Status: resolved