can not publish any page in edit mode

Permalink
Could you please how to publish pages after clicking edit button (left top menu) mode in cocrete5 cms version 5.8.1.0 not using compose button?
I can't publish any page clicking edit button in top left corner, editing it and clicking edit button again. Publish Changes Button is disabled and there is message: "The field Page Thumbnail is required." But I can publish using compose menu (next to edit in left top corner).
What's the cause of this problem? Is it concrete5 bug?

 
Oleg2017 replied on at Permalink Reply
if I comment out some code in checkForPublishing method it works.
But I don't understand why it happens and how can I make it work?

class CheckIn extends BackendInterfacePageController
{
    protected $viewPath = '/panels/page/check_in';
    // we need this extra because this controller gets called by another page
    // and that page needs to know how to submit it.
    protected $controllerActionPath = '/ccm/system/panels/page/check_in';
    public function canAccess()
    {
        return $this->permissions->canApprovePageVersions() || $this->permissions->canEditPageContents();
    }
    public function on_start()
    {
        parent::on_start();
        if ($this->page) {
            $v = CollectionVersion::get($this->page, "RECENT");
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi Oleg2017,

To better assist you, please include more specific details about your problem.

Tips for getting forum questions answered
http://documentation.concrete5.org/tutorials/tips-getting-forum-que...
Oleg2017 replied on at Permalink Reply
I see this issue both on localhost and on server.
Cache is turned off on localhost host.
Version of php 7, concrete 5.8.1.0