here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack http://stackoverflow.com/questions/25434885/php-parse-error-syntax-error-unexpected-endif-t-endif Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a http://wordpress.stackexchange.com/questions/142311/parse-error-syntax-error-unexpected-end-of-file community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up PHP Parse error: syntax error, unexpected 'endif' (T_ENDIF) [closed] up vote -1 down vote favorite I syntax error think Iam getting blind... I really dont find the syntax error in my code
Where is my mistake?! best regards php wordpress syntax-error share|improve this question asked Aug 21 '14 at 19:57 Thomas 66112 closed as off-topic by nickb, showdev, Fred -ii-, mario, Machavity Aug 21 '14 at 20:05 This question appears to be syntax error unexpected off-topic. The users who voted to close gave this specific reason:"This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." – nickb, showdev, Fred -ii-, mario, MachavityIf this question can be reworded to fit the rules in the help center, please edit the question. 4 –Fred -ii- Aug 21 '14 at 19:58 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote There must be a colon instead of a semicolon...
share|improve this answer answered Aug 21 '14 at 19:59 Thomas 66112 add a comment| Not the answer you're looking for? Browse other questions tagged php wordpress syntax-error or ask your own question. asked 2 years ago viewed 1607 times active 2 years ago Related -1Parse error: syntax error, unexpected '/' in206PHP Parse/Syntax Errors; and How to solve them?0Parse error: syntax error, unexpected 'endif' (T_ENDIF), when trying
tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us WordPress Development Questions Tags Users Badges Unanswered Ask Question _ WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Parse error: syntax error, unexpected end of file up vote 0 down vote favorite I am getting this error after loading my php page: Parse error: syntax error, unexpected end of file in /Applications/XAMPP/xamppfiles/htdocs/wordpress2/wp-content/themes/annonciation/page-42.php on line 77 I could understand that it means that I have opened a certain bracket or parenthasis somewhere, and didn't close it, but I can't for the love of god find it! Here is my code:
- Glossaire -
- . 'mots')); ?> have_posts() ) : $test -> the_post();?> 'mots', 'lettres' => 'alpha', 'order' => 'ASC' ); $the_query = new WP_Query( $args ); if($the_query->have_posts() ) : { while ( $the_query->have_posts() ) : $the_query->the_post(); //some code that is sure not making the er