I'm currently working on an MS SharePoint project, and all I added is an CSS file, which isn't the cause of my error.

The sharepoint version is 2010.

O already tried to disable the customised css, but that didn't resolve the problem.

On some times, when i load the homepage and try to click the edit symbol or tab, i get the following error:

Uncaught TypeError: Cannot read property 'PageState' of undefined sp.ribbon.js:2

Help anyone, I can't figure out whats happening there.

Thanks in advance.

  • Which browser you are using? SharePoint 2010 UI is not 100% compatible with Chrome Commented Mar 29, 2012 at 9:53
  • yup, i know.. but the error is in internet explorer ass well
    – Simon
    Commented Mar 29, 2012 at 11:23
  • Just wanted to add my 2 cents. The latest version of Chrome is having a lot of problems with Sharepoint 2010. When i put my custom webpart on the page the Site Actions/Edit no longer works. This isn't a problem with Firefox/IE and wasn't a problem with before chrome. Currently have chrome 22.0.1229.96 m. I received the same error.
    – MikeC
    Commented Oct 29, 2012 at 18:55

2 Answers 2


I would suggest the use of an external tool like Fiddler to see how the CSS file is performing first - Using Fiddler to Streamline SharePoint CSS Design


How are you adding the css file? If you modified the master page to reference the css file, I'd suspect there is a syntax error in the master page. Restore your backed-up master page(always back up files you modify in SPD), then see if the error goes away.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.