Tagged: Expose Theme, parse error, wordpress
Just bought this theme for it’s gallery style and rating system.
Hope page works fine. Click on another page or post and I’m displayed with
Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\…\wp-content\themes\expose\single.php on line 121
Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\…\wp-content\themes\expose\page.php on line 105
Currently running latest WP version, version 4.1.1–en_GB I’m aware this theme is somewhat out dated. But as I paid for it, I am hoping there is a fix or work around.
Thanks in advance.
Hey HoodedVillian!
Could you try to overwrite the whole theme with a fresh copy from Themeforest please?
Regards,
Rikard
Hi Rikard
Already tried that several times, and still does not work.
Speaking some friends who know a lout about coding, they seem to think…. It has something to do with Line Endings. And I must do something like dos2unix [options] [FILE …] [-n INFILE OUTFILE …] or something???
I think I fixed it…..
single.php and page.php
<?
endwhile;
endif;
echo “</div>”;
$k_option[‘showSidebar’] = ‘page’;
get_sidebar();
get_footer();
}
?>
There was a php missing from the <?
You must be logged in to reply to this topic.