• Resolved Rolf Allard van Hagen

    (@ravanh)


    Hi, both Catch Box and Catch Everest cause an internal server error when running HHVM:

    Fatal error: syntax error, unexpected ':' in /.../wp-content/themes/catch-everest/inc/catcheverest-functions.php on line 366

    In Catch Box the error is:

    Fatal error: syntax error, unexpected ':' in /.../wp-content/themes/catch-box/inc/custom-header.php on line 218

    In both cases this is structure happening but not allowed in HHVM :

    if () {
      ...
    } else if () :
        ...
    else :
        ...
    endif;

    Changing it either to:

    if () {
      ...
    } else {
      if () :
        ...
      else :
        ...
      endif;
    }

    Or to

    if () {
      ...
    } elseif () {
        ...
    } else {
        ...
    }

    will fix the problem and make Catch themes compatible with HHVM 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • wensolutionsupport

    (@wensolutionsupport)

    Hello,
    Your suggestions are quite valuable to the theme authors, they would be more than happy if you could post the bugs in their official support forum, here https://catchthemes.com/support-forum/

    Thank you for your effort to make the theme better.

    Best regards.

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Looks like I need an account there to post. Ddon’t they monitor these forums on ww.wp.xz.cn? That’s a pity.

    By the way, love your WEN Sol theme! Are you going to release it in the WP.org Themes repo?

    Sakin Shrestha

    (@sakinshrestha)

    Thanks @ravanh for reporting and we have released the update for this issue. We have authorized WenSolutions to help us to solve issue in ww.wp.xz.cn.

    We take priority in our main website and we have clearly mention that in theme description https://ww.wp.xz.cn/themes/catch-everest/ and readme.txt file.

    Thanks for appreciating WenSolutions.

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Great! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error 500’ is closed to new replies.