Support » Themes and Templates » Responsive » theme-options.php throwing error on update
3 years, 10 months ago
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'] = '';
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.
There haven’t been any edits to the parent. I’m running a child theme, however.
Child Theme with style.css only, nothing else in it?
No, there is quite a bit more than just a new style file.
Are there any specific hooks/filters I need to avoid?
That should be good and here’s what I would not add:
If needed /responsive-child-theme/functions.php