Error 500
-
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)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Error 500’ is closed to new replies.