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
3
votes
0answers
23 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. ...
1
vote
1answer
44 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. ...
0
votes
0answers
25 views

Getting console error how can i solve this?

Getting console error how can i solve this?? random errors coming Failed to load resource: net::ERR_CONNECTION_TIMED_OUT require.js:141 Uncaught Error: Script error for: Magento_Variable/js/...
0
votes
1answer
56 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 ...
0
votes
0answers
21 views

Error parsing header X-XSS-Protection: 1; mode=block, 1; mode=block: in magento 2

I am getting this error in chrome console. But it is not displaying in firefox. Kindly help me to resolve this. I am using Magento 2 version.
2
votes
0answers
55 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?
1
vote
0answers
29 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
1
vote
1answer
57 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 ...
0
votes
1answer
221 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-...
1
vote
0answers
59 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 ...
0
votes
2answers
53 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 ...
0
votes
0answers
42 views

Magento 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
0
votes
2answers
114 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 ...
0
votes
1answer
30 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.
1
vote
0answers
451 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.
4
votes
0answers
102 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 ...
3
votes
1answer
549 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 ...
1
vote
0answers
21 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 ...
0
votes
0answers
88 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.
0
votes
1answer
2k 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 ...
0
votes
1answer
40 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?
0
votes
0answers
36 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 ...
1
vote
0answers
1k 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-...
0
votes
1answer
206 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 ...
1
vote
1answer
235 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'...
1
vote
3answers
68 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 ...
1
vote
1answer
67 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
1
vote
0answers
27 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
2
votes
1answer
257 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 ...
0
votes
0answers
19 views

Magento 2 : Does magento have a standard way of painlessly making and running scripts?

Does magento natively has support for writing scripts, and running them from terminal or cron jobs? Can symphony console component bundled with magento be used to run custom commands to run scripts ...
0
votes
1answer
611 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 '...
0
votes
0answers
32 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
1
vote
0answers
58 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 ...
2
votes
2answers
488 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 ...
1
vote
0answers
79 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 ...
9
votes
1answer
1k 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 ...
0
votes
1answer
375 views

jquery issue when page loads

I am seeing a jQuery error in the console when the page loads. i have tried this link, but the issue has not been resolved i do know where it comes from.when i refresh the page the issue is resolved. ...
2
votes
0answers
132 views

magento1.9 console errors [closed]

how can I fix the following errors in the console ReferenceError: Itoris is not defined eferenceError: Varien is not defined TypeError: this.each is not a function thanks
1
vote
3answers
986 views

Magento2: AddFotoramaVideoEvents is not a function on PDP?

I am getting error on PDP page in console for configurable product. while changing the attribute from PDP.it is showing belows error: fotorama.js:953 GET http://unicorn-stg2.local/pub/static/...
0
votes
1answer
73 views

magento console errors when script is written in header

In header we have code like this in separate scripts var $ck = jQuery.noConflict(); var $abc = jQuery.noConflict(); var $frr = jQuery.noConflict(); The requirement is working but I have observed in ...
0
votes
1answer
262 views

Delete collection item through console command

My goal is to delete the default shipping address of all customer. The code looks something like this: foreach ($customerCollection as $customer) { $customer->load($customer->getId());...
1
vote
2answers
5k views

Uncaught SyntaxError: Unexpected token } in JSON at position 199

I tried to add a main.js to my Magento theme using the answer on How To add JS file in frontend for all pages, however, it caused issues so I removed this, however, I still get console error for this. ...
1
vote
1answer
368 views

getting these console errors and really have no idea to solve it

Uncaught TypeError: this.toggleElements.toggleSingle is not a function at Object.match (app.js:1004) at QueryHandler.on (enquire.js:100) at enquire.js:214 at each (enquire.js:38) at MediaQuery.assess ...
1
vote
0answers
692 views

Magento2: delete product from cli

On Magento 2.0 I had a console command to delete products under some circumnstances. After upgrading to 2.1 it doesn't work anymore. It throws the infamous Area code not set error. The strangeness ...
3
votes
2answers
881 views

Magento2 site is not loading properly

I have Magento2 site. When I load first time in the browser it's not loading. Complete and show javascript error in the console but when I refresh, it shows correct? What is the issue in Magento 2
1
vote
1answer
2k views

Magento 2: Fatal error: Call to a member function getUsername() on null in

While developing in Magento 2 after a while i get the following error: Fatal error: Call to a member function getUsername() on null in /home/magento2/domains/../public_html/magento2/vendor/magento/...
1
vote
0answers
327 views

Uncaught TypeError Porto Theme 2.1.0 Magento 2 [closed]

I'm using porto theme 2.1.0 in my Magento 2. Every time i load my site I'm always experiencing this error.
0
votes
1answer
1k views

Magento 403 forbidden error in console

I am getting following error in my Browser's console. Any suggestions are welcome. "NetworkError: 403 Forbidden - www.example.com/skin/frontend/mytheme/default/"
2
votes
1answer
695 views

Magento 2 - How to create the batch file to export product to csv file

In Magento 2, How to create the batch file to export product to csv file? May you show me step by step, Thanks!
1
vote
2answers
8k views

Uncaught ReferenceError: jQuery is not defined

we are using 1.9.0 we are trying to save the quantity in frontend, but its not working. we doubt it may be issue with jquery errors present in console. we wrote phtml code first and script in bottom ...