Title: Code Gods Help Me!
Last modified: August 19, 2016

---

# Code Gods Help Me!

 *  [jaycebro](https://wordpress.org/support/users/jaycebro/)
 * (@jaycebro)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/code-gods-help-me/)
 * I get a headache trying solve this myself! I get this error message in my WPZOOM
   theme called VideoZoom.
 * > Parse error: syntax error, unexpected T_ENDWHILE in /home/jayce/public_html/
   > wp-content/themes/videozoom/wpzoom_featured_posts.php on line 1
 * Is this the code needed to assess what’s happening?
 * >  <?php edit_post_link( __(‘Edit this post’), ‘ | ‘, ”); ?></p> </div> <?php
   > endwhile; ?> <?php endif; ?> <div class=”cleaner”> </div> </div><!– end .container–
   > > </div><!– end #featPostsBig –> <?php query_posts($args); $i = 0; if ( have_posts()):?
   > > <div id=”featPostsSmall”> <ul class=”pagination”> <?php while (have_posts()):
   > the_post(); update_post_caches($posts); $i++; ?> <li<?php if ($i == 6) {$i 
   > = 0; echo ” class=\”last\””;} ?>>[<span></span><?php unset($img);if ( current_theme_supports( ‘post-thumbnails’ ) && has_post_thumbnail() ) { $thumbURL = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ” ); $img = $thumbURL[0]; } else { unset($img); if ($wpzoom_cf_use == ‘Yes’) { $img = get_post_meta($post->ID, $wpzoom_cf_photo, true); } else { if (!$img) { $img = catch_that_image($post->ID); } } } if ($img){ ?><img src=”<?php bloginfo(‘template_directory’); ?>/scripts/timthumb.php?src=<?php echo $img ?>&h=98&w=135&zc=1″ alt=”<?php the_title(); ?>” width=”135″ height=”98″ />](https://wordpress.org/support/topic/code-gods-help-me/?output_format=md#)
   > <?php } ?> <?php endwhile; ?> <div class=”cleaner”> </div> </div><!– end #featPostsSmall–
   > > <?php endif; ?> [Prev](https://wordpress.org/support/topic/code-gods-help-me/?output_format=md#)
   > [Next](https://wordpress.org/support/topic/code-gods-help-me/?output_format=md#)
   > </div><!– end #featPosts –> <?php wp_reset_query(); ?><script type=”text/javascript”
   > charset=”utf-8″>jQuery(document).ready(function($){ $(‘#featPosts’).loopedSlider({
   > autoHeight: true, containerClick: false, slidespeed: 500, pauseOnHover: <?php
   > if ($wpzoom_slideshow_pause == ‘Yes’) { ?>true<?php } ?> <?php if ($wpzoom_slideshow_pause
   > == ‘No’) { ?>false<?php } ?>, addPagination: true, autoStart: <?php if ($wpzoom_slideshow_auto
   > == ‘Yes’) { ?><?php echo “$wpzoom_slideshow_speed”; ?><?php } ?> <?php if (
   > $wpzoom_slideshow_auto == ‘No’) { ?>0<?php } ?> }); });</script>
 * Yes, I did search for solutions before posting, I just don’t know what part of
   the code to fix the error from the other posts with similar problems.
 * Very grateful for any help you can provided!!
 * thank you!!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Joseph](https://wordpress.org/support/users/jpe24524/)
 * (@jpe24524)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/code-gods-help-me/#post-1754948)
 * Don’t paste codes in blockquote… It’s a mess…
 *  [Slobodan K](https://wordpress.org/support/users/wpcanyon/)
 * (@wpcanyon)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/code-gods-help-me/#post-1755215)
 * Anybody had this issue? I’m having a trouble fixing it too. It’s a funny bug 
   even with that whole code removed and just added…
 *     ```
       <?php
       echo "test";
       ?>
       ```
   
 * …it still shows a bug, but in that case it’s Parse error: parse error, unexpected
   T_ENCAPSED on line 1 of the same file.
 * It’s a really strange bug.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Code Gods Help Me!’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 2 replies
 * 3 participants
 * Last reply from: [Slobodan K](https://wordpress.org/support/users/wpcanyon/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/code-gods-help-me/#post-1755215)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
