1

enter image description hereMy admin store was working correctly search on google and follow this question created file as given but still problem is exist

if any developer can explain what i am doing wrong ?? in the above link some pls describe the above related procedure

5
  • can you please post your code? – Mohit Rane Jul 13 '19 at 19:05
  • The thing is we are getting this error randomly when using the store configuration . So we are not sure where it's coming from – Junaid Khan Jul 15 '19 at 7:58
  • check the var/log/ files – Mohit Rane Jul 15 '19 at 8:06
  • @JunaidKhan Have you customized any anything ? – Kirti Nariya Jul 15 '19 at 12:40
  • No just installed cc-venue module – Junaid Khan Jul 16 '19 at 9:20
0

This is an issue with core file https://github.com/magento/magento2/issues/17008. Please make the following changes and it will disappear.

  1. Navigate to your Magento Root Directory

  2. Open the file lib/web/jquery/colorpicker/js/colorpicker.js

  3. Find the below lines in your code nearby line no 10

    define([ "jquery", ], function ($) { var ColorPicker = function () {

  4. Change the line define([ to define("mage/colorpicker", [ so your code will look like

    define("mage/colorpicker", [ "jquery", ], function ($) { var ColorPicker = function () {

8
  • Thanks brother one error has been solved the other undefned function is still exist can help with that also is there way to know the file structure of your magento store – Junaid Khan Jul 16 '19 at 6:40
  • Can you post that error – Raj Mohan R Jul 16 '19 at 9:28
  • imgur.com/FpKHxsS u can see the image for error – Junaid Khan Jul 16 '19 at 10:09
  • Is the color picker function is used in any third-party modules or your own module – Raj Mohan R Jul 16 '19 at 10:13
  • third party modules – Junaid Khan Jul 16 '19 at 10:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.