Title: Undefined property: stdClass::$version
Last modified: May 7, 2021

---

# Undefined property: stdClass::$version

 *  Resolved [jjwitton](https://wordpress.org/support/users/jjwitton/)
 * (@jjwitton)
 * [5 years ago](https://wordpress.org/support/topic/undefined-property-stdclassversion-3/)
 * Hi, I’m having a few issues with php errors showing in Query Monitor when I got
   to the woocommerce status page.
 * Undefined property: stdClass::$version
 *     ```
       wp-content/plugins/woocommerce/includes/admin/class-wc-admin-status.php:255
       WC_Admin_Status::get_latest_theme_version()
       wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php:1025
       WC_REST_System_Status_V2_Controller->get_theme_info()
       wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php:594
       WC_REST_System_Status_V2_Controller->get_item_mappings_per_fields()
       wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php:75
       WC_REST_System_Status_V2_Controller->get_items()
       wp-includes/rest-api/class-wp-rest-server.php:1139
       WP_REST_Server->respond_to_request()
       wp-includes/rest-api/class-wp-rest-server.php:985
       WP_REST_Server->dispatch()
       wp-includes/rest-api.php:479
       rest_do_request()
       wp-content/plugins/woocommerce/includes/class-wc-api.php:97
       WC_API->get_endpoint_data()
       wp-content/plugins/woocommerce/includes/admin/views/html-admin-page-status-report.php:14
       WC_Admin_Status::status_report()
       wp-content/plugins/woocommerce/includes/admin/views/html-admin-page-status.php:43
       WC_Admin_Status::output()
       wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php:287
       WC_Admin_Menus->status_page()
       wp-includes/class-wp-hook.php:292
       do_action('woocommerce_page_wc-status')
       wp-admin/admin.php:259
       ```
   
 * Any help in how I could fix them would be much appreciated. All plugins are up
   to date and theme also.

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

 *  Plugin Support [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * (@gabrielfuentes)
 * [5 years ago](https://wordpress.org/support/topic/undefined-property-stdclassversion-3/#post-14413908)
 * Hi there 👋
 * This kind of problem is usually caused by a conflict with your theme or with 
   another plugin.
      The best way to determine this is to:
    - Temporarily switch your theme to [Storefront](https://www.woocommerce.com/storefront/)
    - Disable all plugins except for WooCommerce
    - Repeat the action that is causing the problem
 * If you’re not seeing the same problem after completing the conflict test, then
   you know the problem was with the plugins and/or theme you deactivated. To figure
   out which plugin is causing the problem, reactivate your other plugins one by
   one, testing after each, until you find the one causing conflict. [You can find a more detailed explanation on how to do a conflict test here.](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
 * **Before you start**
 * First, please make sure you have a good backup in place of your full site and
   database. Most hosting companies have this included in the subscription, but 
   you could also consider using a service like Jetpack. If something goes wrong,
   it’s nice to know that you can restore your site.
 * Second, I would suggest installing a plugin called Health Check & Troubleshooting.
   This is a plugin developed by the WordPress community and it allows you to disable
   plugins without affecting your current site visitors.`
 * Cheers 🙂
 *  Thread Starter [jjwitton](https://wordpress.org/support/users/jjwitton/)
 * (@jjwitton)
 * [5 years ago](https://wordpress.org/support/topic/undefined-property-stdclassversion-3/#post-14415931)
 * Hi Gabriel,
 * Thank you for your response. I’ve tried your steps and it appears to be the Theme
   and the child theme I’m using. Everything else works perfectly with no errors.
 * Any reasons why this may be happening? And the next steps to take.
    -  This reply was modified 5 years ago by [jjwitton](https://wordpress.org/support/users/jjwitton/).
 *  Plugin Support [B C. a11n](https://wordpress.org/support/users/battouly/)
 * (@battouly)
 * [5 years ago](https://wordpress.org/support/topic/undefined-property-stdclassversion-3/#post-14420596)
 * Hi [@jjwitton](https://wordpress.org/support/users/jjwitton/),
 * It could be caused by the theme’s code not being ready with the WooCommerce version
   you are using. As a next step, I recommend reaching out to the theme developer
   to see if they have a clue on why this is happening only when their theme is 
   active.
 * Maybe they have updates available to solve it.
 *  Thread Starter [jjwitton](https://wordpress.org/support/users/jjwitton/)
 * (@jjwitton)
 * [5 years ago](https://wordpress.org/support/topic/undefined-property-stdclassversion-3/#post-14429501)
 * Hi [@battouly](https://wordpress.org/support/users/battouly/)
 * Thank you for your response. I’ve spoken with my theme provider who have said
   this below
 * > As we can see, the WooCommerce plugin tries to get the theme version using 
   > wordpress.org API. But since our theme is not hosted there it got this notice.
   > It is harmless and you can ignore it.
 * I’m not sure this is correct as I’ve already installed the theme on another site
   and this issue does not happen on that site.
 *  Plugin Support [B C. a11n](https://wordpress.org/support/users/battouly/)
 * (@battouly)
 * [5 years ago](https://wordpress.org/support/topic/undefined-property-stdclassversion-3/#post-14467226)
 * Hi [@jjwitton](https://wordpress.org/support/users/jjwitton/),
 * > I’m not sure this is correct as I’ve already installed the theme on another
   > site and this issue does not happen on that site.
 * You can update the theme developers with the information above, so they can guide
   you further.
 * You can also keep conflict testing and comparing with the working site to have
   a clue on what may be going wrong.
 * After your confirmation of the theme being the problem and the theme developers’
   clarification of this error being harmless and that it could be ignored, I’m 
   going to mark this as resolved.
 * If you have any further questions, you can start a new thread.
 * You can still comment on this thread to share updates for the community.

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

The topic ‘Undefined property: stdClass::$version’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [B C. a11n](https://wordpress.org/support/users/battouly/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/undefined-property-stdclassversion-3/#post-14467226)
 * Status: resolved