niklausgerber / monochrome

A fully responsive Kirby CMS theme
https://www.niklausgerber.com
27 stars 7 forks source link

Getting PHP error accessing the search page #3

Closed adilinden closed 9 years ago

adilinden commented 9 years ago
[Mon Nov 17 23:02:35 2014] ::1:53669 [200]: /search - Cannot use object of type Obj as array in /Users/Adi/Locker/Shell/kirby-monochrome/kirby/toolkit/lib/a.php on line 414

This is on OS X Mavericks, running 'php -S localhost:8080'. Installed the getkirby/starterkit, then deleted the assets, site, and content folders. Followed that by copying all files from monochrome theme to the starterkit. PHP version is

Jasmine:kirby-monochrome Adi$ php -v
PHP 5.4.30 (cli) (built: Jul 29 2014 23:43:29) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

Any ideas...?

adilinden commented 9 years ago

I copied the following file

https://github.com/getkirby/plugins/blob/master/tagcloud/tagcloud.php

to site/plugins/tagcloud.php, overwriting the tagcloud.php supplied with the theme. Seems to have done the trick.