Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Lumberjack causing issue with adding / editing users in Security

Go to End

5 Posts   1754 Views


Community Member, 1 Post

19 August 2015 at 11:29pm

Anyone run into this issue?

[Notice] Trying to get property of non-object
$state->currentPageID = $parent->ID;
Line 39 /lumberjack/code/forms/gridfield/GridFieldSiteTreeAddNewButton.php

Many thanks :)


Community Member, 2 Posts

14 October 2015 at 3:48am


I have the same problem.
SS 3.1.9 and Lumerjack 1.1

Did you find a solution?


Community Member, 46 Posts

6 November 2015 at 1:18am

Edited: 06/11/2015 1:19am

I'm also having the same issue.

Lumberjack 1.1
SilverStripe 3.2

Any help appreciated!

AH01215: PHP Catchable fatal error: Argument 1 passed to GridFieldSiteTreeAddNewButton::getAllowedChildren() must be an instance of SiteTree, null given, called in /silverstripe-lumberjack-1.1/code/forms/gridfield/GridFieldSiteTreeAddNewButton.php on line 38 and defined in /silverstripe-lumberjack-1.1/code/forms/gridfield/GridFieldSiteTreeAddNewButton.php on line 17


Community Member, 24 Posts

10 February 2016 at 11:21pm

Identical problem here. Anyone know a fix for this? This is devastating for my project


Community Member, 24 Posts

10 February 2016 at 11:55pm

OK, I've managed to patch it for now. It's a dirty fix but it's better than having it not work at all.

The issue is caused by the GridField for blog posts on the member object.

In the file blog/code/extensions/BlogMemberExtension.php find the following code:

$gridField = new GridField(
  'Blog Posts',
  new GridFieldConfig_BlogPost()

And replace it with:

$conf = new GridFieldConfig_BlogPost();
$gridField = new GridField(
  'Blog Posts',

This will retain the ability to view and modify a user's blog posts, but not add one.