• Resolved phloo

    (@phloo)


    Error Message:
    ReferenceError: fb_reset_product is not defined
    onclick https://DOMAIN.COM/wp-admin/post.php?post=12345&action=edit:1

    In this file, there was fb_reset_product function
    /wp-content/plugins/facebook-for-woocommerce/assets/js/admin/metabox.js

    But since 2.5.0 its just only this
    !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}({5:function(e,t){}});

    Needs to be fixed quickly. Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hey there @phloo,

    This may be a plugin conflict, are you able to check for conflicts on your site using the following guide here.

    Do keep us posted on how this troubleshooting works out for you.

    Thread Starter phloo

    (@phloo)

    Hi Saravanan,

    all plugins and themes are up to date.
    As I mentioned before: the function is not available.
    So your plugin is not delivering the correct JS files.

    Plugin Support Sol J. a11n

    (@solstudioim)

    Hi @phloo

    I have a working installation of the plugin on my test site and it’s also connected to my Commerce account in Facebook. And actually I don’t have similar issue.

    So as my colleague recommended, please try to do a conflict test.

    You can simply:

    • Switch your theme temporarily to Storefront or Twenty Ten theme.
    • Temporarily deactivate all other plugins except WooCommerce and Facebook for WooCommerce.
    • And then try to reset the metadata again on the product edit screen page.

    We strongly recommend that. Let me know how it goes ??

    Thread Starter phloo

    (@phloo)

    That’s not possible (and not necessary). This is a live system with ongoing orders.
    We are using the script since more then a year, all worked fine until your latest release.

    Since you switched to “build” the scripts with wp-scripts, it stopped working.
    It’s not a compatibility problem with other plugins or themes (console has no errors or debug output)

    Plugin Support Sol J. a11n

    (@solstudioim)

    Hi there,

    I’d like to analyze more about your setup.

    Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.

    Once you’ve done that, you can paste the text in https://gist.github.com/ and feel free to change/remove your site URL in the report for privacy reasons.

    Once you do that, you can paste the Gist link here in your reply.

    Thread Starter phloo

    (@phloo)

    I’ve opened an issue for this here: https://github.com/woocommerce/facebook-for-woocommerce/issues/1979 – feel free to follow along on the progress of a fix there.

    Thread Starter phloo

    (@phloo)

    Thanks for your support!

    I confirm that it no longer works

    Plugin Support Thu P. a11n

    (@thup90)

    Hi @mamzelle,

    If you have the same issue, please follow this Github page for updates on a fix: https://github.com/woocommerce/facebook-for-woocommerce/issues/1979

    Feel free to get back to us in case you have any additional questions!

    Plugin Support Sol J. a11n

    (@solstudioim)

    Hi there @phloo @mamzelle

    Our developers were quick to resolve this and released version 2.5.1 already to fix the issue.

    Please update your Facebook for WooCommerce to the latest version, it’s fixed now!

    I’ll go ahead closing this thread as “resolved”.

    Feel free to create another forum post if you have any other questions at all!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Reset Meta Data broken since last update’ is closed to new replies.