Support » Plugin: Custom Product Tabs for WooCommerce » New Tabs Will Not Save?

  • Resolved birdog123

    (@birdog123)


    Hi,

    See here https://www.screencast.com/t/ITZOZUkSfjR

    Newly created tabs will not save.

    How can this be fixed or can you push a fix out asap?

    🙂

    Greg

    P.S. It feels like this started after WP 5.5 or some recent version…not sure.

    and

    It does this on more than one site on different hosts too FYI.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Freddie

    (@fmixell)

    Hey @birdog123,

    This is most likely an issue with 5.5 caused by another plugin. I just tested our functionality on a base WooCommerce install and it works as intended with WooCommerce 4.4 and WordPress 5.5.

    Could you please do the following to find the bug and I’ll tell you what plugins doing it!

    – Right click the page and choose inspect.
    – Navigate to the “Console” tab.
    – Try to save the new tab and see if any errors pop up in the console.
    – If there are any errors in the console just copy it all and paste it here.

    Cheers,
    Freddie

    Hey Freedie,

    This is before clicking the Save Tab button:
    ?page=yikes-woo-settings&saved-tab-id=new:1 A cookie associated with a cross-site resource at http://wp.com/ was set without theSameSiteattribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set withSameSite=NoneandSecure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
    editor-button.js?ver=d1bc8cc5ede90be41f1d51802208993f:121 Uncaught TypeError: $(…).live is not a function
    at HTMLDocument.<anonymous> (editor-button.js?ver=d1bc8cc5ede90be41f1d51802208993f:121)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at Function.ready (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
    (anonymous) @ editor-button.js?ver=d1bc8cc5ede90be41f1d51802208993f:121
    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
    content.js:6 {stringify: ƒ, parse: ƒ}
    ?page=yikes-woo-settings&saved-tab-id=new:1 A cookie associated with a cross-site resource at http://twitter.com/ was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
    ?page=yikes-woo-settings&saved-tab-id=new:1 A cookie associated with a cross-site resource at https://twitter.com/ was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
    ?page=yikes-woo-settings&saved-tab-id=new:1 A cookie associated with a cross-site resource at http://syndication.twitter.com/ was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
    DevTools failed to load SourceMap: Could not load content for https://wilmettepet.store/wp-content/plugins/wpmudev-videos/app/assets/js/videos.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load SourceMap: Could not load content for https://wilmettepet.store/wp-content/plugins/wpmudev-videos/app/assets/css/videos.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE`

    and this is AFTER clicking the Save Tab button:
    ?page=yikes-woo-settings&saved-tab-id=new:1 A cookie associated with a cross-site resource at http://wp.com/ was set without theSameSiteattribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set withSameSite=NoneandSecure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
    editor-button.js?ver=d1bc8cc5ede90be41f1d51802208993f:121 Uncaught TypeError: $(…).live is not a function
    at HTMLDocument.<anonymous> (editor-button.js?ver=d1bc8cc5ede90be41f1d51802208993f:121)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
    at Function.ready (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
    (anonymous) @ editor-button.js?ver=d1bc8cc5ede90be41f1d51802208993f:121
    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
    content.js:6 {stringify: ƒ, parse: ƒ}
    ?page=yikes-woo-settings&saved-tab-id=new:1 A cookie associated with a cross-site resource at http://twitter.com/ was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
    ?page=yikes-woo-settings&saved-tab-id=new:1 A cookie associated with a cross-site resource at https://twitter.com/ was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
    ?page=yikes-woo-settings&saved-tab-id=new:1 A cookie associated with a cross-site resource at http://syndication.twitter.com/ was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
    DevTools failed to load SourceMap: Could not load content for https://wilmettepet.store/wp-content/plugins/wpmudev-videos/app/assets/js/videos.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load SourceMap: Could not load content for https://wilmettepet.store/wp-content/plugins/wpmudev-videos/app/assets/css/videos.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    wp-auth-check.min.js?ver=d1bc8cc5ede90be41f1d51802208993f:2 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=d1bc8cc5ede90be41f1d51802208993f:2)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
    at Object.<anonymous> (heartbeat.min.js?ver=d1bc8cc5ede90be41f1d51802208993f:2)
    at i (jquery.js?ver=1.12.4-wp:2)
    (anonymous) @ wp-auth-check.min.js?ver=d1bc8cc5ede90be41f1d51802208993f:2
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ jquery.js?ver=1.12.4-wp:3
    each @ jquery.js?ver=1.12.4-wp:2
    each @ jquery.js?ver=1.12.4-wp:2
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ heartbeat.min.js?ver=d1bc8cc5ede90be41f1d51802208993f:2
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    x @ jquery.js?ver=1.12.4-wp:4
    c @ jquery.js?ver=1.12.4-wp:4
    XMLHttpRequest.send (async)
    (anonymous) @ VM405:1
    send @ jquery.js?ver=1.12.4-wp:4
    ajax @ jquery.js?ver=1.12.4-wp:4
    l @ heartbeat.min.js?ver=d1bc8cc5ede90be41f1d51802208993f:2
    d @ heartbeat.min.js?ver=d1bc8cc5ede90be41f1d51802208993f:2
    v @ heartbeat.min.js?ver=d1bc8cc5ede90be41f1d51802208993f:2
    h @ heartbeat.min.js?ver=d1bc8cc5ede90be41f1d51802208993f:2
    (anonymous) @ heartbeat.min.js?ver=d1bc8cc5ede90be41f1d51802208993f:2
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3`

    Let me know?

    🙂

    Greg

    Plugin Author Freddie

    (@fmixell)

    Hey @birdog123,

    Please install this plugin because you have plugins that aren’t compatible with 5.5 WP:
    https://wordpress.org/plugins/enable-jquery-migrate-helper/

    Cheers,
    Freddie

    @fmixell

    I did see that too with WP 5.5 I see the WordPress devs pushed out a patch for WP 5.5.1 (like 44 bugs in WP fixed with this version post 5.5).

    I see that https://wordpress.org/plugins/enable-jquery-migrate-helper/ is STILL needed before it allows your plugin to save new tabs.

    Also, FYI, after I do get a new tab saved, it does not seem to want to show up? What would be going on there?

    Old tabs show fine.

    Is there code you have to adjust to be fully compatible with WP 5.5 + ?

    Let me know?

    Best,

    Greg

    • This reply was modified 1 month, 2 weeks ago by birdog123.

    @fmixell

    See my last post above.

    Also, even with WP 5.5.1 and with https://wordpress.org/plugins/enable-jquery-migrate-helper/ enabled and disabled, the tabs save ok BUT they do NOT SHOW up even when there is content in them.

    We are placing content via WP All Import. We have both of your plugins enabled to allow for this and it is working find on a PAST tab we created with your plugin too (prior to WP 5.5) and content is flowing fine on it.

    We tried manually putting content in too FYI.

    Everything just seemed to go haywire after WP 5.5 +

    Additional thoughts to get them now to show up?

    🙂

    Greg

    birdog123

    (@birdog123)

    @fmixell

    This is not fixed still and the WordPress Team is saying that plugin developers need to update their code to be sure it works for all installs as prior to WP 5.5.

    Please let me know on this?

    Again…


    See my last post above.

    Also, even with WP 5.5.1 and with https://wordpress.org/plugins/enable-jquery-migrate-helper/ enabled and disabled, the tabs save ok BUT they do NOT SHOW up even when there is content in them.

    We are placing content via WP All Import. We have both of your plugins enabled to allow for this and it is working find on a PAST tab we created with your plugin too (prior to WP 5.5) and content is flowing fine on it.

    We tried manually putting content in too FYI.

    Everything just seemed to go haywire after WP 5.5 +

    Additional thoughts to get them now to show up?

    🙂

    Greg

    Plugin Author Freddie

    (@fmixell)

    Hello @birdog123,

    We don’t have anything to do with the displaying of tabs your theme displays them. We have no way of changing how they’re shown on the frontend. Another thing to note is that not all themes support WooCommerce so you’re going to need to consult with your theme developers.

    Here’s some further reading about how WooCommerce Themes work:
    https://docs.woocommerce.com/document/third-party-custom-theme-compatibility/
    https://docs.woocommerce.com/document/woocommerce-theme-developer-handbook/

    Cheers,
    Freddie

    @fmixell

    This is is not theme related FYI because it was showing the old tab created prior to WP 5.5 and we are using the All Import plugin you have too.

    I found out when updating the template it was not saving the new variables for whatever reason in WP All Import with your plugin dropdowns.

    I resaved again and now it saved and is working just so you know…

    🙂

    Greg

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.