Umbraco Simple Starter Kit Object Not Set Error

Umbraco Simple Starter Kit Object Not Set Error

"Friendly Ghost" or "Designit Green" skin with the "Simple Starter Kit" Error Overview

When installing either the "Friendly Ghost" or "Designit Green" skin with the "Simple Starter Kit", a reference to a macro which does not exist is used causing an "Object reference not set to an instance of an object." error on line 21 of "umbraco.cms.businesslogic.macro.MacroModel..ctor".

 

Error Display If Custom Errors Are On

Object Reference Not Set To An Instance Of An Object

 

Error Display If Custom Errors Are Off / RemoteOnly

If, like our hosting, you set custom errors to On or RemoteOnly, the error will present itself as follows:

Custom Errors On RemoteOnly

 

Resolving The Simple Starter Kit with Designit Green Skin Error

In the Umbraco Admin interface:

  1. Navigate to Settings.
  2. Locate the Starterkit Master template.
  3. Delete the call to the BlogRssFeedLink macro:
        ie. remove the following line:
      <umbraco:macro alias="BlogRssFeedLink" runat="server"></umbraco:macro>
  4. Save your changes to the template.

 

Remove BlogRssFeedLink Designit Green

 

Loading your Designit Green home and other pages should now work:

Designit Green Skin

 

Resolving The Simple Starter Kit with Friendly Ghost Skin Error

The process for both skins are very similar, however the templates differ slightly and the line which is removed also includes an id.

In the Umbraco Admin interface:

  1. Navigate to Settings.
  2. Locate the Starterkit Master template.
  3. Delete the call to the BlogRssFeedLink macro:
         ie. remove the following line:
         <umbraco:macro id="Macro1" alias="BlogRssFeedLink" runat="server"></umbraco:macro>
  4. Save your changes to the template.

 Remove BlogRssFeedLink Friendly Ghost

 

Loading your home and other pages should now work:

Friendly Ghost Skin

 

Please leave a comment if you have found this useful or have some further comments that our readers may find useful.

 

 

Written by Richard Bowers at 21:35
Tags :

4 Comments :

Hey there, I would love to fix this out of the box but I can't actually reproduce the errors in neither the personal nor the simple skin. Maybe they have been fixed for 4.8.0? Not sure which version you tried.
If you can help me reproduce the error then I'd love to have a look at fixing this.
Thanks!
August 9, 2012 09:01
Admin Richard Bowers (author) said...
Hello Sebastiaan,

It would be good indeed if this could be fixed at source.

This bug was produced on a clean install of version 4.7.2.

Let me know if you have problems replicating the bug, or creating a clean instance of that version and I will see if I can assist further (either creating a clean instance for you to test with or providing error logs).

Kind regards,
Richard
August 9, 2012 09:27
Hey Richard, just tried a fresh install of 4.7.2 with a few skins and themes but couldn't get it to break!

So let me know if you do (and how!) :-)
August 10, 2012 11:41
Otman said...
A bit surprised it seems to simple and yet ufseul.
October 3, 2012 09:49

Comment

Comments closed

Try our Umbraco Hosting free for 3 months