Title: htmlentities() errors with Grain theme
Last modified: August 19, 2016

---

# htmlentities() errors with Grain theme

 *  [scottmliddell](https://wordpress.org/support/users/scottmliddell/)
 * (@scottmliddell)
 * [16 years ago](https://wordpress.org/support/topic/htmlentities-errors-with-grain-theme/)
 * Just did a fresh install with WP 2.9.2 and Yet Another Photoblog 1.9.24 with 
   Grain 0.3 r2.
 * In the Grain options pages I’m getting lots of occurrences of:
 * htmlentities() expects at most 3 parameters, 4 given in /homepages/14/d120367860/
   htdocs/de/wp-content/themes/grain/func/littlehelpers.php on line 30
 * Also getting HTTP 500 now with the admin page…
 * Something isn’t happy!
 * Anyone seen this?

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

 *  Thread Starter [scottmliddell](https://wordpress.org/support/users/scottmliddell/)
 * (@scottmliddell)
 * [16 years ago](https://wordpress.org/support/topic/htmlentities-errors-with-grain-theme/#post-1438953)
 * I just switched to another YAPB compatible theme and all is well, the HTTP 500
   is resolved so was definitely being caused by Grain 0.3 r2.
 * Would still prefer to use Grain if anyone know what’s wrong…
 *  [japes](https://wordpress.org/support/users/japes/)
 * (@japes)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/htmlentities-errors-with-grain-theme/#post-1439409)
 * I’m having the same issue.,
    Would still prefer to use Grain if anyone know what’s
   wrong…

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

The topic ‘htmlentities() errors with Grain theme’ is closed to new replies.

## Tags

 * [Yapb](https://wordpress.org/support/topic-tag/yapb/)

 * 2 replies
 * 2 participants
 * Last reply from: [japes](https://wordpress.org/support/users/japes/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/htmlentities-errors-with-grain-theme/#post-1439409)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
