Important announcements from CouchCMS team
76 posts Page 8 of 8
Previous 1 ... 4, 5, 6, 7, 8 Next
Hi KK,
When registering a new one repeatable-regions in template, (PHP 7.2.16) Couch show:

Code: Select all
Warning: count(): Parameter must be an array or an object that implements Countable in /home/evropest/domains/site.gr/panel/addons/repeatable/repeatable.php on line 142

Warning: Cannot modify header information - headers already sent by (output started at /home/evropest/domains/site.gr/panel/addons/repeatable/repeatable.php:142) in /home/evropest/domains/site.gr/panel/tags.php on line 1730

Warning: Cannot modify header information - headers already sent by (output started at /home/evropest/domains/site.gr/panel/addons/repeatable/repeatable.php:142) in /home/evropest/domains/site.gr/panel/tags.php on line 1730

Warning: Cannot modify header information - headers already sent by (output started at /home/evropest/domains/site.gr/panel/addons/repeatable/repeatable.php:142) in /home/evropest/domains/site.gr/panel/tags.php on line 1730

Warning: Cannot modify header information - headers already sent by (output started at /home/evropest/domains/site.gr/panel/addons/repeatable/repeatable.php:142) in /home/evropest/domains/site.gr/panel/tags.php on line 1730

Warning: Cannot modify header information - headers already sent by (output started at /home/evropest/domains/site.gr/panel/addons/repeatable/repeatable.php:142) in /home/evropest/domains/site.gr/panel/tags.php on line 1730

Warning: Cannot modify header information - headers already sent by (output started at /home/evropest/domains/site.gr/panel/addons/repeatable/repeatable.php:142) in /home/evropest/domains/site.gr/panel/tags.php on line 1730

Warning: Cannot modify header information - headers already sent by (output started at /home/evropest/domains/site.gr/panel/addons/repeatable/repeatable.php:142) in /home/evropest/domains/site.gr/panel/cms.php on line 320


The next step stack works normally, I'm begging you to fix it
Thanks
Hi Orbital,

Exactly which version of Couch are you using?
Please use v2.2 from GitHub and that shouldn't throw this warning.
KK, version is
k_cms_version: 2.2RC1 this is the latest version
k_cms_build: 20181213
k_cms_version: 2.2RC1 this is the latest version

That is very strange - I don't see any reason for the warning in v2.2 (the variable being used with count() *is* an array).
I'd like to take a look at this issue - if your site is online, could you please PM me your FTP+Couch creds?
@KK, any particular reason for cms:globals to always require 'masterpage' parameter? Why it has to be always bound to current template, instead of template in context?

Code: Select all
// Home-view of "template-without-globals.php"

<cms:pages masterpage='template-with-globals.php'>
 
    <cms:if k_paginated_bottom>
        <cms:show_globals masterpage=k_template_name>
        </cms:show_globals>
    </cms:if>

</cms:pages>

active topics, google
Free support is never free.. Donate!
@trendoman, that is to be consistent with the behavior of most other tags e.g. cms:pages, cms:folders etc.
Previous 1 ... 4, 5, 6, 7, 8 Next
76 posts Page 8 of 8

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 2 guests