Tons of PHP warning in Log File
-
Good evening. We were pinged by our host that there is a lot of php warnings popping up in our log file and says it could be possibly hurting the performance of the site.
Please see a sample of the lines here >
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150
2 PHP Warning: Illegal string offset "##################" in /chroot/home/sitet/mysite.com/html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-order-tracking/src/Shipment/Shipment.php on line 150I’ve replaced our actual site name with mysite.com so our site doesn’t get spammed by users.
Our site gets a ton of orders so I am guessing that this is happening for every single order that comes in.
Where you see ################## looks to be shipping tracking numbers.
I looked up this error and it seems to stem from something in the code is not setting the tracking numbers to the correct format correctly.
WordPress Version: 6.6.2
Woocommerce: 9.3.3
Woocommerce Paypal Payments: 2.9.2
PHP: 8.2.20
Thank you!
- You must be logged in to reply to this topic.