Problems with tags after update to PHP 7

Hi,

after updating PHP from 5.6 to 7.04 I got some strange issues:

  • the default site (blog) only shows the latest post instead the latest five (as configured)
  • the pagination is missing, so i can’t access older posts
  • when using the tag cloud to navigate to another tag-category, just the latest post of that tag-category is shown
  • tags at the end of posts are missing

I’m using Kirby 2.2.3

Any suggestions?

Have you cleared the browser cache?

Do you get any php error messages (c::set('debug', true))?

Thanks for the hint, I enabled the debug-mode and get the following error:

Notice: Array to string conversion in /kirby-blog/site/plugins/taglist/taglist.php on line 30
Notice: Undefined property: Page::$Array in /kirby-blog/site/plugins/taglist/taglist.php on line 30

the content of taglist.php:
28 * Split the tag field and limit the number of tags 29 */ 30 $tags = str::split($page->$options['field']()); 31 $ds = DS == '/' ? ':' : ';';

Ok, that looks like a compatibility issue. Try to wrap this bit:

$options['field']()

in curly brackets:

{$options['field']}()

It works!

Awesome support, thank you very much :smiley: