Message of the day:
Release 4.5.0 is out. Changelog: https://docs.silverstripe.org/en/4/changelogs/4.5.0
SilverStripe 4 related information and questions.
Or more to the point, what is it that you're processing?
What are you doing in the 'do some processing' section?
What isn't working?
So you can't ->write() it
PageCounter::get() returns a list
This use to work, now it doesn't...can someone tell me what I am doing wrong?
- $pageCounter = PageCounter::get()->filter(['PageID' => $this->ID]);
- Do some processing
Does not seem so, every hook calls parent
anything in the error logs? any special "onBeforeWrite" or "onBeforePublish" hooks that don't call parent?