Your Time:
Our Time:

Theme broke after WP update

Sorry, but you do not have the capability to view this topic

  • Resolved
    Posted in: MusicPlay  
  • Unknowen Support Status
    • Topics: 4
    • Replies: 17
    • Total posts: 21
    Post count: 19
    2023-04-02 at 4:04 pm #28687

    My 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:


    $headerstyle = get_option( ‘atp_headerstyle’, ‘default’ );
    switch ( $headerstyle ) {
    case ‘headerstyle1’:
    get_template_part( ‘headers/header’, ‘style1’ );
    case ‘headerstyle2’:
    get_template_part( ‘headers/header’, ‘style2’ );
    case ‘headerstyle3’:
    get_template_part( ‘headers/header’, ‘style3’ );
    get_template_part( ‘headers/header’, ‘default’ );

    Can You please help me?

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.