API/Controller.php: Error in Array to string conversion

I’m trying to get this:
in PHP format, via the API.

I get this:
Notice: Array to string conversion in plugins/API/Controller.php on line 27

Backtrace -->

#0 Piwik_ErrorHandler(…) called at [plugins/API/Controller.php:27]
#1 Piwik_API_Controller->index(…) called at [:]
#2 call_user_func_array(…) called at [core/FrontController.php:138]
#3 Piwik_FrontController->dispatch(…) called at [index.php:53]

So I’m reporting it in the forums, as asked in the error message. Piwik 1.9.1.

unfortunately metadata API export does not yet support PHP format. PLease try JSON format. Otherwise we can easily add php support, if you like to sponsor this little improvement let me know, thx!

Ah, thanks. Well I was looking for an HTML output, kind of a replacement for widgets, without the iframe, but JSON will do :).
We’re experimenting for now, but I’ll let you know if we need to sponsor improvements :).