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

Upgrade to 4 fatal error upgrade script fails #17051

Closed
oz-olson opened this issue Jan 5, 2021 · 3 comments
Closed

Upgrade to 4 fatal error upgrade script fails #17051

oz-olson opened this issue Jan 5, 2021 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@oz-olson
Copy link

oz-olson commented Jan 5, 2021

Fatal error: Access level to Piwik\Plugins\VisitTime\Columns\ServerTime::configureSegments() must be public (as in class Piwik\Columns\Dimension) in C:\inetpub\wwwroot\piwik\plugins\VisitTime\Columns\ServerTime.php on line 33

The upgrade script fails with this error.

Thanks

@Findus23
Copy link
Member

Findus23 commented Jan 6, 2021

Hi,

I am not aware of a plugins\VisitTime\Columns\ServerTime.php file.

https://github.com/matomo-org/matomo/tree/4.x-dev/plugins/VisitTime/Columns

Maybe this is something like #16927

Could you try (after making a backup) deleting this file? If it is important the integrity checker should complain afterwards and you could restore it from the latest matomo.zip download.

@oz-olson oz-olson closed this as completed Jan 6, 2021
@oz-olson
Copy link
Author

oz-olson commented Jan 6, 2021

We removed ServerTime.php and the upgrade was successful.

Thanks

@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Jan 7, 2021
@sgiehl
Copy link
Member

sgiehl commented Jan 7, 2021

@oz-olson Just out of curiosity. Which version did you upgrade from? The ServerTime.php has been removed with Matomo 3.2 already...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

4 participants