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

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
studiothink
View Replies:
C5DK replied on at Permalink Reply
C5DK
Hi,

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
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
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.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
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.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.1.0
Version Installed - 8.1.0
Database Version - 20170123000000

# concrete5 Packages
C5DK Blog (8.0.6.7), ExchangeCore reCAPTCHA (1.1.1)

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
apache2handler

# PHP Version
7.1.9

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, gd, hash, iconv, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, Phar, readline, Reflection, session, SimpleXML, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 2500
memory_limit - 512M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.