Home › Forums › WoodMart support forum › Undefined property: stdClass::$version Issue
Undefined property: stdClass::$version Issue
- This topic has 9 replies, 2 voices, and was last updated 3 years, 8 months ago by Artem Temos.
-
AuthorPosts
-
May 8, 2021 at 11:02 pm #290919
newK9ParticipantHi,
I’m finding that every time I go to woocommerce and click on the submenu status page, Query Monitor pulls up an php error with the plugin woocommerce.Undefined property: stdClass::$version
I have deactivated all plugins and spoken to woocommerce who advised me to install Storefront to see if the error persists. The error does not when storefront is active. Woocommerce have advised that the issue is most likely a conflict between woocommerce and the woodmart theme.
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 reasons why this may be happening or a fix?
Attachments:
You must be logged in to view attached files.May 10, 2021 at 6:29 am #291119
Artem TemosKeymasterHello,
Could you please disable all plugins that are not related to our theme and provide us your admin and FTP access so we can check it?
Thank you in advance
May 10, 2021 at 11:09 pm #291412
newK9ParticipantAll details provided below for you.
May 11, 2021 at 6:13 am #291453
Artem TemosKeymasterCould you please send us your FTP access as well?
May 11, 2021 at 2:11 pm #291586
newK9ParticipantSorry Artem I totally forgot. Details below
May 12, 2021 at 6:30 am #291720
Artem TemosKeymasterAs 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.
May 12, 2021 at 10:52 am #291800
newK9ParticipantI’ve installed the theme on another site as a fresh install and this php error is not present, only the test site I provided. Woocommerce have said that this still shouldn’t be happening and that a conflict is happening and could potentially cause other issues with the site.
It could be caused by the theme’s code not being ready with the WooCommerce version you are using.
I’m awaiting further response from woocommerce to see if they can see what’s the cause of this.
May 12, 2021 at 11:19 am #291813
Artem TemosKeymasterWe have fixed this notice on your side. Could you please test how it works now?
May 12, 2021 at 11:22 am #291817
newK9ParticipantHi Artem,
Thank you for taking the time to have a look and fix the issue. It has resolved it’s self.
May I ask what you did to resolve this php issue?
May 12, 2021 at 12:04 pm #291832
Artem TemosKeymasterWe have fixed this in our theme PHP files. The fix will be included in our theme update.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register