Ok I try to reproduce error on both php5.6 and php7.1 and didn't get any error. I tested it on default installation(no other plugin only stock, with one example ad) with bender theme, can't comment on osclasswizards as I don't have it.
More info will be needed to resolve it. I have enabled issues on github, so we can discuss it their.
Regards