How do i trace and fix this error for my magento 2 store?

Uncaught ReferenceError: Mini is not defined at (index):993

i can not find the below code anywhere in my magento admin. it is not in header, footer, script sections, nor google api for analytics is enabled.

<script type="text/javascript" xml="space">// <![CDATA[
Mini// <![CDATA[
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  ga('create', 'UA-12345678-1', 'auto');
  ga('send', 'pageview');
// ]]></script>
  • what did you do before this error?
    – fmsthird
    Apr 23, 2019 at 0:45
  • i'm not quite remember, it's been there for awhile, does not affect anything though. Apr 23, 2019 at 0:47
  • are you on a live production mode? try to enable developer mode and check
    – fmsthird
    Apr 23, 2019 at 0:49
  • i changed to dev mode, but still the same error. is there a log file to trace it from? Apr 23, 2019 at 0:54
  • yeah just go to var/report or var/log/excepion or debug
    – fmsthird
    Apr 23, 2019 at 0:59


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.