• 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.

    What is this trying to tell me and how do I remove it?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    (@ricci1)

    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.