• Resolved sagejohn

    (@sagejohn)


    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 to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @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?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.