Title: Error message on using shortcode
Last modified: August 21, 2016

---

# Error message on using shortcode

 *  Resolved [Deeabolique](https://wordpress.org/support/users/deeabolique/)
 * (@deeabolique)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/)
 * Hi,
 * I’m sorry, I’m pretty new to WordPress so not sure if I’m doing something wrong,
   but when I run the shortcode on a page,it shows the color box but I get this 
   error message:
 * Warning: preg_match() [function.preg-match]: Unknown modifier ‘{‘ in /home/thebitef/
   public_html/wp-content/plugins/standout-color-boxes-and-buttons/scbb.php on line
   629
 * Could you please help me out with this?
 * Thanks
 * Posting the URL here:
 * [http://thebitefantastic.com/cheesecake-brownies/](http://thebitefantastic.com/cheesecake-brownies/)
 * [https://wordpress.org/plugins/standout-color-boxes-and-buttons/](https://wordpress.org/plugins/standout-color-boxes-and-buttons/)

Viewing 15 replies - 16 through 30 (of 30 total)

[←](https://wordpress.org/support/topic/error-message-on-using-shortcode/?output_format=md)
[1](https://wordpress.org/support/topic/error-message-on-using-shortcode/?output_format=md)
2

 *  [Mr_Man1968](https://wordpress.org/support/users/mr_man1968/)
 * (@mr_man1968)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706928)
 * Surprised the developer hasn’t chipped in here…
 *  Plugin Author [jp2112](https://wordpress.org/support/users/jp2112/)
 * (@jp2112)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706929)
 * Sorry for the issue, I am looking into this and should have a fix later today.
   Thx
 *  Plugin Author [jp2112](https://wordpress.org/support/users/jp2112/)
 * (@jp2112)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706932)
 * Issue resolved, new version will be uploaded in the next couple of hours.
 *  [carldietz](https://wordpress.org/support/users/carldietz/)
 * (@carldietz)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706936)
 * Hi Jimmy,
    Any word on when the fix will be published? I don’t want to roll back
   to the previous version if you are planning to release the fix soon.
 * If you are having trouble resolving the bugs, maybe you could post the old code
   for those of us who are not technical enough to replace the buggy new code on
   our sites. The last thing i want to do is break my site further by trying to 
   replace all the old code by hand.
 *  Plugin Author [jp2112](https://wordpress.org/support/users/jp2112/)
 * (@jp2112)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706943)
 * Sorry, time warner decided that today was the day to start having problems with
   my internet connection. As a stopgap, edit the scbb.php file and delete everything
   inside the “scbb_filter_hex_color” function except for the last line (the line
   that returns the value). This should resolve issues with the plugin until I can
   get back online.
 *  [coops456](https://wordpress.org/support/users/coops456/)
 * (@coops456)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706945)
 * Thanks Jimmy, that stopgap edit worked for me.
    Great plugin by the way, I appreciate
   your hard work.
 *  Plugin Author [jp2112](https://wordpress.org/support/users/jp2112/)
 * (@jp2112)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706947)
 * If you want the stopgap code, here it is:
 *     ```
       function scbb_filter_hex_color($colorvalue) {
         return $colorvalue;
       }
       ```
   
 * This will simply return the hex color value without any validation and without
   having to touch anything else in the plugin. So you need to use the full hex 
   color value including ‘#’.
 * As soon as my internet is restored (ugh) I’ll update the plugin to correct it.
 *  [carldietz](https://wordpress.org/support/users/carldietz/)
 * (@carldietz)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706948)
 * I am up and running with the stopgap. Thanks Jimmy. Great plugin.
 *  [linaudvid](https://wordpress.org/support/users/linaudvid/)
 * (@linaudvid)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706962)
 * Have been trying the stopgap fix but it doesnt seem to work for me.
 * Great plugin hope there is update available to fix this soon.
 *  [linaudvid](https://wordpress.org/support/users/linaudvid/)
 * (@linaudvid)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706975)
 * Hi
 * Installed the update but still getting clear color buttons using :
 * [color-button color=”red” href=”[http://www.mysite.com/”%5D](http://www.mysite.com/”%5D)
   
   Follow this link [/color-button]
 * And
 * [color-button color=”#ff0000″]
    Button text. [/color-button]
 *  Plugin Author [jp2112](https://wordpress.org/support/users/jp2112/)
 * (@jp2112)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706976)
 * @[linaudvid](http://wordpress.org/support/topic/error-message-on-using-shortcode?replies=27#post-5378056)
 * I just tried that shortcode on my site, it works. Are you sure the plugin is 
   activated and enabled?
 * Regarding your second shortcode, the parameter for a custom hex value is “customcolorpicker”,
   not “color”.
 *     ```
       [color-button customcolorpicker="#ff0000"]
       Button text.
       [/color-button]
       ```
   
 *  [linaudvid](https://wordpress.org/support/users/linaudvid/)
 * (@linaudvid)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706977)
 * Hi
 * Tried the “customcolorpicker” and still clear buttons
 * The buttons with the problem are on the Website:
 * [http://www.constantcoaching.co.uk/](http://www.constantcoaching.co.uk/)
 *  [linaudvid](https://wordpress.org/support/users/linaudvid/)
 * (@linaudvid)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4706978)
 * Hi
 * Just installed new update and all working fine.
 * Thanks for your help.
 * Good Plugin
 *  [carldietz](https://wordpress.org/support/users/carldietz/)
 * (@carldietz)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4707028)
 * I really appreciate your hard work Jimmy, but i can’t keep going thru your failed
   upgrades. Of the many many plugins I have on my sites, your is the only one that
   has failed twice this year on new releases.
 * I paid $18 today for a commercial plug in. I would have gladly sent you $18. 
   You have a cool plugin but you don’t seem to understand that people depend on
   it to work correctly. Its very simple code. I’m leaving the tribe today.
 * Now I have to update 140 pages with 3 color boxes each. Ugh!
 * Best wishes to you and thanks for making plugins.
 * Carl
 *  Plugin Author [jp2112](https://wordpress.org/support/users/jp2112/)
 * (@jp2112)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4707031)
 * @[Carl](http://wordpress.org/support/topic/error-message-on-using-shortcode?replies=30#post-5480164)
 * I am aware that people depend on the plugin. And I work on it when I can. I am
   sorry that the plugin is throwing errors, believe me I have a huge black eye 
   from the last few days.
 * But when I run the shortcode on my site, I don’t get all the errors that people
   are reporting. The plugin worked without issue up until the second wp_kses error.
   I do see that the PHP error log shows errors, and I should have checked that.
   But I have to question what kind of website settings you have that a non-fatal
   PHP error would bring down your whole site. Consider setting PHP to simply log
   errors instead.
 * The latest update should fix this issue and all the other reported issues so 
   far. Update, or remove the plugin if you prefer. There is a library of other 
   plugins that have similar function, I can try to recommend an alternative if 
   you like.

Viewing 15 replies - 16 through 30 (of 30 total)

[←](https://wordpress.org/support/topic/error-message-on-using-shortcode/?output_format=md)
[1](https://wordpress.org/support/topic/error-message-on-using-shortcode/?output_format=md)
2

The topic ‘Error message on using shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/standout-color-boxes-and-buttons_e4ecf9.
   svg)
 * [Standout Color Boxes and Buttons](https://wordpress.org/plugins/standout-color-boxes-and-buttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/standout-color-boxes-and-buttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/standout-color-boxes-and-buttons/)
 * [Active Topics](https://wordpress.org/support/plugin/standout-color-boxes-and-buttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/standout-color-boxes-and-buttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/standout-color-boxes-and-buttons/reviews/)

 * 30 replies
 * 11 participants
 * Last reply from: [jp2112](https://wordpress.org/support/users/jp2112/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/error-message-on-using-shortcode/page/2/#post-4707031)
 * Status: resolved