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 forum.silverstripe.org 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.

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   1138 Views

Avatar
an_Eskimo

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!

Avatar
Willr

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)

http://us2.php.net/manual/en/functions.anonymous.php