"a is Null" error and wrong page type
Permalink Browser Info Environment
I just downloaded the Slate theme and installed it. I played around with the home page. I tried switching the page type to "three over one", didn't like it, so switched it to "home."
Now I have two problems:
1) Every time I refresh the page I get an error pop up. In Firefox 15, it says "a is null." In Chrome 21, it says "Cannot read property 'offsetWidth' of null." In IE "Message from webpage: Unable to get value of the property 'offsetWidth': object is null or undefined."
2) When I edit the page in Concrete5, it still shows three columns above the single main content even though the page type is set to Home, not Three Over One.
How do I fix this?
Alan
The site is:http://www.dev.alanhaynes.com/concrete5/....
I've attached some screen shots.
Now I have two problems:
1) Every time I refresh the page I get an error pop up. In Firefox 15, it says "a is null." In Chrome 21, it says "Cannot read property 'offsetWidth' of null." In IE "Message from webpage: Unable to get value of the property 'offsetWidth': object is null or undefined."
2) When I edit the page in Concrete5, it still shows three columns above the single main content even though the page type is set to Home, not Three Over One.
How do I fix this?
Alan
The site is:http://www.dev.alanhaynes.com/concrete5/....
I've attached some screen shots.
Type: | Discussion |
---|---|
Status: | New |
Finally had some time to do more troubleshooting:
1) I removed the image slider, but still got the "a is null" error.
2) I switched the homepage theme to "Plain Yogurt" and the error disappeared (the slider block was still deleted).
3) I switched the homepage back to Slate and the error returned.
This seems to be an error with the Slate theme. Anything else I should try?
Alan
http://www.dev.alanhaynes.com/concrete5/...
1) I removed the image slider, but still got the "a is null" error.
2) I switched the homepage theme to "Plain Yogurt" and the error disappeared (the slider block was still deleted).
3) I switched the homepage back to Slate and the error returned.
This seems to be an error with the Slate theme. Anything else I should try?
Alan
http://www.dev.alanhaynes.com/concrete5/...
Forgot to mention: I cleared the cache too. It did not fix the error.
Alan
http://www.dev.alanhaynes.com/concrete5/...
Alan
http://www.dev.alanhaynes.com/concrete5/...
Sorry for the delay in getting back - I've been on vacation with family that last few days.
Do you have a google map on that page somewhere? Or are you using some google map addon? If i view source on the page I can see in the footer that there is some javascript for a google map outputted and I think that may be causing it. If you do a google search for "a is null" the first few results are regarding issues with google maps.http://stackoverflow.com/questions/5478450/google-map-error-a-is-nu...
Do you have a google map on that page somewhere? Or are you using some google map addon? If i view source on the page I can see in the footer that there is some javascript for a google map outputted and I think that may be causing it. If you do a google search for "a is null" the first few results are regarding issues with google maps.http://stackoverflow.com/questions/5478450/google-map-error-a-is-nu...
I am having same problem. I have no idea why or how to fix it. I run nothing strange. I have no downloaded plugins. I only have one homemade theme, and that seem to work. I get the error even if I uninstall that theme, I've tried that just in case.
I only get the error in the Dashboard. But everything seems to work fine.
I tried to remove and re-install Concrete5. But then all of a sudden the error gets back again. For no apparent reason.
Searching the source code for "offesetWidth" i find 49 instances of it, all in Concrete5 "core". Example in; bootstrap.js, bootstrap.tooltip.js, jquery.js, tiny:mce.js and so on...
I only get the error in the Dashboard. But everything seems to work fine.
I tried to remove and re-install Concrete5. But then all of a sudden the error gets back again. For no apparent reason.
Searching the source code for "offesetWidth" i find 49 instances of it, all in Concrete5 "core". Example in; bootstrap.js, bootstrap.tooltip.js, jquery.js, tiny:mce.js and so on...
I am also getting the "a is null" message on the home pagehttp://www.artsonthecommon.org/concrete5/index.php?cID=1.... Everytime I look at this thread to try and fix it since I am a novice I get lost. I had a google map at the bottom of the page. Reverted back to an earlier version of the page pre message, but when I delete the map the "a is null" message returns. When it looks at the code it looks like there is still map info on the page and I am wondering if that might be the issue, but I don't know how to remove it. I know this is probably basics. Any help would be appreciated.
Try clearing your site cache (go to Dashboard->System & Settings->Clear Cache)
I had already done that and there was no change. I'll try again. I tried deleting everything on my pages and essentially starting over, but still got the error. I re-installed Concrete5, but it is my understanding I will need to switch over a Kwiks slider license I am using and that looks like it isn't a simple process. I thought the problem might be slider but I still get the message even when I delete the slider.
Oh and now when my I open the site I don't go to the home page instead I get a list of files and access the home page via the file index.php. Then get the null error message. Of course not landing on the home page is most likely a completely different problem that I will need to tackle if I can clean up the error message first. I am guessing I have the site configured wrong with the host.
Ive got the same issue. Did you ever come across a fix?
I believe its an error related to Google Maps. Do you (or did you ever) have a Google Map on the page? See the link in my answer here:http://www.concrete5.org/marketplace/themes/slate/forums/a-is-null-...
2. The Home page type has a three column over one layout, so that's why it's style showing as that.