Title: Portfolio Error &#8211; Array
Last modified: August 21, 2016

---

# Portfolio Error – Array

 *  [Ricci1](https://wordpress.org/support/users/ricci1/)
 * (@ricci1)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/portfolio-error-array/)
 * I am getting this error “Warning: array_count_values() [function.array-count-
   values]: Can only count STRING and INTEGER values! in /home/content/87/9848387/
   html/wordpress/wp-content/themes/smartstart/functions/custom-functions.php on
   line 640”, which displays prominently [on the website](http://hannahsanford.com/portfolio-item/wedding-graphic-recording/).
 * What is this trying to tell me and how do I remove it?
 * Thanks!

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

 *  [bemdesign](https://wordpress.org/support/users/bemdesign/)
 * (@bemdesign)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/portfolio-error-array/#post-4325794)
 * It likely means that your theme (smartstart) is making some PHP calls in it’s
   custom-functions.php file – on line 640 of that file no less – that WordPress
   doesn’t like. Thus the error message.
 * To remove the error message? Make sure the function array_count_values() is actually
   counting strings (text including numbers and letters) or integers (just numbers)
   and not objects or arrays (sets of data).
 *  Thread Starter [Ricci1](https://wordpress.org/support/users/ricci1/)
 * (@ricci1)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/portfolio-error-array/#post-4326016)
 * Late, but still heartfelt: Thanks so much for your help!
    I know it’s been for
   ever but do you have any advise on how to do this and where to find this in WP?
   Your help would be greatly appreciated!

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

The topic ‘Portfolio Error – Array’ is closed to new replies.

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [string](https://wordpress.org/support/topic-tag/string/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Ricci1](https://wordpress.org/support/users/ricci1/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/portfolio-error-array/#post-4326016)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
