Title: Error when insert code in a Widget
Last modified: December 20, 2017

---

# Error when insert code in a Widget

 *  Resolved [vyonte](https://wordpress.org/support/users/vyonte/)
 * (@vyonte)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-when-insert-code-on-widget/)
 * When I insert shortcode in one widget area, I can not save widget because WordPress
   show an error. I suppose this happen with new feature of WordPress that show 
   the code view instead plain text on html widget. or simply the plugin can not
   insert in a widget. Have this issue solution? Here an screenshot.
 * [http://prntscr.com/hq7j37](http://prntscr.com/hq7j37)
 * The text below say: There are 2 errors you must to solve before save.
 * I tried plain text widget but Only appear a blank big space instead images.
    -  This topic was modified 8 years, 5 months ago by [vyonte](https://wordpress.org/support/users/vyonte/).
    -  This topic was modified 8 years, 5 months ago by [vyonte](https://wordpress.org/support/users/vyonte/).

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

 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-when-insert-code-on-widget/#post-9802909)
 * Hey [@vyonte](https://wordpress.org/support/users/vyonte/),
 * That widget is for html code. It wont work with PHP. Instead, you can just use
   the shortcode itself. If that doesn’t work, switch to the text widget
 * [metaslider id=”1026″]
 *  [Kevin Batdorf](https://wordpress.org/support/users/kbat82/)
 * (@kbat82)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-when-insert-code-on-widget/#post-9820808)
 * Hey [@vyonte](https://wordpress.org/support/users/vyonte/),
 * I’m closing this since we didn’t hear back from you. However, please open a new
   issue if you need to. Thanks
 *  Thread Starter [vyonte](https://wordpress.org/support/users/vyonte/)
 * (@vyonte)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-when-insert-code-on-widget/#post-9821007)
 * Hi kbatdorf, I’m sorry for dalay, I’m away from home these days. I will try it
   when I come back.
    Thank you and happy new year.

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

The topic ‘Error when insert code in a Widget’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3523572)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

## Tags

 * [meta slider](https://wordpress.org/support/topic-tag/meta-slider/)
 * [widget area](https://wordpress.org/support/topic-tag/widget-area/)

 * 3 replies
 * 2 participants
 * Last reply from: [vyonte](https://wordpress.org/support/users/vyonte/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/error-when-insert-code-on-widget/#post-9821007)
 * Status: resolved