Skip to main content

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
1 vote
0 answers
24 views

After magento update from v. 2.4.3 to 2.4.7 checkout is not working properly. "Cannot read properties of undefined (reading 'form')" error message

After magento update from v. 2.4.3 to 2.4.7 checkout is not working properly. When I want to place the order every time I get this error message in the console from jquery.validate.js. : "...
beata's user avatar
  • 11
0 votes
0 answers
18 views

Magento 2 : Error of continues reloading while apply and cancel of coupon code in checkout page

When trying to apply and cancel coupon code on the checkout page it continues reloading and getting an error in the console of cannot read the properties of undefined. See the attached images below of ...
Aman Mamdani's user avatar
1 vote
1 answer
135 views

Error related to recaptcha in console in magento checkout

I am getting an error in the console of the checkout page and also not getting the recaptcha box on the checkout page. I am having the Magento 2.4.6 p5 version. I can place an order if the ...
Aman Mamdani's user avatar
0 votes
1 answer
16 views

Magento2: Errors from console static/_cache/merged

I have a lot of error on my production mode. Console has two errors that related with static/_cache/merged folder.This error appears only on my main store, other store views show the right design, but ...
Veronika Petkeviča's user avatar
0 votes
0 answers
285 views

Having issue with Content Security Policy in my frontend pages

I am facing the issue in the console With Content Security Policy ,I cant disable the Module Magento_Csp ,Please suggest the solution based on my efollowing console error [Report Only] Refused to load ...
Muhammad Abdullah's user avatar
3 votes
0 answers
140 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
  • 31
4 votes
1 answer
1k 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
  • 455
0 votes
0 answers
248 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
1k 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
  • 15
0 votes
2 answers
629 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,586
0 votes
1 answer
917 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,189
1 vote
2 answers
2k 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
487 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
89 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
212 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
  • 39
1 vote
1 answer
108 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
  • 787
1 vote
0 answers
27 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,626
2 votes
0 answers
482 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
2k views

Magento 2 Product detail page tab not working

I am facing an issue on a website that sometimes in product detail page description, more information tabs are not working and it will generate an error in console. Here is the console log error ...
Divyarajsinh Dodiya's user avatar
4 votes
0 answers
289 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
3k 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
1 vote
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
600 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
114 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
  • 2,085
1 vote
1 answer
294 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,395
1 vote
0 answers
185 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,627
1 vote
2 answers
1k 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,591
0 votes
0 answers
439 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
  • 567
0 votes
2 answers
1k 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
50 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
435 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,120
5 votes
2 answers
4k 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
130 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
  • 2,085
0 votes
0 answers
240 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
52 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,627
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
595 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,949
1 vote
1 answer
867 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
534 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,120
1 vote
1 answer
579 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,627
1 vote
0 answers
47 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
859 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
36 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,627
1 vote
0 answers
126 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,358