WordPress.org

Support

Support » Themes and Templates » [Theme: Catch Box] theme-options.php error generated upon install

[Theme: Catch Box] theme-options.php error generated upon install

Viewing 9 replies - 1 through 9 (of 9 total)
  • LeslieAnn
    Member

    @leslieann

    I have the same theme and having the same error issue.
    I’m not really knowledgable about CSS at all.
    Does anyone know a way to fix this?
    I already tried updating the theme.

    Hi,
    I think the error is due to uninitialized variable. You can just put this line of code
    if( !empty( $options ) )
    just above this line foreach( $options as $option ) { above line 1033 of theme-options.php inside inc folder of your theme

    also the value will be set once you fill up the social link option on admin section and click save and the error message will not show up again.

    Theme Author Catch Themes
    Participant

    @catchthemes

    Hi Everyone,

    Sorry we missed that. Robin got it right. I am fixing this and other issues in version 1.0.7 which will bee soon available.

    Till then please open theme-options.php and find this code in line no: 1033

    foreach( $options as $option ) {
    		if( $option ) {
    			$flag = 1;
    		}
    		else {
    			$flag = 0;
    		}
    		if( $flag == 1) {
    			break;
    		}
    	}

    Replace this with

    if( !empty( $options ) ) {
    		foreach( $options as $option ) {
    			if( $option ) {
    				$flag = 1;
    			}
    			else {
    				$flag = 0;
    			}
    			if( $flag == 1) {
    				break;
    			}
    		}
    	}

    Regards,
    Sakin

    Theme Author Catch Themes
    Participant

    @catchthemes

    Hi Everyone,

    There is version update which fixes this issue. Just update to latest version 1.0.7

    Regards,
    Sakin

    basku
    Member

    @bha100710

    Hi Sakin

    Thanks for the awesome theme catch-box.

    I have updated some of the social links in the theme option but it does not reflect anywhere on my blog.

    Where do these social links appear ?

    Thanks again

    regards
    Bhaskar

    Hi bha100710,

    The social links should appear at the bottom of the site just above the text “Powered by WordPress.” Please make sure that the social links are saved in theme option. The links that you updated should remain over the input box in your theme option. It should be working fine. If the problem still persists please let us know. And it will be better if you could post your question in a new Thread.

    Regards,
    Rabin

    websmythe
    Member

    @websmythe

    I just installed v1.0.7 on WP 3.3.2 and am geting same error…?? Is there something else I can do?

    Theme Author Catch Themes
    Participant

    @catchthemes

    Hi Websmythe,

    Can you send us message from http://catchthemes.com with the screenshot and details and then I will repose details on there.

    Regards,
    Sakin

    Theme Author Catch Themes
    Participant

    @catchthemes

    HI Websmythe,

    You need to upgrade your WordPress.

    Regards,
    Sakin

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Theme: Catch Box] theme-options.php error generated upon install’ is closed to new replies.