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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

SS 3.0.3

Go to End

2 Posts   779 Views


Community Member, 10 Posts

27 November 2013 at 1:21pm

I have read a thread that mentioned that some anonymous functions might not work when using Silverstripe 3.* on a server that is running PHP 5.3 (in this case 5.3.3).

I was wondering if this would effect parent::canEdit($member).

As I have an effect that means that certain types of users can edit certain pages depending on their roles.

Any help would be appreciated!


Forum Moderator, 5523 Posts

28 November 2013 at 10:44pm

On 5.3.3 you just can't use '$this' (as it was introduced in 5.4)