Piwik Bugs - Undefined offset: 1 and others

Hi!

My problems:

1 Cant save user rights - when I click red dot it changes to green but after refresh its again red.
2 One day I got page titles instead of data
3 I cant see data in widgets (There is no data for this report.) however I have proper records in visitor log so tracking code seems to work
4 One day I got errors in location and provider:
Notice: Undefined offset: 1 in /home/zaus/domains/biodental.pl/public_html/P1w1k/plugins/UserCountry/functions.php on line 102

Backtrace -->

#0 Piwik_ErrorHandler(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/plugins/UserCountry/functions.php:102]
#1 Piwik_UserCountry_getRegionName(…) called at [:]
#2 call_user_func_array(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/core/DataTable/Filter/ColumnCallbackAddMetadata.php:71]
#3 Piwik_DataTable_Filter_ColumnCallbackAddMetadata->filter(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/core/DataTable.php:388]
#4 Piwik_DataTable->filter(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/plugins/UserCountry/API.php:94]
#5 Piwik_UserCountry_API->getRegion(…) called at [:]
#6 call_user_func_array(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/core/API/Proxy.php:190]
#7 Piwik_API_Proxy->call(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/core/API/Request.php:128]
#8 Piwik_API_Request->process(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/core/ViewDataTable.php:426]
#9 Piwik_ViewDataTable->loadDataTableFromAPI(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/core/ViewDataTable/HtmlTable.php:81]
#10 Piwik_ViewDataTable_HtmlTable->main(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/plugins/UserCountry/Controller.php:435]
#11 Piwik_UserCountry_Controller->checkIfNoDataForGeoIpReport(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/plugins/UserCountry/Controller.php:363]
#12 Piwik_UserCountry_Controller->getRegion(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/plugins/UserCountry/Controller.php:28]
#13 Piwik_UserCountry_Controller->index(…) called at [:]
#14 call_user_func_array(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/core/FrontController.php:138]
#15 Piwik_FrontController->dispatch(…) called at [/home/zaus/domains/biodental.pl/public_html/P1w1k/index.php:53]

Ok, I installed Piwik again and its seems to be working now. There are three posibilities:

  1. Piwik has troubles with working from directory other than piwik (I had it in P1w1k/’ but installed again in ‘piwik/’)
  2. Piwik has bugs in mysqli support
  3. New Piwik version is fixed. (have now fresh 1.10.1, had previus)