Plugin makes it impossible to view large orders
-
When I click an order in the list of orders I get a blank page and a 503 in the console.
This only happens when the Mailchimp for WooCommerce plugin is active. As soon as I deactivate the plugin it works fine again.To Reproduce
Create an order with something like 35 items in it
Click on orders
Click the order with the 35 items in it.Expected behavior
I should be able to view the order.I have added a ticket on the github page, but I have had no response what so ever for over a month. The issue has rendered the plugin unusable for many months.
-
@alijens can you please look at your “fatal logs” in WooCommmerce to see if anything is showing up? I would be surprised if this isn’t an “out ot memory” error. What is your current PHP memory limit set to? We’ll be glad to help you through this, obviously that’s not the desired functionality of the plugin and I’m sure we can help resolve it for you with a little effort.
I did
php -i | grep “memory_limit”
and I getmemory_limit => 8589934592 => 8589934592
which should be about 8GB. It is on a server hosted at one.com. and the amount of memory is not something we can change.I was in contact with your chatt support about this issue earlier today and they have started to look?into it. I tried to email a video of the problem to them, but your mailsystem rejects the emails. I have tried sending the file both zipped and unzipped.
- This reply was modified 2 months, 3 weeks ago by alijens.
Oh yeah 8GB is PLENTY… what about the PHP memory limit shown on your wordpress system report though?
` WordPress Environment
WordPress address (URL): https://www.aveo.se
Site address (URL): https://www.aveo.se
WC Version: 9.2.3
Legacy REST API Package Version: ? 1.0.4
Action Scheduler Version: ? 3.8.1
Log Directory Writable: ?
WP Version: 6.6.1
WP Multisite: –
WP Memory Limit: 4 GB
WP Debug Mode: –
WP Cron: ?
Language: sv_SE
External object cache: – Server EnvironmentServer Info: Apache
PHP Version: 8.1.29
PHP Post Max Size: 256 MB
PHP Time Limit: 60000
PHP Max Input Vars: 5000
cURL Version: 7.81.0
OpenSSL/3.0.2SUHOSIN Installed: –
MySQL Version: 10.6.15-MariaDB-1:10.6.15+maria~ubu2204
Max Upload Size: 256 MB
Default Timezone is UTC: ? Standardtidzon ?r Europe/Stockholm – den b?r vara UTC
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ? DatabaseWC Database Version: 9.2.3
WC Database Prefix: blog_
Total databasstorlek: 4030.45MB
Datastorlek f?r databas: 2961.30MB
Indexstorlek f?r databas: 1069.15MBThanks, that memory limit seems very good, so I would be surprised if it’s hitting that limit. Do you happen to have any fatal logs indicating an issue that might be of help here?
The fatal error log from today
2024-08-29T04:40:10+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T04:50:10+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T04:55:52+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T06:23:51+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T08:03:31+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T08:07:16+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T08:27:29+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T10:32:07+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T10:35:05+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T12:59:37+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T13:04:44+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T13:11:41+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang2024-08-29T22:50:03+00:00Kritiskt Uncaught TypeError: hash_equals(): Argument #2 ($user_string) must be of type string, null given in /customers/e/a/f/aveo.se/httpd.www/wp-content/plugins/woocommerce/includes/class-wc-order.php:1585 Ytterligare sammanhang
There is also mailchimp_woocommerce in the list of loggs but it contains nothing.The errors in the log points to
/**
* Check if an order key is valid.
*
* @param string $key Order key.
* @return bool
*/
public function key_is_valid( $key ) {
return hash_equals( $this->get_order_key(), $key );
? ? }
and I guess the $key should not be null since @param string $key Order key. says it should be a string and null is not a string.PHP versions are getting more strict. This seems like a logic bug in that code that should at minimum cast that key to a string:
return hash_equals( $this->get_order_key(), (string) $key );
Seems like a woocommerce issue, but you said when you deactivate the Mailchimp plugin, you don’t see this happen?
I know we’ve treaded pretty lightly when it comes to php versions above 7. There’s a lot of code out in the wild that will most certainly break with the strict usage it requires.
As a quick hack you can of course try what I recommended but who knows what else would break next. This is just where the logic was broken first.
It only happens when I have the plugin active. Could it be that you somewhere call that function or another function that then calls that function and the key is not passed along or is set to null instead of a string. The function expects a key in the format of a string and gets null, which could be a bad function call where the key is not included in a place where it should be. It is not uncommon that an error is triggered somewhere and then reported as occurring in a woocommerce file, simply because one has missed error handling to detect the problem before the code reashes the woocommerce file. I have seen this when I have coded things.
It is also strange that it only happens when an order has something like 30+ products, but works fine when an order has less products.
@alijens honestly it’s very hard to see without a full stack trace – I totally understand what you’re saying though.
I have reproduced the problem on my staging site.
I get this in the debug.log
[02-Sep-2024 09:10:44 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\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 /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 58
[02-Sep-2024 09:10:44 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 47
[02-Sep-2024 09:10:44 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 68
[02-Sep-2024 09:10:45 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\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 /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 58
[02-Sep-2024 09:10:45 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 47
[02-Sep-2024 09:10:45 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 68
[02-Sep-2024 09:10:45 Europe/Stockholm] PHP Deprecated: ?Funktionen get_page_by_title ?r <strong>f?r?ldrad</strong> sedan version 6.2.0! Anv?nd WP_Query i st?llet. in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-includes/functions.php on line 6085
[02-Sep-2024 09:10:47 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:47 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:47 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:47 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:47 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:47 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:47 Europe/Stockholm] Inv?ntar best?llningsvara
[02-Sep-2024 09:10:47 Europe/Stockholm] Inv?ntar best?llningsvara
[02-Sep-2024 09:10:47 Europe/Stockholm] Order klar
[02-Sep-2024 09:10:47 Europe/Stockholm] Faktura betald
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\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 /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 58
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 47
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 68
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\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 /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 58
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 47
[02-Sep-2024 09:10:53 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 68
[02-Sep-2024 09:10:54 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:54 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:54 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:54 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:54 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:54 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:10:56 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\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 /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 58
[02-Sep-2024 09:10:56 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 47
[02-Sep-2024 09:10:56 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 68
[02-Sep-2024 09:10:57 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\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 /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 58
[02-Sep-2024 09:10:57 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 47
[02-Sep-2024 09:10:57 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 68
[02-Sep-2024 09:10:58 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\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 /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 58
[02-Sep-2024 09:10:58 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 47
[02-Sep-2024 09:10:58 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 68
[02-Sep-2024 09:10:58 Europe/Stockholm] PHP Deprecated: ?Funktionen get_page_by_title ?r <strong>f?r?ldrad</strong> sedan version 6.2.0! Anv?nd WP_Query i st?llet. in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-includes/functions.php on line 6085
[02-Sep-2024 09:11:09 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\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 /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 58
[02-Sep-2024 09:11:09 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 47
[02-Sep-2024 09:11:09 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 68
[02-Sep-2024 09:11:10 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:11:10 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:11:10 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:11:10 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:11:10 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:11:10 Europe/Stockholm] PHP Deprecated: ?explode(): Passing null to parameter #2 ($string) of type string is deprecated in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 447
[02-Sep-2024 09:11:10 Europe/Stockholm] PHP Warning: ?Undefined variable $servicepoints_for_billing in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/wc-unifaun-shipping/includes/class-wc-unifaun-shipping-admin-order.php on line 248
[02-Sep-2024 09:11:10 Europe/Stockholm] PHP Warning: ?Undefined variable $servicepoints_for_shipping in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/wc-unifaun-shipping/includes/class-wc-unifaun-shipping-admin-order.php on line 267
[02-Sep-2024 09:11:11 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\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 /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 58
[02-Sep-2024 09:11:11 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getOffset() should either be compatible with DateTime::getOffset(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 47
[02-Sep-2024 09:11:11 Europe/Stockholm] PHP Deprecated: ?Return type of WPO\WC\PDF_Invoices\Compatibility\WC_DateTime::getTimestamp() should either be compatible with DateTime::getTimestamp(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /customers/e/a/f/aveo.se/httpd.www/stg_0c734/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/compatibility/class-wc-date-compatibility.php on line 68But I don’t see anything that would explain the 503 that I get. It is the complete debug.log file after I have reproduced the problem.
Our server is hosted at one.com and I have contacted them to see if they have another server log or something that can explain why it happens. They said they will investigate and get back to me. I hope they have a better log than the debug.log that I have access to since I did not see a problem in it, which is a bit strange since I believe that I normaly would get something log in it when a 503 occurs. I told them that you would like a full stack trace and maybe they can give me that.
Hi @alijens, Hi there, we just wanted to check back with you to see if this was still a problem with our latest plugin (v4.4 at the time of this post). Please let us know when you get a moment, we’ll be happy to help troubleshoot further if necessary.
Hi,
This is still an issue. I have updated wordpress to 6.6.2 and your plugin to 4.4. I still get 503 when I try to view an order with many products in it.
- You must be logged in to reply to this topic.