Title: stdClass as array Error
Last modified: August 20, 2016

---

# stdClass as array Error

 *  [alaachehayeb](https://wordpress.org/support/users/alaachehayeb/)
 * (@alaachehayeb)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/stdclass-as-array-error/)
 * Hello,
 * I was working with my new website, I edited the theme and added posts and pages
   and everything was fine.
    Until today when checking the site i saw this error:**
   Cannot use object of type stdClass as array in /home/blackbne/public_html/wp-
   content/themes/Backstreet/panel/widgets/social-counter-widget.php on line 52**
   and nothing on the home page displayed or even inside the posts
 * How can I solve it? and how this error came?
    Thanks

Viewing 1 replies (of 1 total)

 *  [ricardusexa](https://wordpress.org/support/users/ricardusexa/)
 * (@ricardusexa)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/stdclass-as-array-error/#post-3114349)
 * It has to do with your theme. Disable your theme by deactivating it and temporarily
   use the default theme to see if the problem still exist or nott.

Viewing 1 replies (of 1 total)

The topic ‘stdClass as array Error’ is closed to new replies.

## Tags

 * [stdClass](https://wordpress.org/support/topic-tag/stdclass/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [ricardusexa](https://wordpress.org/support/users/ricardusexa/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/stdclass-as-array-error/#post-3114349)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
