Could you please provide us the code from the relevant file and line, so we can examine it?
Without the code, we cannot assist much.
However, this problem most likely occured because you forgot to declare the variable.
Use isset to check if your variable is declared.
Example:
if(isset($_POST['whatever'])) {
$value = $_POST['whatever'];
}
Thread Starter
GregW
(@gwmbox)
Oops sorry here is the code relevant to line 199
function frontier_register_sidebars_extra() {
$widget_areas = frontier_option('widget_areas');
if ( $widget_areas['body'] == 1 ) {
register_sidebar( array(
'name' => __('Body', 'frontier'),
'id' => 'widgets_body',
'description' => __('Widgets outside of the container. If used, you\'ll have to position the widgets with css.', 'frontier'),
'before_widget' => '<div id="%1$s" class="widget-body frontier-widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h4 class="widget-title">',
'after_title' => '</h4>') );
}
If more is needed please let me know.
Can you provide me with the frontier_option function?
I’m using Theme Check and I’m not seeing any errors at all. I’ll assume that you’re using the latest theme version and the latest version of Theme Check. Have you modified any php files. It’s possible that some of your files are missing or corrupted. The relevant files are functions.php, options.php and the options-framework folder inside the includes folder.