Reputation: 2466
I am trying to install the Silver Stripe blog module taken from https://github.com/silverstripe/silverstripe-blog and the SS version is 3.0
When I run dev build, it shows few tables created and then error occurs and the error is
Access level to Blog::onBeforeWrite() must be public (as in class Page) in /home/hfdev/public_html/blog/code/model/Blog.php on line 33
Any idea how to fix this ??
Upvotes: 0
Views: 116
Reputation: 15794
The current master
branch of the SilverStripe blog is for SilverStripe 3.1. This will not work with SilverStripe 3.0.
For a version of the blog that will work with SilverStripe 3.0 try the 0.6
branch:
https://github.com/silverstripe/silverstripe-blog/tree/0.6
Upvotes: 1