Title: PHP Fatal error: Uncaught Error &#8220;stdClass&#8221; functions.php:212
Last modified: July 24, 2021

---

# PHP Fatal error: Uncaught Error “stdClass” functions.php:212

 *  [gpfnz](https://wordpress.org/support/users/gpfnz/)
 * (@gpfnz)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-stdclass-functions-php212/)
 * I have the same problem reported in this thread: [https://wordpress.org/support/topic/php-fatal-error-shopstar-functions-php209/](https://wordpress.org/support/topic/php-fatal-error-shopstar-functions-php209/)
 * Unfortunately, the OP didn’t share the solution with others and now my site has
   this problem. I am unable to load ANY admin pages in the dashboard. They all 
   return a blank page with error: “There has been a critical error on this website.
   Please check your site admin email inbox for instructions.”
 * The log file error is:
    `[proxy_fcgi:error] [pid 20104:tid 140588741080832] Got
   error 'PHP message: PHP Fatal error: Uncaught Error: Cannot use object of type
   stdClass as array in /home/[my web server]/public_html/wp-content/themes/shopstar/
   functions.php:212\nStack trace:\n#0`
 * The website still runs fine but the only way to access my admin dashboard pages
   is to rename the theme folder in FTP: /wp-content/themes/shopstar. Once I name
   it something like /shopstar-zzz, then the admin pages load fine HOWEVER, obviously
   this breaks the theme and the live site drops back to another theme (and looks
   terrible).
 * Can [@jgpuca](https://wordpress.org/support/users/jgpuca/) PLEASE respond with
   the solution or the **Shopstar support team**?
 * Thank you
    Gary

The topic ‘PHP Fatal error: Uncaught Error “stdClass” functions.php:212’ is closed
to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/shopstar/1.1.66/screenshot.png)
 * Shopstar!
 * [Support Threads](https://wordpress.org/support/theme/shopstar/)
 * [Active Topics](https://wordpress.org/support/theme/shopstar/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/shopstar/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/shopstar/reviews/)

## Tags

 * [broken site](https://wordpress.org/support/topic-tag/broken-site/)

 * 0 replies
 * 1 participant
 * Last reply from: [gpfnz](https://wordpress.org/support/users/gpfnz/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-error-stdclass-functions-php212/)
 * Status: not resolved