Support » Plugin: Options Framework » [Plugin: Options Framework] Theme options brake

  • Hello!

    I’m using options framework in a theme. I use a bunch of options, one of them is upload. It seems that this option:

    $options[] = array( "name" => __('Custom logo image', 'gamepress'),
    						"desc" => __('You can upload custom image for your website logo (optional).', 'gamepress'),
    						"id" => "gamepress_logo_image",
    						"type" => "upload");

    breaks the whole thing. In theme options panel above this field I get the notice:
    Notice: Undefined index: id in C:\Users\…\…\…\…\InstantWP_4.1\iwpserver\htdocs\wordpress\wp-content\themes\gamepress\admin\options-framework\options-medialibrary-uploader.php on line 102
    When I remove this option, everyting works perfectly. I’m using newest version of Options framework form Github. What could be wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Devin Price


    Looks fine to me. What happens if you use this (from Options Check):

    $options[] = array(
    		'name' => __('Uploader Test', 'options_check'),
    		'desc' => __('This creates a full size uploader that previews the image.', 'options_check'),
    		'id' => 'example_uploader',
    		'type' => 'upload');

    This changes nothig, I get the same error. I think I’m gonna start from scrach… this has to be something small and stupid.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Options Framework] Theme options brake’ is closed to new replies.