Public Ticket #1310957
keep getting error when using the search widget


  • claramentepanama started the conversation

    hello, i keep getting this error

    Parse error: syntax error, unexpected 'global' (T_GLOBAL) in /home/sistermoon/public_html/wp-content/themes/BookYourTravel/custom-search-results.php on line 1

    whenever i use the search widget in the home page.  When i check the custom-search-results.php  i notice it´s all in one line, one really long line, so i replace it with the original file y downloaded with the theme, and it turns it into a on line file again.

  •  778
    Theme replied


    your ftp client has jumbled php files. To prevent this in the future, you must always upload php files in Binary transfer mode (any code files, not just our theme).

    To fix this, if for example using FileZilla, please go to Transfers -> Transfer Mode -> select Binary and then upload all theme files again.

    Thank you

    Best regards,

    themeenergy support