Questions tagged [console]

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

0
votes
1answer
11 views

Custom Console command creation error in Magento 2

I am creating console command to input values into database, there is some argument missing error. I have gone through several tutorials but to me code looks fine. The error is: Not enough ...
0
votes
0answers
19 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
43 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
0answers
25 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
141 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.
3
votes
0answers
68 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
0answers
212 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
17 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
56 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
513 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
31 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
24 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
707 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
84 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
161 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
2answers
38 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
46 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
24 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
107 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
445 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
29 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
48 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
1answer
376 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 ...
0
votes
0answers
174 views

JQMIGRATE: 'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'

I'm using Jquery version "v1.12.4" and Jquery migrate version "v1.2.1" on our Magento (Version: 2.2.3) site. I'm getting the below console warning: JQMIGRATE: 'hover' pseudo-event is deprecated, use '...
1
vote
0answers
64 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
330 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
118 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
1answer
614 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
62 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
256 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
4k 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
342 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
607 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
861 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
298 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
937 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
662 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
7k 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 ...
1
vote
1answer
417 views

Magento connect manager showing login screen in console [duplicate]

Magento connect manager showing login screen in console. I have installed 1.9.1.0 ver of magento, Want to upgrade my extension. But when i select any extension version for upgrade and click on commit ...
1
vote
2answers
309 views

Magento Connect: Console output frame missing? after 1.9.2.4 update attempt

I recently installed a new Magento-1.9.2.3 store and I went to update to the latest 1.9.2.4 releases. I decided to start with the Mage_Downloader first, and upon committing to the install this is ...
1
vote
0answers
121 views

Magento2 console error locks up browser

I keep getting this error and don't know how to clear it. Is it a production mode vs developer mode problem? Please see below: Uncaught RangeError: Unable to process binding "scope: function (){...
1
vote
1answer
339 views

Console errors after installing Magento-CE-2.0.2 [duplicate]

I freshly installed Magento 2.02 Community Edition but now when i login to admin panel then nothing is clickable and found 28 console error related to css and js How can i solve this problem
15
votes
3answers
1k views

Magento 2 Shortcut/GUI tool to perform commandline tasks for windows

I know, that the command line tool for magento 2 is very useful, but when in development,we need to perform some common tasks like clear the cache, deploy static content, upgrade db, enable extension ...