• Resolved dangrimes

    (@damonmaldonado)


    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 150

    I’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!

    • This topic was modified 1 year, 2 months ago by dangrimes. Reason: Added PHP version
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @damonmaldonado

    To help us diagnose the issue more effectively, we need access to your system report to analyze the list of plugins you’re using. We suspect the problem might be due to a conflict, as we are unable to reproduce the issue on our end.

    Please follow these steps to share your system status report with us:

    1. Navigate to the WooCommerce / Status section in your site’s admin panel.
    2. Click on the Get system report button and then click Copy for support.
    3. Paste the report into our PrivateBin.
    4. After uploading, please share the link here so we can review the details thoroughly.

    If you do not wish to share this information publicly, we suggest you contact us directly for further assistance. Here’s how you can request support: Request Support. Please make sure to include the URL of this thread in your ticket for reference.

    We are waiting for your system reports to proceed with the analysis.

    Kind regards,
    Krystian

    Thread Starter dangrimes

    (@damonmaldonado)

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @damonmaldonado

    In a properly functioning system, $tracking_meta should be an array. However, since it’s a string in your case, this suggests there may be a problem with how it’s being retrieved or stored.

    To resolve this issue, we recommend that you contact us directly for further assistance. We may need to review your logs to better understand what’s going on. You can open a ticket with our service desk using the following link: Request Support. Please include the URL of this thread in your ticket for reference.

    I’m looking forward to hearing from you.

    Kind Regards,

    Krystian

    Thread Starter dangrimes

    (@damonmaldonado)

    Perfect, just sent a ticket in, thank you!

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @damonmaldonado

    Thank you for sending in the ticket. We’ll soon update you with our finding.

    I will go ahead and mark this issue as resolved, as it will be continued on our private board.

    Kind Regards,

    Krystian

    Thomas VanSlambrouck

    (@xplicitcoding)

    What was the solution here? I have the same problem.

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @xplicitcoding

    Please create a new thread or contact us privately to resolve this issue: https://paypal.inpsyde.com/docs/request-support/

    Thank you in advanced.

    Kind regards,
    Krystian

    Thomas VanSlambrouck

    (@xplicitcoding)

    I’d rather his solution was just posted here because It would be quicker

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @xplicitcoding

    I’m currently unable to locate this specific ticket, as the system report from the user has already been deleted, which means we cannot search for the URL nt in our Jira.

    To resolve this we may need to analyze this issue more thoroughly by reviewing the database structure.

    Kind regards,

    Krystian

    Thread Starter dangrimes

    (@damonmaldonado)

    Good morning! This was my ticket (Not sure if i’m logged into the same account or not).

    I sent them a private ticket. They informed me they couldn’t perform the test because it was on a staging site I made that had the paypal plugin deactivated so this must have not been a problem with the plugin.

    I replied back i just had it deactivated at that time because i was testing something on the site. I re-activated the plugin and then replied back to them but never heard back. I got so busy I realize now that I never checked on that ticket again since then and looks like (from the developer response) it was deleted).

    Thomas VanSlambrouck

    (@xplicitcoding)

    Sounds about right @damonmaldonado 🤣

    Appreciate you sharing!

    Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @damonmaldonado

    Could you please share your case PCP number? We usually respond within 24 hours on working days, so it’s unlikely that we haven’t reached you. I’ll be happy to assist further once I have that information.

    Kind regards,

    Krystian

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Tons of PHP warning in Log File’ is closed to new replies.