Error message when trying to schedule edited article for publication

When I tried to schedule article that was reviewed for publication I gt the following error message:
ojs2 has produced an error Message: WARNING: assert() [function.assert]: Assertion failed In file: /home/politi30/public_html/casopis/classes/article/Article.inc.php At line: 236 Stacktrace: Server info: OS: Linux PHP Version: 5.3.29 Apache Version: N/A DB Driver: mysql DB server version: 5.5.32-31.0-log
ojs2 has produced an error Message: WARNING: Cannot modify header information - headers already sent by (output started at /home/politi30/public_html/casopis/lib/pkp/classes/core/PKPApplication.inc.php:381) In file: /home/politi30/public_html/casopis/lib/pkp/classes/core/PKPRequest.inc.php At line: 87 Stacktrace: Server info: OS: Linux PHP Version: 5.3.29 Apache Version: N/A DB Driver: mysql DB server version: 5.5.32-31.0-log

Please advise
thanks

Check Setup step 3, section 3.2. There are some new options for how OJS defaults the copyright information. Are these options set? (Particularly “Base new article’s copyright year on” for this error.)

I realized that error did not occurred when I made notes in layout editing and copyediting.
I will experiment more and let you know. However, if something in procedure was wrong I would expect notice on that.
Thanks

OJS uses a just-in-time assignment of the copyright information, which causes this late notice of the missing setting.

We could certainly do better at advertising items that require review in the upgrade process (such as these new settings). There has also long been a desire for a data-integrity checker for the product, which might be another place to catch missing settings like this.

Thanks for investigating issue.
Please let me know if I can help in testing.

Thanks