Or more to the point, what is it that you're processing?


What are you doing in the 'do some processing' section?

Terry Apodaca

This use to work, now it doesn't...can someone tell me what I am doing wrong?

Terry Apodaca
  1. $pageCounter = PageCounter::get()->filter(['PageID' => $this->ID]);
  2. .....
  3. Do some processing
  4. .....
  5. $pageCounter->write();

anything in the error logs? any special "onBeforeWrite" or "onBeforePublish" hooks that don't call parent?