Woocommerce Cart not working correctly with Extra Product Options

This topic has 14 replies, 4 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp

  • Avatar: nemark
    nemark
    Participant
    October 20, 2015 at 11:27

    Hello,

    I am receiving an error on a site we are developing. We are using the ‘WooCommerce TM Extra Product Options’ plugin so that a customer can add ‘Accessories’ to their item. When you have added the ‘Accessories’ and then checkout, in the cart there are several errors.

    Warning: array_filter() expects parameter 1 to be array, string given in /homepages/7/d588970449/htdocs/clickandbuilds/GalaFlags/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php on line 166

    Warning: array_map(): Argument #2 should be an array in /homepages/7/d588970449/htdocs/clickandbuilds/GalaFlags/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php on line 166

    Thankyou,
    Ash

    13 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    October 20, 2015 at 12:46

    Hello,

    As you can see the warning is related to Woocommerce plugin – /wp-content/plugins/woocommerce. Try to reupload Woocommerce plugin files.

    Regards,
    Eva Kemp.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    October 20, 2015 at 12:48

    Hello,

    You should contact Woocommerce support concerning your query as this is their configuration.

    Regards,
    Robert Hall.

    Avatar: nemark
    nemark
    Participant
    October 20, 2015 at 15:33

    Hi Robert,

    I have tried to contact their support however as the plugin was bundled with the theme, I cannot receive any technical support from Woocommerce.

    Thanks,

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 20, 2015 at 16:07

    Hello,

    Did you try to reupload Woocommerce plugin files in wp-content/plugins directory?
    Please try it.

    Best regards,
    Jack Richardson.

    Avatar: nemark
    nemark
    Participant
    October 21, 2015 at 14:11

    Hi Jack,

    I have de-activated, removed, re-installed and re-activated the Woocommerce plugin. Still no joy.

    Regards,

    Avatar: Eva
    Eva Kemp
    Support staff
    October 21, 2015 at 14:21

    Hello,

    Please provide us with FTP and wp-admin panel credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: nemark
    nemark
    Participant
    October 21, 2015 at 16:16

    Details below, thank you.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    October 21, 2015 at 17:23

    Hello,

    As I see you’re using old theme version.
    Please update the theme to the latest version 2.5.
    Before update delete “woocommerce” folder in the directory wp-content/themes/woopress/ and it’ll be reuploaded from a new theme package.
    Also update all required plugins https://www.8theme.com/download-plugins/ .

    Don’t forget to create back up of your files and database before starting update process!


    (it’s for Legenda theme but the process is the same).

    Regards,
    Eva Kemp.

    Avatar: nemark
    nemark
    Participant
    October 23, 2015 at 10:14

    I have updated Woopress and it still isn’t working.

    Could you send me the up-to-date Woocommerce plugin please?

    Regards,

    Avatar: nemark
    nemark
    Participant
    October 23, 2015 at 10:23

    Never mind, I have installed the latest version 2.4.7 and I still have the same issue!

    Regards,

    Avatar: Eva
    Eva Kemp
    Support staff
    October 23, 2015 at 11:06

    Hello,

    The same warning was present in default WordPress Twenty Fifteen theme.
    I’ve disabled “display_errors” function in your php.ini file and now error has disappeared.
    Please clear browser cache and check.

    Regards,
    Eva Kemp.

    Avatar: nemark
    nemark
    Participant
    October 23, 2015 at 12:00

    Brilliant, yes that is correct. It is working now!

    Thankyou for your help there!

    Kind Regards,

    Avatar: Eva
    Eva Kemp
    Support staff
    October 23, 2015 at 12:04

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 14 results - 1 through 14 (of 14 total)

The issue related to '‘Woocommerce Cart not working correctly with Extra Product Options’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.