Title: theme-options.php throwing error on update
Last modified: August 20, 2016

---

# theme-options.php throwing error on update

 *  [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/theme-optionsphp-throwing-error-on-update/)
 * The following line (531) is throwing an error in my install:
 * `$input['responsive_inline_css_js_footer'] = wp_kses_stripslashes($input['responsive_inline_css_js_footer']);`
 * If I add the following before that line then it resolves the issue.
 *     ```
       if( !array_key_exists( 'responsive_inline_css_js_footer', $input ) )
       	$input['responsive_inline_css_js_footer'] = '';
       ```
   

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

 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/theme-optionsphp-throwing-error-on-update/#post-3411258)
 * Any modifications of parent theme prior to this? The reason why I asked is because
   if nothing was modified the error is not there. Please let me know either way.
 * Thanks,
    Emil
 *  Thread Starter [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/theme-optionsphp-throwing-error-on-update/#post-3411274)
 * There haven’t been any edits to the parent. I’m running a child theme, however.
 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/theme-optionsphp-throwing-error-on-update/#post-3411277)
 * Child Theme with style.css only, nothing else in it?
 * Thanks,
    Emil
 *  Thread Starter [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/theme-optionsphp-throwing-error-on-update/#post-3411306)
 * No, there is quite a bit more than just a new style file.
 * Are there any specific hooks/filters I need to avoid?
 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/theme-optionsphp-throwing-error-on-update/#post-3411316)
 * That should be good and here’s what I would not add:
    - /responsive/functions.php
    - /responsive/includes/theme-options.php
 * If needed /responsive-child-theme/functions.php
 * Thanks,
    Emil

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

The topic ‘theme-options.php throwing error on update’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/responsive/6.3.8/screenshot.png)
 * Responsive
 * [Support Threads](https://wordpress.org/support/theme/responsive/)
 * [Active Topics](https://wordpress.org/support/theme/responsive/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/responsive/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/responsive/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/theme-optionsphp-throwing-error-on-update/#post-3411316)
 * Status: not resolved