Title: Error code when updating pages
Last modified: December 17, 2018

---

# Error code when updating pages

 *  Resolved [asemler33](https://wordpress.org/support/users/asemler33/)
 * (@asemler33)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-code-when-updating-pages/)
 * We use ShortCodes Ultimate on most of our pages, and about 95% of the time when
   we make and save a revision to the page, we get a whole screen of error code 
   like this:
 * Warning: A non-numeric value encountered in /home/racertrip/public_html/wp-content/
   plugins/shortcodes-ultimate/includes/shortcodes/button.php on line 265
 * Warning: A non-numeric value encountered in /home/racertrip/public_html/wp-content/
   plugins/shortcodes-ultimate/includes/shortcodes/button.php on line 238
 * Warning: A non-numeric value encountered in /home/racertrip/public_html/wp-content/
   plugins/shortcodes-ultimate/includes/shortcodes/button.php on line 209
 * Usually, it still saves the changes, but we have to manually reverse back to 
   the previous screen to make further edits. I’d like to know what is causing this
   so we can make it go away.
 * Thanks,
    Angi
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-code-when-updating-pages%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-code-when-updating-pages/#post-11001187)
 * Hi Angi,
 * please attach the following details:
 * – The version of PHP on your site
    – The content you use on your pages (from 
   the editor)
 *  Thread Starter [asemler33](https://wordpress.org/support/users/asemler33/)
 * (@asemler33)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/error-code-when-updating-pages/#post-11085102)
 * Hello, the site is running PHP 5.6.30.
 * We are using Site Origin Page Builder to design and add content to the pages.
   For that reason, it’s not feasible for me to add the content here. Can you not
   view the page and look at the source code instead?
 * We have issues on these pages:
    * [https://racertrips.com/marathon-travel-guides/washington-dc-marine-corps-marathon-and-rocknroll-marathon/best-hotels-lodging/](https://racertrips.com/marathon-travel-guides/washington-dc-marine-corps-marathon-and-rocknroll-marathon/best-hotels-lodging/)*
   [https://racertrips.com/marathon-travel-guides/chicago-marathon/best-hotels-lodging/](https://racertrips.com/marathon-travel-guides/chicago-marathon/best-hotels-lodging/)*
   [https://racertrips.com/marathon-travel-guides/san-francisco-marathon/best-hotels-lodging/](https://racertrips.com/marathon-travel-guides/san-francisco-marathon/best-hotels-lodging/)*
   Plus any of the pages you see on the menu for Things to Do and Best Restaurants.
 * We do NOT seem to have the issue on these pages:
    * Home * [https://racertrips.com/marathon-travel-guides/chicago-marathon/](https://racertrips.com/marathon-travel-guides/chicago-marathon/)*
   [https://racertrips.com/marathon-travel-guides/san-francisco-marathon/](https://racertrips.com/marathon-travel-guides/san-francisco-marathon/)*
   [https://racertrips.com/marathon-travel-guides/washington-dc-marine-corps-marathon-and-rocknroll-marathon/](https://racertrips.com/marathon-travel-guides/washington-dc-marine-corps-marathon-and-rocknroll-marathon/)
 * Thanks,
    Angi
 *  Plugin Author [Vova](https://wordpress.org/support/users/gn_themes/)
 * (@gn_themes)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/error-code-when-updating-pages/#post-11086081)
 * Hello Angi,
 * please make sure you’re using a valid value for the size attribute of the button
   shortcode. Only numeric values are allowed.
 * **❌ Invalid values:**
 *     ```
       [su_button size="small"] ...
       [su_button size="large"] ...
       ```
   
 * **✅ Valid values:**
 *     ```
       [su_button size="3"] ...
       [su_button size="5"] ...
       ```
   
 *  Thread Starter [asemler33](https://wordpress.org/support/users/asemler33/)
 * (@asemler33)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/error-code-when-updating-pages/#post-11146690)
 * Hello, are you actually seeing code like that on our page(s)? I am not. I’ve 
   been testing one of our pages over and over tonight and am not making any progress.
 * The button code looks fine to me, and even when I replace it with code directly
   from the Shortcodes screen, it doesn’t fix the problem.
 * I’m using SiteOrigin page builder and then the Shortcodes Accordion widget. Within
   the content of the widget, we have buttons for booking reservations. I set up
   this test page: [https://racertrips.com/test-copy-of-sf-attractions/](https://racertrips.com/test-copy-of-sf-attractions/).
 * When I have the single row and the Accordion widgets for Best Luxury Accommodations,
   Best Hotels for Families, and Best Neighborhood Accommodations, the page saves
   fine. As soon as I duplicate that row or any of the individual widgets, the page
   errors out again.
 * What do you suggest I look at now?
 * Thanks,
    Angi

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

The topic ‘Error code when updating pages’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [asemler33](https://wordpress.org/support/users/asemler33/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/error-code-when-updating-pages/#post-11146690)
 * Status: resolved