• Hi,

    I just installed Cara theme and my website is broken ??

    Now I only see this line

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/t/h/u/thuthaorweb/html/wp-content/themes/cara/includes/tamatebako.php on line 1589

    Check it out

    Thao

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author turtlepod

    (@turtlepod)

    i’m sorry for the error, i believe it’s because your server is using php 5.2.x
    this error is caused by using php 5.3 in Cara theme.
    i did a php version check in the function, but i think the check itself is not good enough.

    most hosting company i think already using > php 5.3, so i didn’t realize this.

    you may need to login via ftp to delete the theme (it will switch back to default theme).

    and please help me to debug the fix:

    please install this version and see if it will fix the issue so i can update the theme correctly.
    https://dl.dropboxusercontent.com/u/32880842/etc2/cara-php5.3-fix.zip

    you can install it via wp admin, Appearance > Themes > Add New > Upload theme
    and upload the zip file.
    or extract the zip file and upload it via ftp.

    i cannot debug them properly because all my server is running php 5.4

    thank you.

    cfleek

    (@cfleek)

    I too had a similar issue, but I received the WSOD. Looking at my PHP settings, my host (bluehost) defaults to pHp5.2

    I installed your “fix” and it loaded up without any issues, so it looks like your fix works.
    Be happy to test anything else for you.
    I will also look into upgrading PHP to 5.4

    -Craig

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘syntax error’ is closed to new replies.