[wp-trac] [WordPress Trac] #62589: error 599
WordPress Trac
noreply at wordpress.org
Wed Nov 27 18:03:22 UTC 2024
#62589: error 599
--------------------------+----------------------
Reporter: 4cic | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 6.7.1
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by sabernhardt):
* keywords: needs-design =>
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Old description:
> Buenas tardes tras la ultima actualizacion de wordpress la 6.7.1, me ha
> saltado el siguiente error y me ha desconfigurado la web por completo.
> Los precios me salen sin IVA y nose porque ocurre eso. Les dejo el error
> que me aparece:
>
> Se ha producido un error del tipo E_ERROR en la línea 599 del archivo
> /home/customer/www/4cic.es/public_html/wp-
> content/plugins/woocommerce/src/Admin/API/Reports/Customers/DataStore.php.
> Mensaje de error: Uncaught Error: Call to a member function
> getTimestamp() on null in /home/customer/www/4cic.es/public_html/wp-
> content/plugins/woocommerce/src/Admin/API/Reports/Customers/DataStore.php:599
> Stack trace:
> #0 /home/customer/www/4cic.es/public_html/wp-
> content/plugins/woocommerce/src/Admin/API/Reports/Customers/DataStore.php(567):
> Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore::get_customer_order_data_and_format(Object(Automattic\WooCommerce\Admin\Overrides\Order))
> #1 /home/customer/www/4cic.es/public_html/wp-
> content/plugins/woocommerce/src/Admin/Overrides/Order.php(110):
> Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore::get_or_create_customer_from_order(Object(Automattic\WooCommerce\Admin\Overrides\Order))
> #2 /home/customer/www/4cic.es/public_html/wp-
> content/plugins/woocommerce/src/Internal/Admin/Orders/MetaBoxes/CustomerHistory.php(31):
> Automattic\WooCommerce\Admin\Overrides\Order->get_report_customer_id()
> #3 /home/customer/www/4cic.es/public_html/wp-
> content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(276):
> Automattic\WooCommerce\Internal\Admin\Orders\MetaBoxes\CustomerHistory->output(Object(Automattic\WooCommerce\Admin\Overrides\Order))
> #4 /home/customer/www/4cic.es/public_html/wp-
> admin/includes/template.php(1456):
> Automattic\WooCommerce\Internal\Admin\Orders\Edit::Automattic\WooCommerce\Internal\Admin\Orders\{closure}(Object(WP_Post),
> Array)
> #5 /home/customer/www/4cic.es/public_html/wp-admin/edit-form-
> advanced.php(715): do_meta_boxes(Object(WP_Screen), 'side',
> Object(WP_Post))
> #6 /home/customer/www/4cic.es/public_html/wp-admin/post.php(206):
> require('/home/customer/...')
> #7 {main}
> thrown
>
> ¿Podrian ayudarme a solucionar el problema?
New description:
Buenas tardes tras la ultima actualizacion de wordpress la 6.7.1, me ha
saltado el siguiente error y me ha desconfigurado la web por completo. Los
precios me salen sin IVA y nose porque ocurre eso. Les dejo el error que
me aparece:
{{{
Se ha producido un error del tipo E_ERROR en la línea 599 del archivo
/.../wp-
content/plugins/woocommerce/src/Admin/API/Reports/Customers/DataStore.php.
Mensaje de error: Uncaught Error: Call to a member function getTimestamp()
on null in /.../wp-
content/plugins/woocommerce/src/Admin/API/Reports/Customers/DataStore.php:599
Stack trace:
#0 /.../wp-
content/plugins/woocommerce/src/Admin/API/Reports/Customers/DataStore.php(567):
Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore::get_customer_order_data_and_format(Object(Automattic\WooCommerce\Admin\Overrides\Order))
#1 /.../wp-content/plugins/woocommerce/src/Admin/Overrides/Order.php(110):
Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore::get_or_create_customer_from_order(Object(Automattic\WooCommerce\Admin\Overrides\Order))
#2 /.../wp-
content/plugins/woocommerce/src/Internal/Admin/Orders/MetaBoxes/CustomerHistory.php(31):
Automattic\WooCommerce\Admin\Overrides\Order->get_report_customer_id()
#3 /.../wp-
content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(276):
Automattic\WooCommerce\Internal\Admin\Orders\MetaBoxes\CustomerHistory->output(Object(Automattic\WooCommerce\Admin\Overrides\Order))
#4 /.../wp-admin/includes/template.php(1456):
Automattic\WooCommerce\Internal\Admin\Orders\Edit::Automattic\WooCommerce\Internal\Admin\Orders\{closure}(Object(WP_Post),
Array)
#5 /.../wp-admin/edit-form-advanced.php(715):
do_meta_boxes(Object(WP_Screen), 'side', Object(WP_Post))
#6 /.../wp-admin/post.php(206): require('/home/customer/...')
#7 {main}
thrown
}}}
¿Podrian ayudarme a solucionar el problema?
--
Comment:
Hi and welcome to WordPress Core Trac!
You already have a [https://es.wordpress.org/support/topic/error-
actualizacion-2/ support forum topic] about this, but it could fit better
in the [https://wordpress.org/support/plugin/woocommerce/ WooCommerce
forum].
[https://github.com/woocommerce/woocommerce/blob/50c7d8784426445f3254265b2b6d0e9ad755c4e8/plugins/woocommerce/src/Admin/API/Reports/Customers/DataStore.php#L599
Line 599] involves order dates with the WooCommerce plugin.
I'll close the ticket as 'invalid' because I do not think any change to
core WordPress files would help.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62589#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list