Wordpress revolution slider grey box errors - slider

Revolution slider is not working on my Wordpress site. it works with other themes but not the one currently running.
I was told the site is throwing out these two errors which are stopping it from working
Uncaught TypeError: Cannot read property 'id' of undefined s3Slider.js?ver=1:23
Uncaught TypeError: Cannot read property 'opera' of undefined custom.js?ver=1:16
But am unsure of how to resolve these or get the error to stop so the slider works
Site url: http://henrysstuff.co.uk/ - Slider is the grey element at the top

You initialize the slider with the following code:
jQuery('#slider').s3Slider({
timeOut: 3000
});
But there is no element with the id of "slider" found in your markup. This most likely is causing your first error.
The second error is because $.browser was removed in jQuery 1.9, and the site is running 1.9.1. Code below from custom.js line 16.
if (!jQuery.browser.opera) {

Related

TypeError: Cannot read property '_isDestroyed' of undefined Vuejs

I'm using nuxt.js i get this error "6b486774c601587bc79c.js:2 TypeError: Cannot read property '_isDestroyed' of undefined" in only one page, it disapear when i visit other pages than i back to this page
Had the same problem, at the end of the day it was a svg tag inside my Vue component that crashed the app. Don't know why, if somebody knows please share.
I just replaced it putting the svg within an img tag. Not proud but it works.

How to execute a function when scroll bar reached bottom in VueJs

I'am trying to execute a method when scroll bar of the page reached bottom of the page but console is giving an error of
Uncaught TypeError: this.fn is not a function
but when i simply try alert() fn it works fine
this is the code i'm trying with
Js Fiddle

I have a TypeError warning but the app works fine

Suddenly I started getting the following TypeError warning from Vue but my app works fine
[Vue warn]: Error in render: "TypeError: Cannot read property 'Name' of null"
This is coming from a data property named 'dashboard' that is loaded via AJAX call after user selects an item from a drop down. In debugging I have been able to simplify the code to get the warning and learned how to not get the warning.
This line will give me the warning but works fine
Dashboard: {{dashboard.Name}}
This line will display the entire dashboard object with no warning
Dashboard: {{ dashboard}}
This line works fine as well with no warning
Dashboard: {{ dashboard == null ? "Null" :dashboard.Name}}
I'm doing my first project with Vue and have had this code in working just fine for a couple of weeks, with no warnings.
Why all of a sudden do I start seeing this warning?
Secondary question is how do you typically track down such warnings. The stack trace is all in Vue code and gives me no idea where the problem originates from in my code.
The Vue team explained this in an answer from their forums here. I'll repeat a shorter version below as it took awhile to get it into my thick head.
A TypeError will be emitted when Vue does its rendering and the state of the data is not yet complete, in my case data was not yet set by the async AJAX call. When the AJAX call does return the data reactivity kicks in and the render is done again and this time the data is in a valid state.
This explains why the below has a TypeError but renders just fine
Dashboard: {{dashboard.Name}}
The TypeError is because Vue is attempting to render null.Name on initial rendering, i.e. dashboard is initially set to null. After the AJAX call returns, dashboard is now set and Vue reactivity kicks in and second rendering works as expected.
This below does not emit the TypeError warning because accessing\rendering null
Dashboard: {{ dashboard}}
is valid with nothing to render so no TypeError, after the AJAX call returns reactivity causes a re-render which displays the data as expected.
Resolution, quoted from the mentioned post.
Generally speaking you would put a conditional render either around your component, or the data that may require that information with a v-if statement to trigger a truthy expression. As null is “false”. When ajax fills it in it becomes “truthy”

Colorbox doesn't show up - Error $.data(this, colorbox) is undefined

I am trying to load the pop image on the category page but I get this error upon clicking on the image.
Timestamp: 10/27/2012 7:15:10 PM
Error: TypeError: $.data(this, colorbox) is undefined
Source File: http://woodanta.6point9.in/catalog/view/javascript/jquery/colorbox/jquery.colorbox.js
Line: 246
The colorbox is working on the products page but not on the category. Can anyone help me with this?
Category: http://woodanta.6point9.in/index.php?route=product/category&path=60
Product: http://woodanta.6point9.in/index.php?route=product/product&product_id=50
Colorbox adds it's settings object to the elements it's assigned to, using jQuery.data(). This settings object is being removed from your elements between the time you assign colorbox, and the time you click on a link. This usually happens when copy/replacing elements in the document (using $.html()), which does not copy data stored using $.data, rather than cloning them or appending/prepending the existing elements.
I suggest disabling your scripts that are unrelated to colorbox to determine what script is causing the problems. Also, you may be able to avoid the issue by waiting until the other scripts have executed before assigning colorbox to your elements.

Not displayed the main application panel

I'm very new in Sencha. When I run my app my main panel doesn't show, only NestedList. Browser shows the following message:
Uncaught TypeError: Cannot call method 'getId' of undefined
I don't know how to fix it. I will glad of any hint.
this is my app
There are 3 things you should modify to get your application works:
Remove fullscreen: true config as it breaks your app layout, because it's not the outer-most component of your applcation.
Remove this.detailCard from setItems in your split view since it is not defined and not compulsory to be defined. So: this.setItems([this.nestedList]); is enough.
Add layout: 'card' to your split view config.
I've tested and it worked well. Hope it helps you.