Weather Block ... in development .. Need help

Permalink
Hello Folks,

I try to develop an weather block but run in an Error which I can't understand because off its not possible.

I use Concrete 5.2.1.

Block installation works fine. But if I wanna add the new block "add" I receive following Error:
Array
(
    [0] => Abu Dhabi
    [1] => Al Ain
    [2] => Dubai
    [3] => Fujairah
    [4] => Medina Zayed
    [5] => Ras Al Khaimah
    [6] => Sharjah
)
Fatal error: Call to undefined method GoogleWeather::getCityList() in /www/valicek/dev/con/blocks/google_weather/controller.php on line 56


-> I have no more an print_r or similar function in use. Who print it?
-> GoogleWeather::getCityList() isn't a static function and will not be called statically. (see in attached code) Who calls it?

But in general the block is working except forecast next days isn't finished yet.

Nevertheless if someone is more familiar in css and design to make the block look better or has hint's to make this works better - feel free to provide input and corrections.

Thx in forward.
Peter

1 Attachment