Max execution time exceeded after updated to piwik 2.3.0


#1

Hallo,
I just installed piwik 2.3.0 or better to say I tried to. But the first thing I get is the following error-message. and I didn’t change anything. Just piwik out of the box on my local xampp. I already tried to increas max-execution time with no success. Here is the error message:

Quelloffene Webanalytik

( ! ) Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\piwik-2.3.0\vendor\leafo\lessphp\lessc.inc.php on line 3229
Call Stack

Time Memory Function Location

1 0.0060 143488 {main}( ) …\index.php:0
2 0.0390 682456 require_once( ‘C:\xampp\htdocs\piwik-2.3.0\core\dispatch.php’ ) …\index.php:47
3 0.0810 1233992 Piwik\FrontController->init( ) …\dispatch.php:33
4 0.2249 2400384 Piwik\Plugin\Manager->loadActivatedPlugins( ) …\FrontController.php:277
5 0.2339 2405808 Piwik\Plugin\Manager->loadPlugins( ) …\Manager.php:91
6 0.2339 2408312 Piwik\Plugin\Manager->reloadPlugins( ) …\Manager.php:620
7 0.6237 5050640 Piwik\EventDispatcher->postPendingEventsTo( ) …\Manager.php:797
8 0.6237 5050840 Piwik\EventDispatcher->postEvent( ) …\EventDispatcher.php:161
9 0.6237 5052408 call_user_func_array:{C:\xampp\htdocs\piwik-2.3.0\core\EventDispatcher.php:98} ( ) …\EventDispatcher.php:98
10 0.6237 5052592 Piwik\Plugins\Installation\Installation->dispatch( ) …\EventDispatcher.php:98
11 2.0010 6414592 Piwik\FrontController->dispatch( ) …\Installation.php:87
12 2.0010 6414680 Piwik\FrontController->doDispatch( ) …\FrontController.php:85
13 2.0290 6462184 call_user_func_array:{C:\xampp\htdocs\piwik-2.3.0\core\FrontController.php:500} ( ) …\FrontController.php:500
14 2.0290 6462368 Piwik\Plugins\Installation\Controller->welcome( ) …\FrontController.php:500
15 2.4958 7441456 Piwik\Plugins\Installation\View->render( ) …\Controller.php:99
16 2.4977 7442928 Piwik\View->render( ) …\View.php:49
17 2.5357 7635048 Piwik\View->renderTwigTemplate( ) …\View.php:240
18 2.5357 7636848 Twig_Environment->render( ) …\View.php:245
19 2.5667 7761616 Twig_Template->render( ) …\Environment.php:292
20 2.5667 7778184 Twig_Template->display( ) …\Template.php:263
21 2.5677 7778512 Twig_Template->displayWithErrorHandling( ) …\Template.php:252
22 2.5677 7778608 __TwigTemplate_76c08543b5964f79157e8a243cb87d93648dab6a8f9f695b17efc63f7beec521->doDisplay( ) …\Template.php:278
23 2.5677 7778824 Twig_Template->display( ) …\8543b5964f79157e8a243cb87d93648dab6a8f9f695b17efc63f7beec521.php:24
24 2.5677 7778856 Twig_Template->displayWithErrorHandling( ) …\Template.php:252
25 2.5677 7778952 __TwigTemplate_35b592263d41e0713d68a07d21d306ecc1fa4d6d8ce518705cd42e588b136e20->doDisplay( ) …\Template.php:278
26 2.6707 8306416 call_user_func_array:{C:\xampp\htdocs\piwik-2.3.0\tmp\templates_c\35\b5\92263d41e0713d68a07d21d306ecc1fa4d6d8ce518705cd42e588b136e20.php:59} ( ) …\92263d41e0713d68a07d21d306ecc1fa4d6d8ce518705cd42e588b136e20.php:59
27 2.6707 8306432 Piwik\Twig->Piwik{closure}( ) …\92263d41e0713d68a07d21d306ecc1fa4d6d8ce518705cd42e588b136e20.php:59
28 2.6707 8306680 Piwik\Piwik::postEvent( ) …\Twig.php:147
29 2.6707 8306744 Piwik\EventDispatcher->postEvent( ) …\Piwik.php:766
30 2.6777 8310768 call_user_func_array:{C:\xampp\htdocs\piwik-2.3.0\core\EventDispatcher.php:98} ( ) …\EventDispatcher.php:98
31 2.6777 8310952 Piwik\Plugins\LanguagesManager\LanguagesManager->addLanguagesManagerToOtherTopBar( ) …\EventDispatcher.php:98
32 2.6777 8311144 Piwik\Plugins\LanguagesManager\LanguagesManager->getLanguagesSelector( ) …\LanguagesManager.php:72
33 3.1134 8392048 Piwik\View->render( ) …\LanguagesManager.php:96
34 3.1454 8531496 Piwik\View->renderTwigTemplate( ) …\View.php:240
35 3.3153 8638448 Piwik\View->applyFilter_cacheBuster( ) …\View.php:246
36 3.3193 8638704 Piwik\AssetManager->getMergedStylesheet( ) …\View.php:261
37 3.3473 9289224 Piwik\AssetManager\UIAssetMerger->generateFile( ) …\AssetManager.php:169
38 3.3473 9289336 Piwik\AssetManager\UIAssetMerger\StylesheetUIAssetMerger->getMergedAssets( ) …\UIAssetMerger.php:54
39 4.3908 9480952 lessc->compile( ) …\StylesheetUIAssetMerger.php:34
40 48.5617 17309576 lessc->compileBlock( ) …\lessc.inc.php:1807
41 48.5617 17309680 lessc->compileRoot( ) …\lessc.inc.php:193
42 48.5617 17310904 lessc->compileProps( ) …\lessc.inc.php:278
43 59.9458 19408776 lessc->compileProp( ) …\lessc.inc.php:284
44 59.9458 19409304 lessc->tryImport( ) …\lessc.inc.php:753
45 59.9538 19412728 lessc_parser->parse( ) …\lessc.inc.php:121
46 60.0078 19422688 lessc_parser->parseChunk( ) …\lessc.inc.php:2270
47 60.0078 19422752 lessc_parser->variable( ) …\lessc.inc.php:2373

( ! ) Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\piwik-2.3.0\vendor\leafo\lessphp\lessc.inc.php on line 3401
Call Stack

Time Memory Function Location

1 0.0060 143488 {main}( ) …\index.php:0
2 0.0390 682456 require_once( ‘C:\xampp\htdocs\piwik-2.3.0\core\dispatch.php’ ) …\index.php:47
3 0.0810 1233992 Piwik\FrontController->init( ) …\dispatch.php:33
4 0.2249 2400384 Piwik\Plugin\Manager->loadActivatedPlugins( ) …\FrontController.php:277
5 0.2339 2405808 Piwik\Plugin\Manager->loadPlugins( ) …\Manager.php:91
6 0.2339 2408312 Piwik\Plugin\Manager->reloadPlugins( ) …\Manager.php:620
7 0.6237 5050640 Piwik\EventDispatcher->postPendingEventsTo( ) …\Manager.php:797
8 0.6237 5050840 Piwik\EventDispatcher->postEvent( ) …\EventDispatcher.php:161
9 0.6237 5052408 call_user_func_array:{C:\xampp\htdocs\piwik-2.3.0\core\EventDispatcher.php:98} ( ) …\EventDispatcher.php:98
10 0.6237 5052592 Piwik\Plugins\Installation\Installation->dispatch( ) …\EventDispatcher.php:98
11 2.0010 6414592 Piwik\FrontController->dispatch( ) …\Installation.php:87
12 2.0010 6414680 Piwik\FrontController->doDispatch( ) …\FrontController.php:85
13 2.0290 6462184 call_user_func_array:{C:\xampp\htdocs\piwik-2.3.0\core\FrontController.php:500} ( ) …\FrontController.php:500
14 2.0290 6462368 Piwik\Plugins\Installation\Controller->welcome( ) …\FrontController.php:500
15 2.4958 7441456 Piwik\Plugins\Installation\View->render( ) …\Controller.php:99
16 2.4977 7442928 Piwik\View->render( ) …\View.php:49
17 2.5357 7635048 Piwik\View->renderTwigTemplate( ) …\View.php:240
18 2.5357 7636848 Twig_Environment->render( ) …\View.php:245
19 2.5667 7761616 Twig_Template->render( ) …\Environment.php:292
20 2.5667 7778184 Twig_Template->display( ) …\Template.php:263
21 2.5677 7778512 Twig_Template->displayWithErrorHandling( ) …\Template.php:252
22 2.5677 7778608 __TwigTemplate_76c08543b5964f79157e8a243cb87d93648dab6a8f9f695b17efc63f7beec521->doDisplay( ) …\Template.php:278
23 2.5677 7778824 Twig_Template->display( ) …\8543b5964f79157e8a243cb87d93648dab6a8f9f695b17efc63f7beec521.php:24
24 2.5677 7778856 Twig_Template->displayWithErrorHandling( ) …\Template.php:252
25 2.5677 7778952 __TwigTemplate_35b592263d41e0713d68a07d21d306ecc1fa4d6d8ce518705cd42e588b136e20->doDisplay( ) …\Template.php:278
26 2.6707 8306416 call_user_func_array:{C:\xampp\htdocs\piwik-2.3.0\tmp\templates_c\35\b5\92263d41e0713d68a07d21d306ecc1fa4d6d8ce518705cd42e588b136e20.php:59} ( ) …\92263d41e0713d68a07d21d306ecc1fa4d6d8ce518705cd42e588b136e20.php:59
27 2.6707 8306432 Piwik\Twig->Piwik{closure}( ) …\92263d41e0713d68a07d21d306ecc1fa4d6d8ce518705cd42e588b136e20.php:59
28 2.6707 8306680 Piwik\Piwik::postEvent( ) …\Twig.php:147
29 2.6707 8306744 Piwik\EventDispatcher->postEvent( ) …\Piwik.php:766
30 2.6777 8310768 call_user_func_array:{C:\xampp\htdocs\piwik-2.3.0\core\EventDispatcher.php:98} ( ) …\EventDispatcher.php:98
31 2.6777 8310952 Piwik\Plugins\LanguagesManager\LanguagesManager->addLanguagesManagerToOtherTopBar( ) …\EventDispatcher.php:98
32 2.6777 8311144 Piwik\Plugins\LanguagesManager\LanguagesManager->getLanguagesSelector( ) …\LanguagesManager.php:72
33 3.1134 8392048 Piwik\View->render( ) …\LanguagesManager.php:96
34 3.1454 8531496 Piwik\View->renderTwigTemplate( ) …\View.php:240
35 3.3153 8638448 Piwik\View->applyFilter_cacheBuster( ) …\View.php:246
36 3.3193 8638704 Piwik\AssetManager->getMergedStylesheet( ) …\View.php:261
37 3.3473 9289224 Piwik\AssetManager\UIAssetMerger->generateFile( ) …\AssetManager.php:169
38 3.3473 9289336 Piwik\AssetManager\UIAssetMerger\StylesheetUIAssetMerger->getMergedAssets( ) …\UIAssetMerger.php:54
39 4.3908 9480952 lessc->compile( ) …\StylesheetUIAssetMerger.php:34
40 48.5617 17309576 lessc->compileBlock( ) …\lessc.inc.php:1807
41 48.5617 17309680 lessc->compileRoot( ) …\lessc.inc.php:193
42 48.5617 17310904 lessc->compileProps( ) …\lessc.inc.php:278
43 59.9458 19408776 lessc->compileProp( ) …\lessc.inc.php:284
44 59.9458 19409304 lessc->tryImport( ) …\lessc.inc.php:753
45 59.9538 19412728 lessc_parser->parse( ) …\lessc.inc.php:121
46 60.0078 19422688 lessc_parser->parseChunk( ) …\lessc.inc.php:2270
47 60.0078 19422752 lessc_parser->variable( ) …\lessc.inc.php:2373
48 60.1048 19435288 Piwik\FrontController::triggerSafeModeWhenError( ) …\FrontController.php:0
49 60.1048 19436216 Piwik\FrontController->dispatch( ) …\FrontController.php:203
50 60.1048 19436216 Piwik\FrontController->doDispatch( ) …\FrontController.php:85
51 60.1308 19553168 call_user_func_array:{C:\xampp\htdocs\piwik-2.3.0\core\FrontController.php:500} ( ) …\FrontController.php:500
52 60.1308 19553352 Piwik\Plugins\CorePluginsAdmin\Controller->safemode( ) …\FrontController.php:500
53 60.7426 20221224 Piwik\View->render( ) …\Controller.php:386
54 60.7836 20331896 Piwik\View->renderTwigTemplate( ) …\View.php:240
55 60.8106 20409360 Piwik\View->applyFilter_cacheBuster( ) …\View.php:246
56 60.8146 20409544 Piwik\AssetManager->getMergedStylesheet( ) …\View.php:261
57 60.8196 20416824 Piwik\AssetManager\UIAssetMerger->generateFile( ) …\AssetManager.php:169
58 60.8196 20416824 Piwik\AssetManager\UIAssetMerger\StylesheetUIAssetMerger->getMergedAssets( ) …\UIAssetMerger.php:54
59 61.8413 20592368 lessc->compile( ) …\StylesheetUIAssetMerger.php:34
60 107.1677 28487248 lessc->compileBlock( ) …\lessc.inc.php:1807
61 107.1677 28487248 lessc->compileRoot( ) …\lessc.inc.php:193
62 107.1677 28488288 lessc->compileProps( ) …\lessc.inc.php:278
63 119.5110 30584776 lessc->compileProp( ) …\lessc.inc.php:284
64 119.5110 30585304 lessc->tryImport( ) …\lessc.inc.php:753
65 119.5210 30588728 lessc_parser->parse( ) …\lessc.inc.php:121
66 120.0038 30647680 lessc_parser->parseChunk( ) …\lessc.inc.php:2270
67 120.0048 30647792 lessc_parser->literal( ) …\lessc.inc.php:2334
68 120.0048 30647824 lessc_parser->match( ) …\lessc.inc.php:3353


(Matthieu Aubry) #2

Please see: Piwik reports this error and doesn't continue: "Fatal error: Maximum execution time of 30 seconds exceeded in ..." - Analytics Platform - Matomo


#3

thanks. I was able to upgrade to 2.3.0. But now I have another question. In 2.1.0 there was a file _siteSelect.twig in plugins/CoreHome/templates. In 2.3.0 this file is gone. Did you rename it? Or can I find a .twig for the Site Selector somewhere else?
Greetings
Davud


(Matthieu Aubry) #4

We’ve rewritten this to use AngularJS :slight_smile: See the work done in Introduce AngularJS to Piwik Platform: rewrite All Websites selector to use AngularJS · Issue #4692 · matomo-org/matomo · GitHub