Forum OpenACS Q&A: Response to ad_maintain_last_visits error after renaming table...

see this thread; it looks like exactly the same problem.