• Resolved sportsbikeexhausts

    (@sportsbikeexhausts)


    Hello,

    When importing products using woocommerce product csv import suite (pro) which includes the ‘meta:yikes_woo_products_tabs’ heading, the products import OK but I receive the message ‘invalid argument for each ()’ when I open the product page under certain scenarios.

    It works OK if I import a new tab with Youtube video links or plain text but not for links to .pdf documents or using html to create a table. However, if I put the same .pdf link or html table into the normal product page body text (not the custom tab), it works OK.

    Any help or guidance would be greatly appreciated?

    Thank you,

    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @sportsbikeexhausts,

    Importing is complicated. I saw a very similar error with WooCommerce’s default import/export functions. After many hours of trying to find out what was going wrong, I found that WooCommerce was running a sanitization function (wp_kses_posts()) on the imported data. This sanitization was changing the structure of certain HTML elements which was breaking our serialized array. So I added a filter to remove this sanitization and importing worked again.

    Although different products import things differently, this sounds a lot like the issue w/ WC’s default import/export. Do happen to know if WC Product CSV Import Suite Pro is running any sanitization on imported meta? Do you have a way of contacting their support team to ask?

    Let me know.

    Thank you,
    Kevin.

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    Hello @sportsbikeexhausts,

    Just checking in.

    Please let us know if you still need help with this issue.

    Thank you!
    -Tracy

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    Hello @sportsbikeexhausts,

    We haven’t heard back from you in awhile so I am going to close out this ticket.

    If you need more help, please reopen it and we will be happy to help you.

    Thank you!
    -Tracy

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

The topic ‘Invalid Argument for each ()’ is closed to new replies.