As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [console]

A mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Uncaught TypeError: $.widget is not a function-> throww this error in magento (Codazon) the

Uncaught TypeError: $.widget is not a function****strong texthttps://tinyurl.com/28knf23b
pawan's user avatar
  • 1
0 votes
0 answers
19 views

Magento 2 Emulate Customer Group from Command Console

I need to cache product pricing in my custom module via a console command. Product price can vary depending on the customer group. When I fetch product data using my module and the console command ...
paj's user avatar
  • 5,706
0 votes
0 answers
17 views

Console Magento Error Customerdata.js

I am getting this error in the Magento 2.4.5 P1 in the cosole : {"readyState":4,"responseText":"{\"message\":\"No such entity.\"}","responseJSON&...
Rana Zain's user avatar
  • 481
2 votes
0 answers
56 views

Magento 2 Console command by using virtualTypes

I tried this solution but the arguments are empty when I debug the command class. It should be possible to create command classes by using a virtualType, no? The constructor arguments are empty in ...
den3988's user avatar
  • 21
2 votes
1 answer
440 views

magento 2.4 difference between input argument and option in console commands

on magento 2 when we create a console command, we can add arguments and/or option. But what is the difference between the two? In which cases should we use one or the other?
Lou Nik's user avatar
  • 331
0 votes
0 answers
189 views

Uncaught ReferenceError: google is not defined magento 2.3.2 in production mode

I am working with magento2.3.2.I am adding Google Maps to the template file. And it is adding successfully in the development environment but facing issues in the production server. I have attached a ...
Masumi's user avatar
  • 1
0 votes
1 answer
999 views

Uncaught TypeError: Cannot read property 'websiteId' of undefined

I can see this error on any page. I'm not sure what caused this error Do you have any solution?I'm new to Magento,Could you tell me the specific solution thank you very much!!
Bob's user avatar
  • 5
0 votes
2 answers
424 views

Magento2 error In State.php line 153: Area code is not set

I have created a custom command, when I run upgrade command to install that module getting following error In State.php line 153: Area code is not set Following is my code use Magento\Framework\...
Arjun's user avatar
  • 3,504
0 votes
1 answer
638 views

Magento2: Sometime js load sometime js not load properly

I got the JS error in console. Sometime when page load got the JS error and Sometime when page load it is working. I don't know what's the exact issue. I disabled all 3rd party extension after that ...
Masud Shaikh's user avatar
  • 1,159
1 vote
2 answers
1k views

Magento 2 Console Error Uncaught TypeError

I have Update Magento version 2.3.4 to 2.4 and now on the product page these errors are coming. Uncaught TypeError: Cannot set property 'migrateVersion' of undefined Uncaught TypeError: Cannot set ...
Bhavesh Prajapati's user avatar
0 votes
1 answer
469 views

angular.js:533 TypeError: Cannot read property 'modules' of undefined at Object.$state.loadModules Magento 2.3.4 p2

I am facing below an error in browser console log while installing magento 2.3.4 p2 version in localhost. PHP version is 7.1.10. Please check below error and attached screenshot below. angular.js:533 ...
Hitesh Balpande's user avatar
1 vote
2 answers
68 views

Does magento 2 have built in timing component like symfony stopwatch?

Does magento 2 have a built in timer component like Symfony Stopwatch? https://symfony.com/doc/current/components/stopwatch.html Would be useful for console commands / cron tasks. I'm aware that I ...
Dominic Pixie's user avatar
0 votes
0 answers
149 views

Custom Console command __cunstructor always gets an error in Magento 2.3

I have a console command class with constrcutor that looks like this: namespace Vendor\Module\Console\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\...
jojo's user avatar
  • 119
1 vote
1 answer
101 views

Magento EE 1.14.4.4 Upgrade - Console error in Checkout Page. "decorateTable is not defined"

We have upgraded our Magento EE to 1.14.4.4. After upgrade, the Cart page and Checkout Page review step throws below-console error in IE. decorateTable is undefined
Agnes's user avatar
  • 777
1 vote
0 answers
26 views

Product edit form savebutton is not working in magento backend

Steps to reproduce. 1.Go backend -> Catalog -> Products 2.Edit and save the product 3.While clicking the save button throws console error like below Can anypone please guide me and solve my ...
Jaisa's user avatar
  • 2,512
2 votes
0 answers
425 views

Magento 2 Mass Delete Cannot read property 'total' of undefined

I tried to perform mass delete on my custom UI grid but it gives me error in console "Cannot read property 'total' of undefined" i don't understand whats wrong with my code, my gride code is given ...
Arjun Soni's user avatar
3 votes
1 answer
1k views

Magento 2 Product detail page tab not working

I have facing one issue some time in a site that in product detail page description, more information tabs are not working and it will generate an error in console. Here is console log error jquery....
Divyarajsinh Dodiya's user avatar
4 votes
0 answers
225 views

Magento2 After Sync Images To Amazon S3 All Images from Magento are Deleted

I have create one module to sync all magento2 media to amazon s3 but after sync to amazon s3 server my all magento media's are deleted from my local system. and i don't want to remove that media. ...
Sanjay Shiyal's user avatar
1 vote
3 answers
2k views

Magento2 Cart and Checkout page is not working

I am using Magento 2.3.1. When entering the cart and checkout page, the errors appear in the console log. I am trying with an upgrade and a clear cache. but it's not working. Try with some solution. ...
Nishan than's user avatar
0 votes
1 answer
2k views

Uncaught TypeError: Cannot read property 'innerHTML' of null

We have tried to do a checkout on our website but its not working. When looking into the console, it says the below error Uncaught TypeError: Cannot read property 'innerHTML' of null and its ...
MagentoDev's user avatar
2 votes
2 answers
553 views

Invalid Scope Type 'default' magento 2.3

I used the command bin/magento setup:upgrade and it returned Invalid Scope type 'default' How can I fix this?
Emmanuel Ortega's user avatar
1 vote
0 answers
107 views

Magento 2 : Which SQL query will be executed in attributes clean console command?

Does any one know which sql query will be executed while running below console command? $ php bin/magento catalog:product:attributes:cleanup
Softec's user avatar
  • 1,945
1 vote
1 answer
230 views

Magento 2.2.3 - How to fix ColorPicker issue in admin configuration?

My 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 ...
Junaid Khan's user avatar
0 votes
1 answer
2k views

Cannot read property 'click' of undefined In magento 2 phtml file

Script in filename.phtml <script> require(['jquery', 'jquery/ui'], function($){ // $('.swatch-option')[0].css('color','red'); $('.swatch-...
Shafeel Sha's user avatar
  • 1,377
1 vote
0 answers
169 views

Magento2.3.0 In checkout page getting this error on console

I have getting this error on checkout page in console. Also in chrome browser loader non stop loading but if i refresh the page two three time than loader stop loading.But if i'm going back to cart ...
Rv Singh's user avatar
  • 1,607
1 vote
2 answers
899 views

Custom Console command creation error in Magento 2

I am creating console command to input values into the database, there is some argument missing an error. I have gone through several tutorials but to me, the code looks fine. The error is: Not ...
Ajwad Syed's user avatar
  • 1,581
0 votes
0 answers
371 views

Magento 2.2.5: Uncaught SyntaxError: Unexpected end of JSON input in checkout page

I have an error in my checkout page of Magento 2.2.5 image loader loading continuously in checkout page.Show error in console of google chrome
Gagan's user avatar
  • 549
0 votes
2 answers
842 views

Magento 2 console script dealing with area code not set / area code already set error

I've written a console for invoicing frontend orders https://github.com/DominicWatts/AutoInvoice/blob/master/Console/Command/Invoice.php If I put Magento\Sales\Model\Service\InvoiceService in the ...
Dominic Pixie's user avatar
0 votes
1 answer
41 views

Some product pages layout issue Magento 2

Suddenly my site has suffering layout issue on some product pages. I checked in console and it says require is not a defined, but many other product pages and site is working fine.
Arsalan Ul Haq's user avatar
1 vote
0 answers
2k views

Magento-2.2.7 "JQMIGRATE: jQuery.attrFn is deprecated" error in console

This error occurs in browser console once in every 6-8 times and jQuery doesn't work a all on the page. when I reload the page everything works fine.
Yogesh Agarwal's user avatar
5 votes
0 answers
361 views

Is it safe to disable JQMIGRATE?

Seems like it is complaining about using a deprecated pseudo-event. Also, If I remember correctly console.trace is used for debugging and should not be shown/needed on live site. The JQMIGATE code ...
Siva's user avatar
  • 1,124
3 votes
2 answers
3k views

Magento 2: Uncaught TypeError: Cannot read property 'items' of null for restricted permission user

Note: This is not a duplicate of any similar error I have found a strange bug in Magento 2. It shows the following error in the browser's console for only restricted admin user (the user which has ...
Mohit Kumar Arora's user avatar
2 votes
1 answer
114 views

Magento 2 : How can we identify phpexecutable or not?

I'm working on creating custom console in which i have to add code that will check php is executable using below class. If PHP executable then which PHP version is executable. SyncCommand.php ...
Softec's user avatar
  • 1,945
0 votes
0 answers
210 views

Magento 2.2 - Uncaught TypeError: jQuery(...).autocomplete is not a function

Jquery UI autocomplete is not working. Refer the attachment. Please help me to sort out this.
Ejilarasan J's user avatar
0 votes
1 answer
4k views

Magento 2.3 - Uncaught TypeError: Cannot read property 'version' of undefined [closed]

Installed Magento 2.3.1 with sample data there are no js errors on the console. After changing the theme to Ves Need from Venustheme. http://www.venustheme.com/theme/ves-need/ On hard refresh, the ...
Ejilarasan J's user avatar
0 votes
1 answer
126 views

Magento 2.2.5 - JS errors in console only on Hard Fresh(Ctrl+F5)

The above issues occur only on hard refresh(Ctrl+F5) and not on normal refresh(F5). Can anyone help me to fix this?
Ejilarasan J's user avatar
0 votes
0 answers
51 views

Magento2.1.9 In checkout page ship here than getting error

I am using magento2.1.9 when login after goes to checkout page then click ship here button after getting an error in console network and fronted side this error comes first time after change ship here ...
Rv Singh's user avatar
  • 1,607
2 votes
0 answers
3k views

magento 2 Uncaught TypeError: Cannot read property 'version' of undefined

I got below error randomly in front-end and when all modal popup not working when below error occurs. Uncaught TypeError: Cannot read property 'version' of undefined I have override admin product-...
Hiren Shah's user avatar
1 vote
1 answer
550 views

TypeError: stepNavigator.setHash is not a function in checkout Magento 2

TypeError: stepNavigator.setHash is not a function I have a javascript error in the console like above, because of this error some shipping method is not showing properly. Can anyone please tell ...
jafar pinjar's user avatar
  • 1,839
1 vote
1 answer
802 views

Magento 2.2.5 - Uncaught TypeError: Cannot read property 'dialog' of undefined

Installed Magento 2.2.5 with sample data, everything works fine. Added a new theme Ves Need theme, got the below issues on the home page console. Uncaught TypeError: Cannot read property 'dialog'...
Ejilarasan J's user avatar
1 vote
3 answers
460 views

Color Picker error in the console

We are getting the Color-Picker error in the console randomly. We don't know where it's coming from. We have read several posts but not got a satisfied answer. Below is the screenshot for your ...
Siva's user avatar
  • 1,124
1 vote
1 answer
433 views

Magento2 : Getting error in console customer-data.js:86

I am using Magento2.1.9 getting this error in our console i am trying to different solutions but not fix it.please if any one know reply me
Rv Singh's user avatar
  • 1,607
1 vote
0 answers
43 views

Require JS error mime(text/html) not supported

I have just installed magento with composer and I am facing require js errors in my javascript console and the page in blank. no features are exposed
Ngouffo Doric Tsappi's user avatar
2 votes
2 answers
2k views

Magento 2 How to add external Js in a page

I want to add an external js in my home page. The external js loads a popup form in my home page. I have tried the code in phtml file and also in xml file. In both case the form will appear. But some ...
Jancy Abraham's user avatar
0 votes
1 answer
841 views

Magento 2: Cannot read property 'dialog' of undefined, 'timepicker' of undefined,'RFC_2822' of undefined

Sometimes I'm getting following errors in the console after reloading the page:- Cannot read property 'dialog' of undefined Cannot read property 'timepicker' of undefined Cannot read property '...
Wakar Ahamad's user avatar
0 votes
0 answers
35 views

Magneto1 I have getting error in console product detail page

I have getting error in prototype.js product detail page if any one idea please share your inputs as soon as . TypeError: Form.Element.Serializers[method] is not a function
Rv Singh's user avatar
  • 1,607
1 vote
0 answers
123 views

I cant associate simple products to configurable Magento 2

I am trying to associate some simple products with an already created configurable product via code. using a console command that i created. This code creates the configurable product but fails to ...
cjgibson's user avatar
2 votes
2 answers
1k views

Checkout page keeps loading continously in magento 2.2.4

I am using magento 2.2.4.When I checkout from purchase or cart with any product, checkout page start loading details but checkout keeps loading. Below console error please give me any solution? How ...
Devidas's user avatar
  • 3,253
1 vote
0 answers
109 views

Is the JQMIGRATE necessary for Magento 2?

Just out of curiosity: Is the JQMIGRATE necessary for Magento 2? Because it is complaining about using a deprecated psuedo event. Please see the below screenshot. If it's not necessary for Magento ...
Siva's user avatar
  • 1,124
9 votes
1 answer
2k views

Magento 2 Error in browser console Expected to start loader but did not find one in the dom

I have developed site in Magento 2.2.0 and created custom product listing page. I have used add to cart functionality using ajax but in console giving error:- "VM1386:5 Expected to start loader ...
Kirti Nariya's user avatar
  • 3,373