• Resolved bigdrop.gr

    (@bigdropgr)


    Hi,

    I get this error:

    PHP Warning: Undefined variable $sz_attribute in ..../wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4132

    each time the xml feed is refreshed.

    I deactivated all plugins (except from yours and the woocommerce) also switched to twenty twenty one theme but still getting this error.

    WP 5.8.2
    PHP 8
    your plugin 11.0.1
    woocommerce 5.9.0

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thanks for using our plugin and reaching out to us.
    Can you try updating the plugin to version 11.0.2 (released today) to see if that solves the issue at hand?

    Thread Starter bigdrop.gr

    (@bigdropgr)

    Hi,

    Looks like it solved it!

    Thank you!

    Perfect, thanks for the heads-up

    Thread Starter bigdrop.gr

    (@bigdropgr)

    I now get the same Warning on different lines, plus some other warnings too.

    PHP Warning:  Undefined variable $sz_attribute in .../wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4147
    PHP Warning:  Undefined variable $sz_attribute in .../wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4162
    PHP Warning:  Undefined array key "" in .../wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4162
    PHP Warning:  Trying to access array offset on value of type null in .../wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4077

    Can you please help?

    • This reply was modified 3 years, 3 months ago by bigdrop.gr.

    Please update to version 11.0.3 of the plugin.

    Thread Starter bigdrop.gr

    (@bigdropgr)

    Thank you for your reply.
    I still get these warnings.

    PHP Warning:  Undefined variable $sz_attribute in .../wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4147
    PHP Warning:  Trying to access array offset on value of type null in .../wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4077
    PHP Warning:  Undefined variable $sz_attribute in .../wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4155
    • This reply was modified 3 years, 3 months ago by bigdrop.gr.
    Thread Starter bigdrop.gr

    (@bigdropgr)

    I just send you the debug file to your email.
    I hope it is helpful for you.

    We will fix it in the upcoming release.

    Thread Starter bigdrop.gr

    (@bigdropgr)

    Hi,

    Thank you for the recent update.
    It fixed 2 of the 3 previous warnings but now I am getting this warning:

    PHP Warning: Trying to access array offset on value of type null in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4079

    Thank you,
    Christoforos

    Thread Starter bigdrop.gr

    (@bigdropgr)

    Hi,

    After I updated to version 11.0.5, the above warning is still present but on different line.

    PHP Warning: Trying to access array offset on value of type null in ...../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4081

    Thread Starter bigdrop.gr

    (@bigdropgr)

    Hi,

    After I updated to version 11.0.6, I get those Warnings.

    PHP Warning:  Undefined variable $sz_attribute in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4257
    PHP Warning:  Undefined array key "" in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4257
    PHP Warning:  Undefined variable $sz_attribute in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4261
    PHP Warning:  Undefined variable $sz_attribute in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4272
    PHP Warning:  Undefined variable $sz_attribute in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4273
    PHP Warning:  Undefined variable $sz_attribute in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4274
    PHP Warning:  Undefined variable $sz_attribute in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4275
    PHP Warning:  Undefined variable $sz_attribute in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4276
    PHP Warning:  Undefined variable $sz_attribute in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4279
    PHP Warning:  Undefined variable $sz_attribute in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4219
    PHP Warning:  Trying to access array offset on value of type null in ..../public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php on line 4129
    • This reply was modified 3 years, 3 months ago by bigdrop.gr.
    • This reply was modified 3 years, 3 months ago by bigdrop.gr.
    Thread Starter bigdrop.gr

    (@bigdropgr)

    Hi,

    After I update to version 11.0.7 no more errors or warnings.

    Thank you!

    • This reply was modified 3 years, 2 months ago by bigdrop.gr.
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘PHP Warnings: Undefined variable $sz_attribute’ is closed to new replies.