Title: WC admin page error
Last modified: June 20, 2023

---

# WC admin page error

 *  Resolved [sagejohn](https://wordpress.org/support/users/sagejohn/)
 * (@sagejohn)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wc-admin-page-error/)
 * I am getting the following error in when trying to open my wc admin page payments:
 * Deprecated: Return type of WC_DateTime::setTimezone($timezone) should either 
   be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or
   the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress
   the notice in /usr/www/users/littlmkmwy/wp-content/plugins/woocommerce/includes/
   class-wc-datetime.php on line 57 Deprecated: Return type of WC_DateTime::getOffset()
   should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange]
   attribute should be used to temporarily suppress the notice in /usr/www/users/
   littlmkmwy/wp-content/plugins/woocommerce/includes/class-wc-datetime.php on line
   47 Deprecated: Return type of WC_DateTime::getTimestamp() should either be compatible
   with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute
   should be used to temporarily suppress the notice in /usr/www/users/littlmkmwy/
   wp-content/plugins/woocommerce/includes/class-wc-datetime.php on line 68 Deprecated:
   Return type of WC_Meta_Data::jsonSerialize() should either be compatible with
   JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute
   should be used to temporarily suppress the notice in /usr/www/users/littlmkmwy/
   wp-content/plugins/woocommerce/includes/class-wc-meta-data.php on line 50 Deprecated:
   Implicit conversion from float 80.1 to int loses precision in /usr/www/users/
   littlmkmwy/wp-includes/class-wp-hook.php on line 76 Deprecated: Implicit conversion
   from float 80.1 to int loses precision in /usr/www/users/littlmkmwy/wp-includes/
   class-wp-hook.php on line 78
 * I updated my site to 6.3.1 not sure what caused this I even disabled my plugins.
 * please see report:
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwc-admin-page-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Beauty of Code (woo-hc)](https://wordpress.org/support/users/beautyofcode/)
 * (@beautyofcode)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/wc-admin-page-error/#post-16850904)
 * Hi [@sagejohn](https://wordpress.org/support/users/sagejohn/) ,
 * Thanks for reaching out!
 * The error message you’re seeing indicates that there are some deprecated function
   calls, specifically related to the `WC_DateTime` and `WC_Meta_Data` classes. 
   Deprecated functions are those that have been outdated and may not be fully compatible
   with the current version of the plugin.
 * I’d like to have a better understanding of your sites current environment, please
   can you share the following:
    - **System Status Report:** you can find this via **WooCommerce** → **Status**.
      Select `Get system report` and then `Copy for support`.
    - **Screenshot(s):** Please share a clear screenshot of what you see on your
      end when navigating to the Payments page.
 * [Snipboard.io](https://snipboard.io/)_ can be used for easily sharing screenshots–
   please follow the instructions on that page, then paste the URL in this thread._
 * Once you have these, please share the results in your response here.
 * Cheers!

Viewing 1 replies (of 1 total)

The topic ‘WC admin page error’ 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/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Beauty of Code (woo-hc)](https://wordpress.org/support/users/beautyofcode/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/wc-admin-page-error/#post-16850904)
 * Status: resolved