My site is giving Jquery error and I do not know what to do [closed]

-1

I'm new to programming and I'm developing using jquery and boostrap in wordpress. However when uploading the theme to the server this error appears. Thank you for your attention.

    
asked by anonymous 01.12.2016 / 19:49

1 answer

3
TL

The above message is not an error, it's just a log. It is saying that JQMigrate has been loaded. If that's all it is, you do not have to worry;)

Explanation

To interact with the browser console, you use a JS object, also called console . It can send various 'types' of messages used for different occasions.

The existing types and their respective uses are:

  • debug: debug code;
  • log: indicate relevant events;
  • warn: indicate that something unusual happened, but the program will continue to run as much as possible;
  • error: indicate that a serious error occurred and could interfere with program execution.

To send a message with one of the above types, just use the method with the same name of type:

console.debug('Testando meu código');
console.info('É bom você saber disso');
console.log('Algo relevante aconteceu');
console.warn('Algo pode estar errado');
console.error('Algo definitivamente está errado');

In Chrome it is possible to distinguish the type through the icon / color of the message:

So you can see that your message is a log and so it is not an error.

    
01.12.2016 / 20:23