Title: syntax error, unexpected $end
Last modified: August 19, 2016

---

# syntax error, unexpected $end

 *  [Claymenia](https://wordpress.org/support/users/claymenia/)
 * (@claymenia)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-end-2/)
 * Hi, i’ve this error with my script : syntax error, unexpected $end […] on line
   138 :
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com)]_
 * Can u help me ?

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

 *  Thread Starter [Claymenia](https://wordpress.org/support/users/claymenia/)
 * (@claymenia)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-end-2/#post-1860154)
 * Ok i’ve resolved my bad $end with this code :
 * [http://wordpress.pastebin.com/hPKwj0q6](http://wordpress.pastebin.com/hPKwj0q6)
 * But i’ve a new problem : i can’t see previously entry now… if i click on “previously
   entries”, i return on this page, with last entry, while adress is ?paged=2…
 * Help ? 🙂
 *  Thread Starter [Claymenia](https://wordpress.org/support/users/claymenia/)
 * (@claymenia)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-end-2/#post-1860212)
 * I find maibe the problem’s origin… i think it’s a bad adresse because i’ve [http://www.url.com/?paged=2](http://www.url.com/?paged=2)
   and not a correct url : [http://www.url.com/?page_id=X&paged=2&#8230](http://www.url.com/?page_id=X&paged=2&#8230);
 * But i’ve no idear for resolve that…

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

The topic ‘syntax error, unexpected $end’ is closed to new replies.

## Tags

 * [entries](https://wordpress.org/support/topic-tag/entries/)
 * [previously](https://wordpress.org/support/topic-tag/previously/)

 * 2 replies
 * 1 participant
 * Last reply from: [Claymenia](https://wordpress.org/support/users/claymenia/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-unexpected-end-2/#post-1860212)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
