# Problems with tags after update to PHP 7

**URL:** <https://forum.getkirby.com/t/problems-with-tags-after-update-to-php-7/3838>\
**Category:** Questions\
**Tags:** v2\
**Created:** [April 12, 2016, 7:56am UTC](https://forum.getkirby.com/t/problems-with-tags-after-update-to-php-7/3838 "2016-04-12T07:56:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aheu](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@aheu](https://forum.getkirby.com/u/aheu)\
**Post date:** [April 12, 2016, 7:56am UTC](https://forum.getkirby.com/t/problems-with-tags-after-update-to-php-7/3838/1 "2016-04-12T07:56:51Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [April 12, 2016, 8:01am UTC](https://forum.getkirby.com/t/problems-with-tags-after-update-to-php-7/3838/2 "2016-04-12T08:01:59Z")

</div>

Have you cleared the browser cache?

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

---

<div class="post-metadata">

**Author:** ![aheu](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@aheu](https://forum.getkirby.com/u/aheu)\
**Post date:** [April 12, 2016, 8:23am UTC](https://forum.getkirby.com/t/problems-with-tags-after-update-to-php-7/3838/3 "2016-04-12T08:23:21Z")

</div>

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 == '/' ? ':' : ';';`

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [April 12, 2016, 8:32am UTC](https://forum.getkirby.com/t/problems-with-tags-after-update-to-php-7/3838/4 "2016-04-12T08:32:54Z")

</div>

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

```auto
$options['field']()

```

in curly brackets:

```auto
{$options['field']}()

```

---

<div class="post-metadata">

**Author:** ![aheu](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@aheu](https://forum.getkirby.com/u/aheu)\
**Post date:** [April 12, 2016, 8:39am UTC](https://forum.getkirby.com/t/problems-with-tags-after-update-to-php-7/3838/5 "2016-04-12T08:39:59Z")

</div>

It works!

Awesome support, thank you very much 😃

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 4:59pm UTC](https://forum.getkirby.com/t/problems-with-tags-after-update-to-php-7/3838/6 "2025-02-06T16:59:47Z")

</div>


