Support » Plugin: Product Feed PRO for WooCommerce » PHP errors

  • Tim

    (@timwakeling-1)


    I keep getting the following repeatedly in my log (though the plugin works fine):

    PHP Warning: A non-numeric value encountered in /public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2439
    PHP Warning: A non-numeric value encountered in /public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2441

    Seems like an extra check statement is needed in the code there? Thanks 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor supportadtribes

    (@supportadtribes)

    Hi Tim,

    Thanks for using our plugin and reaching out to us to let us know about the PHP warnings you are experiencing. On what version of the plugin are you?

    Thread Starter Tim

    (@timwakeling-1)

    I was on 9.0.3 but have just updated to 9.2.0. Was this issue resolved between these two versions?

    Plugin Contributor supportadtribes

    (@supportadtribes)

    Probably not but if we would check on line 2439/2441 of version 9.2.0 we might not find the issue as changes are a lot of code has been added or changed in between those versions.

    So, are you still getting the warnings in version 9.2.0 and if so, on what lines are they?

    Thread Starter Tim

    (@timwakeling-1)

    I see what you mean.

    I’ve found the lines in the old version and the same code is now on lines 2456 and 2458 of the new version.

    I haven’t yet had the error on the new version, but they come in waves, so I may well get it again in the next day or so, and when I do there will be hundreds at a time. 🙂

    Plugin Contributor supportadtribes

    (@supportadtribes)

    Just double checking, you are using bundled products?

    Thread Starter Tim

    (@timwakeling-1)

    I believe so. It’s a very large store with several thousand items but yes I think some of them are probably bundles.

    Plugin Contributor supportadtribes

    (@supportadtribes)

    Can you update the plugin to version 9.2.1 to see if that solves the issue at hand?

    Thread Starter Tim

    (@timwakeling-1)

    Thank you – I have updated and will check tomorrow to see if the errors have recurred. 🙂

    I notice they tend to happen in large batches each morning around 7 or 8 am; I suspect this is when the link plugin for the commerce system does its main sync.

    Thread Starter Tim

    (@timwakeling-1)

    Now I get the following:

    [03-Dec-2020 07:24:31 UTC] PHP Warning: A non-numeric value encountered in /public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2457
    [03-Dec-2020 07:24:31 UTC] PHP Warning: A non-numeric value encountered in /public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 2458

    I have updated to 9.2.2 just now, and will see if that changes anything.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PHP errors’ is closed to new replies.