Blog update issue
Permalink Browser Info Environment
Hi,
We are facing an issue while trying to update the blog posts already published.
On clicking update it will throw the following exception
Concrete5 version is 8.1.0 and C5DK is 8.0.6.7.
Thanks.
We are facing an issue while trying to update the blog posts already published.
On clicking update it will throw the following exception
Whoops \ Exception \ ErrorException (E_ERROR) Call to a member function update() on null <PATH>\packages\c5dk_blog\src\C5dkBlog\C5dkBlog.php:116
$fls = PageTypeComposerFormLayoutSetControl::getByID($control->getPageTypeComposerFormLayoutSetControlID()); $bc = $fls->getPageTypeComposerControlObject(); $bc->setPageTypeComposerFormLayoutSetControlObject($fls); $blk = $bc->getPageTypeComposerControlBlockObject($C5dkBlog); // Update the Content Block with the blog text if (empty($this->content)){ $this->content = ' '; } $blk->update(array('content' => $this->content));
Concrete5 version is 8.1.0 and C5DK is 8.0.6.7.
Thanks.
Type: | Ticket |
---|---|
Status: | Archived |
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.
To re-open this issue, reply to this message.
To re-open this issue, reply to this message.
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.
To re-open this issue, reply to this message.
To re-open this issue, reply to this message.
Sorry that you are experiencing problems.
There is one thing that comes to mind... concrete5 version 8.1.0 was not the most stable concrete5 version we have experienced. And by that we decided to wait for concrete5 8.2.1 when we discovered numerus problems.
So my answer is... Upgrade your site to concrete5 8.2.1 and then upgrade our C5DK Blog package to version 8.2.1.0. That should make all your troubles go away.
We are working on a new version (8.2.1.1) that will come out in the next week or so.
/Michael