• Resolved bidiesman

    (@bidiesman)


    Hello,
    I’m just discovering this plugin, and when I Activate it it’s generating a lots of warnings. Warnings are not an error. but I think it can be great to still get rid of it in a future release. here are the info:

    Page create feed:
    ================

    Warning: Invalid argument supplied for foreach() in ../wp-content/plugins/woo-product-feed-pro/classes/class-attributes.php on line 17

    Warning: Invalid argument supplied for foreach() in ../wp-content/plugins/woo-product-feed-pro/classes/class-attributes.php on line 30

    Warning: Invalid argument supplied for foreach() in ../wp-content/plugins/woo-product-feed-pro/classes/class-attributes.php on line 37

    Page settings–> attributes settings:
    =====================================
    Warning: Invalid argument supplied for foreach() in /../wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-manage-settings.php on line 267

    if it can be fixed easy this will be nice 🙂
    thanks and bravo for this epic plugin !!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi bidiesman,

    Thanks for the compliments and feedback. We have tried to reproduce the issue at hand but are unable to get the PHP warnings in our logs nor in the browser-screen.

    Are you running the latest versions of the plugin, woocommerce and PHP?

    Have a wonderful weekend,
    Eva

    Hi bidiesman,

    We were able to find the PHP-warnings. This evening we will push out a new release of the plugin after which they should be gone.

    Thanks!
    Eva

    Thread Starter bidiesman

    (@bidiesman)

    Sorry for the late reply.
    I’m using last Php7 with nginx.
    and good to hear you are gonna fix it ;).

    ps: I just update with your release of tonight and there still this:

    Create feed -tab:
    ================
    Warning: Invalid argument supplied for foreach() in ../wp-content/plugins/woo-product-feed-pro/classes/class-attributes.php on line 17

    Warning: Invalid argument supplied for foreach() in ../wp-content/plugins/woo-product-feed-pro/classes/class-attributes.php on line 30

    Warning: Invalid argument supplied for foreach() in ../wp-content/plugins/woo-product-feed-pro/classes/class-attributes.php on line 37

    Settings tab (tab attribute settings):
    Warning: Invalid argument supplied for foreach() in ../wp-content/plugins/woo-product-feed-pro/pages/admin/woosea-manage-settings.php on line 276

    Last question,
    where should be “product feed direcotry” has it is written that it is not writtable.. (probably I have to create it manually? but what’s the right name and where to create that directory?
    thank you,
    Jerome

    • This reply was modified 7 years, 5 months ago by bidiesman.
    • This reply was modified 7 years, 5 months ago by bidiesman.

    Hi Jerome,

    We have pushed out a new release of the plugin today that should solve the warnings you are seeing.

    Product feeds are saved in this directory:
    ../wp-content/uploads/woo-product-feed-pro/

    In it you will find, depending on the file format you have chosen:
    ../wp-content/uploads/woo-product-feed-pro/xml/
    ../wp-content/uploads/woo-product-feed-pro/csv/
    ../wp-content/uploads/woo-product-feed-pro/txt/
    ../wp-content/uploads/woo-product-feed-pro/tsv/

    All the best,
    Eva

    Thread Starter bidiesman

    (@bidiesman)

    Thanks you are amazing !
    it’s good to see so much reactivity for this plugin !

    Thanks for the compliment, appreciated!

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

The topic ‘Warnings invalid arguments…’ is closed to new replies.