• Resolved joeyoungblood

    (@joeyoungblood)


    Upgraded a WordPress install today and with it the WooCommerce install and plugins. Immediately following the upgraded to WP 5.5.1 and WooCommerce 4.5.2 product variations were unable to be edited. The Console in Chrome Dev Tools is showing a variety of errors, but on specifically when clicking on the ‘save’ button inside of the product data box.

    Deactivating ALL plugins except WooCommerce and activating the WordPress Twenty-Seventeen theme to try and figure out if this was a theme or plugin conflict did not alleviate the issue and the errors still appeared in Chrome Dev Tools including the error when trying to save.

    Tested with PHP 7.2, PHP 7.2 + PHPFPM, PHP 7.3, and PHP 7.3 + PHPFPM

    These errors appear in the console while loading a product page to edit:

    GET /wp-content/plugins/woocommerce/assets/js/accounting/accounting.min.js?ver=0.4.2 net::ERR_ABORTED 522
    VM6493 post.php:286

    GET /wp-content/plugins/woocommerce/assets/js/jquery-serializejson/jquery.serializejson.min.js?ver=2.8.1 net::ERR_ABORTED 522
    VM6493 post.php:278

    GET /wp-content/plugins/woocommerce/assets/js/accounting/accounting.min.js?ver=0.4.2 net::ERR_ABORTED 522
    VM6493 post.php:286

    GET /wp-content/plugins/woocommerce/assets/js/jquery-serializejson/jquery.serializejson.min.js?ver=2.8.1 net::ERR_ABORTED 522

    Uncaught TypeError: jQuery(…).live is not a function
    at VM6614 post.php:3631
    at VM6614 post.php:3718
    (anonymous) @ VM6614 post.php:3631
    (anonymous) @ VM6614 post.php:3718

    ncaught Error: Syntax error, unrecognized expression: #pp-checklist-post-type-filter a[href=#post]
    at Function.ea.error (jquery.js?ver=1.12.4-wp:2)
    at ea.tokenize (jquery.js?ver=1.12.4-wp:2)
    at ea.select (jquery.js?ver=1.12.4-wp:2)
    at Function.ea [as find] (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.find (jquery.js?ver=1.12.4-wp:2)
    at new n.fn.init (jquery.js?ver=1.12.4-wp:2)
    at n (jquery.js?ver=1.12.4-wp:2)
    at show_post_type_requirements (admin.js?ver=1.4.7.1:101)
    at HTMLDocument.<anonymous> (admin.js?ver=1.4.7.1:38)
    at i (jquery.js?ver=1.12.4-wp:2)
    ea.error @ jquery.js?ver=1.12.4-wp:2
    ea.tokenize @ jquery.js?ver=1.12.4-wp:2
    ea.select @ jquery.js?ver=1.12.4-wp:2
    ea @ jquery.js?ver=1.12.4-wp:2
    find @ jquery.js?ver=1.12.4-wp:2
    n.fn.init @ jquery.js?ver=1.12.4-wp:2
    n @ jquery.js?ver=1.12.4-wp:2
    show_post_type_requirements @ admin.js?ver=1.4.7.1:101
    (anonymous) @ admin.js?ver=1.4.7.1:38
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    ready @ jquery.js?ver=1.12.4-wp:2
    J @ jquery.js?ver=1.12.4-wp:2

    This is the error that appears after clicking the ‘save’ button in the product data box while editing product variations:

    meta-boxes-product-variation.min.js?ver=4.5.2:1 Uncaught TypeError: d(…).serializeJSON is not a function
    at Object.get_variations_fields (meta-boxes-product-variation.min.js?ver=4.5.2:1)
    at Object.save_changes (meta-boxes-product-variation.min.js?ver=4.5.2:1)
    at HTMLButtonElement.save_variations (meta-boxes-product-variation.min.js?ver=4.5.2:1)
    at HTMLDivElement.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDivElement.r.handle (jquery.js?ver=1.12.4-wp:3)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @joeyoungblood. Does this issue persist? If so, do you have any fatal error logs in WooCommerce > Status > Logs that you could share with us?

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @joeyoungblood. I’m sorry that we missed your initial post. I hope that you have been able to resolve the issue as we have not heard back from you. I’m going to go ahead and mark this issue as resolved but start a new thread if you have any follow-up questions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot Edit Product Variations after Upgrade to 4.5.2’ is closed to new replies.