Title: &#8220;Cannot insert multiple shortcode&#8221; after updating
Last modified: September 28, 2020

---

# “Cannot insert multiple shortcode” after updating

 *  [letsfindaway](https://wordpress.org/support/users/letsfindaway/)
 * (@letsfindaway)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/cannot-insert-multiple-shortcode-after-updating/)
 * After updating the plugin from 1.4.23 to 1.4.42 I get the following error message
   on all pages whehre I have a shortcode:
 * Shortcode of the Booking Package cannot insert multiple shortcodes on one page.
   
   ID: 5 has canceled the display.
 * However each page only uses a single shortcode as follows:
 * [booking_package id=5 services=4]
 * What might happened here? What can I do to resolve this?
 * Thanks!
 * Note: I currently have disabled the display of this message by css:
 * .shortcode_error { display: none; }
 * but the error message is still in the source code of the page.
    -  This topic was modified 5 years, 6 months ago by [letsfindaway](https://wordpress.org/support/users/letsfindaway/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-insert-multiple-shortcode-after-updating%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [MASAAKI](https://wordpress.org/support/users/masaakitanaka/)
 * (@masaakitanaka)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/cannot-insert-multiple-shortcode-after-updating/#post-13466552)
 * Hello,
 * Our shortcode is called under the “product_meta” class of the HTML element. Perhaps
   the widget etc. contains our shortcode.
 * Thank you.
 *  Thread Starter [letsfindaway](https://wordpress.org/support/users/letsfindaway/)
 * (@letsfindaway)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/cannot-insert-multiple-shortcode-after-updating/#post-13469923)
 * Thanks for your message. I tried to track down the problem further, and found
   out that Woocomemrce is evaluating the same shortcode twice on this page. I created
   an issue on the Woocommerce support page:
 * [https://wordpress.org/support/topic/shortcodes-on-product-short-description-evaluated-twice/](https://wordpress.org/support/topic/shortcodes-on-product-short-description-evaluated-twice/)
 * I will set the issue to resolved here – it is not a problem with Booking Package!
 *  Thread Starter [letsfindaway](https://wordpress.org/support/users/letsfindaway/)
 * (@letsfindaway)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/cannot-insert-multiple-shortcode-after-updating/#post-13487460)
 * Just to inform you about the progress on the issue I posted on the woocommerce
   support: woocomemrce is indeed invoking the shortcode twice when it is contained
   in a product short summary as I do it. The second invocation is not rendered 
   but just used to fill some structured data about the product.
 * My problem could be solved on both sides:
 * – woocomemrce could probably invoke the shortcodes only once.
    – your plugin 
   could silently ignore the second invocation.
 * I assume that the first solution has no big chance to be realized, but let’s 
   see. On the other hand it might be useful for your plugin to add a “display error
   messages on web page” flag where one could enable/disable some kind of debug 
   mode. This would still provide the opportunity to a web developer to detect such
   issues, but on the other hand not bother the visitor with such error messages.
 * Is this a proposal?

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

The topic ‘“Cannot insert multiple shortcode” after updating’ is closed to new replies.

 * ![](https://ps.w.org/booking-package/assets/icon-128x128.png?rev=1829374)
 * [Booking Package](https://wordpress.org/plugins/booking-package/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-package/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-package/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-package/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-package/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-package/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [letsfindaway](https://wordpress.org/support/users/letsfindaway/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/cannot-insert-multiple-shortcode-after-updating/#post-13487460)
 * Status: not resolved