Our Rss feeds failed to load after installing this patch.

I added this script: http://adammcewen.wordpress.com/2013/05/22/rss-viewer-web-part-failing-after-installing-kb2810059/

to the end of an existing .js file that loads in the page where we have the rss viewer feeds.

However, when I usef Developer tools to debug, I notice


is undefined, and therefore the code is never executed.

ANy idea how to fix this issue?

  • are you using a custom master page?
    – SPArcheon
    Jul 18, 2013 at 14:20
  • yes I think so, Jul 18, 2013 at 14:25
  • ok, then maybe I know the cause of the problem. Give me a minute to post an answer. Keep in mind that this is only a guess based on a similar problem I experienced in the past.
    – SPArcheon
    Jul 18, 2013 at 14:28

2 Answers 2


From your question it would seem that your main problem is that the _spPageContextInfo variable is not defined. I don't know if this is your case, but in the past I found myself in a similar situation when working with a custom master page that someone else developed.

After some fun searching for a cause, a number of curses to the master page creation and some prayers to the Google Goddess, I found an article that explains the inner working behind the above variable and it's availability on SharePoint pages. The link is here.

Short story: the SPWebPartManager control is responsible of defining the _spPageContextInfo variable. Since whoever created my master page forgot to add it, the problem was resolved by simply enough adding the missing control.. and presto! the variable appeared.

As said, I don't know if you are in the same situation, but I prefer to post this anyway in the hope it may help you.

  • thanks a lot for your help, I just checked the masterpage and the control is here! damn!! :(, but very valuable info. Jul 18, 2013 at 14:44
  • Sorry. I hoped it could be your problem. Anyway, any sign of the _spPageContextInfo variable if you look at the source code of the page?
    – SPArcheon
    Jul 18, 2013 at 15:07

I can confirm that the August CU for SP 2010 fixed the RSS feeder webpart loading bug.

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.