Home Forums Theme support Theme Tycoo: Error Messages after Server Shutdown

This topic contains 4 replies, has 2 voices, and was last updated by  7Theme Support 4 years, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Hello

    happy new year

    For me it´s not happy yet. After a server shutdown I have to restore my WordPress installation with the Theme Tycoo (fantastic theme thanks to 7theme). Now the content is up again, but the theme installation/restoration bring 8 error messages.

    Does anyone know, what to do?
    Thanks for solutions.

    Here are the error messages:

    1.
    Warning
    Declaration of Menu_With_Description::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = NULL, $id = 0) in /homepages/1/d399732604/htdocs/wp-content/themes/tycoo/functions.php on line 183

    2.
    Warning
    Parameter must be an array or an object that implements Countable in /homepages/1/d399732604/htdocs/wp-content/themes/tycoo/7league/config.php on line 52

    3.
    Warning
    Parameter must be an array or an object that implements Countable in /homepages/1/d399732604/htdocs/wp-content/themes/tycoo/7league/config.php on line 52

    4.
    Warning
    Parameter must be an array or an object that implements Countable in /homepages/1/d399732604/htdocs/wp-content/themes/tycoo/7league/config.php on line 210

    5.
    Warning
    Parameter must be an array or an object that implements Countable in /homepages/1/d399732604/htdocs/wp-content/themes/tycoo/7league/config.php on line 210

    6.
    Warning
    Parameter must be an array or an object that implements Countable in /homepages/1/d399732604/htdocs/wp-content/themes/tycoo/7league/sidebars.php on line 66

    7.
    Warning
    Parameter must be an array or an object that implements Countable in /homepages/1/d399732604/htdocs/wp-content/themes/tycoo/7league/sidebars.php on line 66

    8.
    Warning
    Cannot modify header information – headers already sent by (output started at /homepages/1/d399732604/htdocs/wp-content/themes/tycoo/functions.php:183 in /homepages/1/d399732604/htdocs/wp-content/plugins/advanced-iframe/advanced-iframe.php on line 223

    code to 2./3././5.

    if(isset($sidebars))
    	{
    	for( $i=0; $i<count($sidebars); $i++ )
    		{
    		$ix=$i+20;
    		if(isset($sidebars[$i]))
    			{
    			if($sidebars[$i]!="")
    				{
    				$sidebar_names[]=$sidebars[$i];
    				$sidebar_ids[]="sidebar-".$ix;
    				}
    			}
    		}
    	}

    code to 6./7.

    $my_sidebars=load_option("sidebars");
    if(isset($my_sidebars))
    	{
    	for( $i=0; $i<count($my_sidebars); $i++ )
    		{
    		$ix=$i+20;
    		if(isset($my_sidebars[$i]))
    			{
    			if($my_sidebars[$i]!="")
    				{
    				register_sidebar( array(
    					'name' => 'Sidebar '.$my_sidebars[$i],
    					'id' => 'sidebar-'.$ix,
    					'before_widget' => '<aside id="%1$s" class="'.$my_sidebars[$i].'-sidebar widget %2$s"><div>',
    					'after_widget' => "</div></aside>",
    					'before_title' => '<h3 class="widget-title">',
    					'after_title' => '</h3>',
    				) );
    				}
    			}
    		}
    	}
    ?>

    code to function error 1./8.

    function wr_wp_get_attachment( $attachment_id ) {
    
    	$attachment = get_post( $attachment_id );
    	return array(
    		'alt' => get_post_meta( $attachment->ID, '_wp_attachment_image_alt', true ),
    		'caption' => $attachment->post_excerpt,
    		'description' => $attachment->post_content,
    		'href' => get_permalink( $attachment->ID ),
    		'src' => $attachment->guid,
    		'title' => $attachment->post_title
    	);
    }

    Hi,

    thank you for your post. A happy new year too!

    I think you installed an outdated version of the theme, please make sure to use always the most recent theme release. The errors you sent us are only warnings, no worry, your website will still work without any problem. But you should really deactivate the PHP error messages and warnings on your website, it’s dangerous!

    Hi,
    thanks for your information.

    You told me, the errors are only warnings, but the error messages is online visible, not hidden. How I can switch off the messages?

    My version of Tycoo is apparantly an outdated version, I think from 2015. Where I can get an update?

    best regards
    Michael

    Normally you can turn off the messages in your hosting panel, in the PHP settings. Search for “PHP errors and warnings”.

    If you bought the theme on our website, then you can download the theme in your account here

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

You must be logged in to reply to this topic.