Fatal error: Class 'Piwik_CustomVariables' not found


Fatal error: Class 'Piwik_CustomVariables' not found in XXX/piwik/plugins/Goals/Goals.php on line 813
Call Stack

I successfully upgraded Piwik to 1.9.2. on my local test environment today.
Afterwards I ran the Visitor Generator for the past 30 days.
Above was the result.
Below I will paste the Call Stacks from 2 plugins, as they differ (not just those two, but all visible plugins):

Visits Over Time:


#	Time	Memory	Function	Location
1	0.0002	132528	{main}( )	../index.php:0
2	1.0281	14135464	Piwik_FrontController->dispatch( )	../index.php:53
3	1.0339	14611560	call_user_func_array ( )	../FrontController.php:138
4	1.0339	14612136	Piwik_VisitsSummary_Controller->getEvolutionGraph( )	../FrontController.php:0
5	1.0343	14623128	Piwik_Controller->getLastUnitGraphAcrossPlugins( )	../Controller.php:85
6	1.0928	16980792	Piwik_ViewDataTable_GenerateGraphHTML->main( )	../Controller.php:236
7	1.0928	16980792	Piwik_ViewDataTable_GenerateGraphHTML->buildView( )	../GenerateGraphHTML.php:125
8	1.0937	16980792	Piwik_ViewDataTable_GenerateGraphHTML->getGraphData( )	../GenerateGraphHTML.php:141
9	1.0937	16980792	Piwik_FrontController->fetchDispatch( )	../GenerateGraphHTML.php:187
10	1.0938	17021808	Piwik_FrontController->dispatch( )	../FrontController.php:160
11	1.0943	17032048	call_user_func_array ( )	../FrontController.php:138
12	1.0943	17032048	Piwik_VisitsSummary_Controller->getEvolutionGraph( )	../FrontController.php:0
13	1.0946	17033432	Piwik_Controller->getLastUnitGraphAcrossPlugins( )	../Controller.php:85
14	1.1298	17722000	Piwik_ViewDataTable_GenerateGraphData->main( )	../Controller.php:236
15	1.1298	17722000	Piwik_ViewDataTable_GenerateGraphData_ChartEvolution->loadDataTableFromAPI( )	../GenerateGraphData.php:181
16	1.1300	17722000	Piwik_ViewDataTable->loadDataTableFromAPI( )	../ChartEvolution.php:109
17	1.1302	17722000	Piwik_API_Request->process( )	../ViewDataTable.php:425
18	1.1347	18062840	Piwik_API_Proxy->call( )	../Request.php:128
19	1.1368	18121448	call_user_func_array ( )	../Proxy.php:190
20	1.1368	18121448	Piwik_API_API->get( )	../Proxy.php:0
21	1.1652	18427488	Piwik_API_Proxy->call( )	../API.php:1054
22	1.1676	18525432	call_user_func_array ( )	../Proxy.php:190
23	1.1676	18525432	Piwik_VisitsSummary_API->get( )	../Proxy.php:0
24	1.1842	19284784	Piwik_Archive_Array_IndexedByDate->getDataTableFromNumeric( )	../API.php:88
25	1.2895	20650536	Piwik_Archive_Single->prepareArchive( )	../IndexedByDate.php:90
26	1.2940	20664272	Piwik_ArchiveProcessing->launchArchiving( )	../Single.php:236
27	1.2975	20673840	Piwik_ArchiveProcessing_Day->compute( )	../ArchiveProcessing.php:498
28	1.3006	20681080	Piwik_PostEvent( )	../Day.php:45
29	1.3006	20681224	Event_Dispatcher->postNotification( )	../PluginsManager.php:722
30	1.5153	23592912	call_user_func_array ( )	../Dispatcher.php:284
31	1.5153	23592912	Piwik_Goals->archiveDay( )	../Dispatcher.php:0
32	1.5260	23708544	Piwik_Goals->archiveEcommerceItems( )

Keywords:


#	Time	Memory	Function	Location
1	0.0064	131112	{main}( )	../index.php:0
2	2.5866	14150968	Piwik_FrontController->dispatch( )	../index.php:53
3	2.5935	14798240	call_user_func_array ( )	../FrontController.php:138
4	2.5935	14798816	Piwik_Referers_Controller->getKeywords( )	../FrontController.php:0
5	2.6071	15936048	Piwik_Controller->renderView( )	../Controller.php:96
6	2.6072	15936048	Piwik_ViewDataTable_HtmlTable->main( )	../Controller.php:152
7	2.6072	15936048	Piwik_ViewDataTable->loadDataTableFromAPI( )	../HtmlTable.php:81
8	2.6075	15937736	Piwik_API_Request->process( )	../ViewDataTable.php:425
9	2.6119	16263120	Piwik_API_Proxy->call( )	../Request.php:128
10	2.6153	16446440	call_user_func_array ( )	../Proxy.php:190
11	2.6153	16446440	Piwik_Referers_API->getKeywords( )	../Proxy.php:0
12	2.6153	16446440	Piwik_Referers_API->getDataTable( )	../API.php:60
13	2.6154	16446440	Piwik_Archive::getDataTableFromArchive( )	../API.php:40
14	2.6241	17192104	Piwik_Archive_Single->getDataTable( )	../Archive.php:353
15	2.6241	17192104	Piwik_Archive_Single->get( )	../Single.php:530
16	2.6241	17192104	Piwik_Archive_Single->prepareArchive( )	../Single.php:266
17	2.6436	18286736	Piwik_ArchiveProcessing->launchArchiving( )	../Single.php:236
18	2.6470	18298816	Piwik_ArchiveProcessing_Day->compute( )	../ArchiveProcessing.php:498
19	2.6501	18310016	Piwik_PostEvent( )	../Day.php:45
20	2.6502	18310016	Event_Dispatcher->postNotification( )	../PluginsManager.php:722
21	2.8613	21237960	call_user_func_array ( )	../Dispatcher.php:284
22	2.8613	21237960	Piwik_Goals->archiveDay( )	../Dispatcher.php:0
23	2.8723	21351712	Piwik_Goals->archiveEcommerceItems( )	../Goals.php:647

Visitor Location:


error while loading data (Markup in doucment not well-formed)

I intented to update productive installations later on, due to this I suppose I will postpone that.

is the plugin Custom Variables enabled?

It was not.
I just activated it to see what happens, the errors disappeared.

But I doubt that this behaviour is intended though. After all this was my local test-environment without any relevant changes (merely to see if updates are run smoothly, if the version is stable etc.).

Another updated installations doesn’t throw any errors, even though the Plugin was not activated.

After deactivating the plugin in my test-environment it didn’t throw any errors again.

I fixed this error in SVN