-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Activate ExtraTools failing on latest version of matomo 3.13.4 with Error: Class 'Piwik\Plugin\Manager' not found #15738
Comments
@r621549 it sounds like some file was not copied correctly for some reason. Could you perform the manual update described in https://matomo.org/docs/update/#the-manual-three-step-update and see if that fixes it? |
@tsteur Thanks you so much for reponding , but still same issue : bash-5.0# wget https://builds.matomo.org/matomo.zip matomo.zip 100%[=========================================================================>] 18.48M 3.63MB/s in 7.8s 2020-03-27 20:07:38 (2.36 MB/s) - 'matomo.zip' saved [19375918/19375918] bash-5.0# unzip -o matomo.zip bash-5.0# ls
Fatal error: Uncaught Error: Class 'Piwik\Plugin\Manager' not found in /var/www/html/install/install_matomo/matomo/core/bootstrap.php:46 |
@tsteur I did diff on older version (3.11.0) and newer version (3.13.4) matomo installation package and found missing files Only in analytics: bower.json |
@r621549 what exactly is extra tools? When you do this
I wonder if this overwrites our own composer auto loader and therefore cannot find our files |
ExtraTools : plugins to install matomo from command line : https://plugins.matomo.org/ExtraTools |
Also I created ticket with ExtraTools. they are also saying matomo is missing some files : Digitalist-Open-Cloud/Matomo-Plugin-ExtraTools#18 |
@r621549 check out this comment again re the composer: #15738 (comment) Maybe try all the steps again,eg install Matomo files and then check and what step the file in |
I am seeing the core/Plugin/Manager.php bash-5.0# ./console plugin:activate ExtraTools Fatal error: Uncaught Error: Class 'Piwik\Plugin\Manager' not found in /var/www/html/install/matomo_try_1/matomo/core/bootstrap.php:46 |
Any opinion on fixing the autoloader issue? |
You would need to use Matomo from git. However, this is only recommended for development and not production: https://matomo.org/faq/how-to-install/faq_18271/ Alternatively, don't run the composer command if possible as this would be removing our autoloader by the looks maybe. |
I have to install these two dependencies so i am running composer If i am not installing these two dependencies then i am unable to install matomo |
@r621549 then the only way be to install it through github. Or before running that command you copy these two files into your Matomo directory. That might fix it as well: https://github.com/matomo-org/matomo/blob/3.x-dev/composer.json I'll close the issue now as it seems rather an issue with ExtraTools and how they require dependcies. |
Thank you so much , it got resolved, the issue was composer.json was missing in latest version. |
when trying to execute the command
./console plugin:activate ExtraTools
Error :
: Uncaught Error: Class 'Piwik\Plugin\Manager' not found in /var/www/html/analytics/core/bootstrap.php:46
Stack trace:
#0 /var/www/html/analytics/index.php(21): require_once()
#1 {main}
The text was updated successfully, but these errors were encountered: