Sorry, but you do not have the capability to view this topic
-
Unknowen Support Status
- Topics: 4
- Replies: 17
- Total posts: 21
Post count: 19My site updated to the latest 6.2 version and the Musicplay theme is now broken with an internal error 500.
I can trace the error tot the theme file headers.php, when i remove this piece of code, it works, but the header is not shown:
<?php
$headerstyle = get_option( ‘atp_headerstyle’, ‘default’ );
switch ( $headerstyle ) {
case ‘headerstyle1’:
get_template_part( ‘headers/header’, ‘style1’ );
break;
case ‘headerstyle2’:
get_template_part( ‘headers/header’, ‘style2’ );
break;
case ‘headerstyle3’:
get_template_part( ‘headers/header’, ‘style3’ );
break;
default:
get_template_part( ‘headers/header’, ‘default’ );
}
?>Can You please help me?