• Resolved urikanonov

    (@urikanonov)


    Hi,

    After upgrading to Woocommerce 3.5.1 I’m getting in the admin area in Debug Bar the following javascript error:

    Uncaught ReferenceError: woocommerce_admin is not defined

    After digging in a bit it seems that in Woocommerce they localized woocmmerce_admin and the Abandoned Cart JS enqueues the JS file on its own WITHOUT the localization and so it has an undefined variable.

    Your code: woocommerce_ac.php / wcal_enqueue_scripts_js function
    Woocommerce code: class-wc-admin-assets.php / admin_scripts function

    You need to fix this…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor chetnapatel

    (@chetnapatel)

    Hi,

    First of all, we sincerely apologize for the inconvenience which you have faced due to our plugin and the delay in response. The thing is, we were on leave due to the weekend.

    Yes, you are correct. I am also able to replicate this issue at my end and working on that. Can you please drop your email on “support at tychesoftwares dot freshdesk dot com” email address? So that I can provide you the fix for the same.

    Regards,
    Chetna Bhutka

    Plugin Contributor chetnapatel

    (@chetnapatel)

    Hi Uri,

    We have released our plugin version 5.1.3 yesterday in which we have included the fix for this error message issue.

    Can you please upgrade the plugin and check whether the issue has been solved or not?

    Regards,
    Chetna Bhutka

    Thread Starter urikanonov

    (@urikanonov)

    Hurray! No more error ??
    Think 5.1.3 solves the problem.

    Thank you!

    Plugin Contributor chetnapatel

    (@chetnapatel)

    Hi Uri,

    Thank you for your response.

    Glad to hear that the error has been resolved. So, I will mark as Resolved to this topic.

    It would be great if you could write a review for us on our plugin’s review page. That would help immensely.

    Regards,
    Chetna Bhutka

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uncaught ReferenceError: woocommerce_admin is not defined’ is closed to new replies.