Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Class 'Piwik\SettingsServer' not found in /var/www/egor/data/www/matomo.re-trafic.ru/core/testMinimumPhpVersion.php on line 87 #15771

Closed
Retrafic opened this issue Apr 2, 2020 · 8 comments · Fixed by #15813
Assignees
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@Retrafic
Copy link

Retrafic commented Apr 2, 2020

Приветствую!
выполнил пошаговую установку и получаю вот такую ошибку. Версия установлена самая новая, которая представлена на сайте. Подскажите, как решить такую проблему?

@tsteur tsteur added the Regression Indicates a feature used to work in a certain way but it no longer does even though it should. label Apr 2, 2020
@tsteur tsteur added this to the 4.0.0 milestone Apr 2, 2020
@tsteur
Copy link
Member

tsteur commented Apr 2, 2020

Do you know what PHP version you have? Likely your PHP version is too low.

It seems we're using a file settings server before the autoloader is loaded.

@Retrafic
Copy link
Author

Retrafic commented Apr 2, 2020

PHP 5.6.40 (cli) (built: Mar 17 2020 07:51:44)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
mysql Ver 14.14 Distrib 5.5.62, for Linux (x86_64) using readline 5.1
pdo_mysql
pdo_sqlite

@Retrafic
Copy link
Author

Retrafic commented Apr 2, 2020

я несколько раз скачивал из github, официального сайта, и устанавливал matomo. Проблема не решилась

@tsteur
Copy link
Member

tsteur commented Apr 2, 2020

I suppose you downloaded the 4.x-dev branch from Github which requires PHP 7.2+. Maybe you could try the 3.x-dev branch?
We are currently working on the 4.0 release but 3.X is the latest available

@Retrafic
Copy link
Author

Retrafic commented Apr 3, 2020

скачивал ещё с официального сайта matomo, а там минимальные требования PHP версия 5.5.9 или выше, а у меня выше

@tsteur
Copy link
Member

tsteur commented Apr 5, 2020

@Retrafic could you edit the file core/testMinimumPhpVersion.php and change around line 87 the code to this and then see what happens?

image

Basically you remove a few lines and replace them with return true;

@Retrafic
Copy link
Author

Retrafic commented Apr 8, 2020

Спасибо большое! получилось установить. проблема была с версией php. Поднял до PHP 7.3 и всё заработало

@Retrafic Retrafic closed this as completed Apr 8, 2020
@tsteur
Copy link
Member

tsteur commented Apr 8, 2020

Thanks a lot for letting us know @Retrafic I'll reopen the issue anyway as it looks like there is some issue which many people might run into with Matomo 4.

@tsteur tsteur reopened this Apr 8, 2020
@tsteur tsteur self-assigned this Apr 15, 2020
@mattab mattab added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants