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.

Installing SilverStripe

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

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

SS 3.0.3


Reply

2 Posts   316 Views

Avatar
an_Eskimo

27 November 2013 at 1:21pm Community Member, 10 Posts

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

28 November 2013 at 10:44pm Forum Moderator, 5511 Posts

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