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

plugin not work #72

Closed
jmmarioton opened this issue Nov 10, 2019 · 6 comments
Closed

plugin not work #72

jmmarioton opened this issue Nov 10, 2019 · 6 comments
Labels
Bug Something isn't working

Comments

@jmmarioton
Copy link

jmmarioton commented Nov 10, 2019

Hello

First, sorry if my english isn't correct.

I try to install the beta version of your wordpress plugin. when i activate the plugin, administration panel of WP isn't operationnal
(only solution - ssh access, remove directory matomo, - and now WP admin is OK)

some errors in php (see file add to the issue)

bests regards

Jean-Marie

(edit by @Findus23: Inlined text file)

[10-Nov-2019 16:43:36 UTC] PHP Fatal error:  Uncaught Piwik\Exception\NotYetInstalledException: Matomo is not set up yet in htdocs/wp-content/plugins/matomo/app/core/Application/Kernel/EnvironmentValidator.php:85
Stack trace:
#0 htdocs/wp-content/plugins/matomo/app/core/Application/Kernel/EnvironmentValidator.php(65): Piwik\Application\Kernel\EnvironmentValidator->checkConfigFileExists('/srv/data/web/v...', true)
#1 htdocs/wp-content/plugins/matomo/app/core/Application/Environment.php(185): Piwik\Application\Kernel\EnvironmentValidator->validate()
#2 htdocs/wp-content/plugins/matomo/app/core/Application/Environment.php(94): Piwik\Application\Environment->validateEnvironment()
#3 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Bootstrap.php(72): Piwik\Application\Environment->init()
#4 /srv/data/web/vhosts/agirpourma in htdocs/wp-content/plugins/matomo/app/core/Application/Kernel/EnvironmentValidator.php on line 85
[10-Nov-2019 16:43:37 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in htdocs/wp-content/plugins/matomo/app/core/Access.php on line 717
[10-Nov-2019 16:43:37 UTC] PHP Fatal error:  Uncaught Exception: SitesManager_ExceptionEmptyName in htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php:1595
Stack trace:
#0 htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php(620): Piwik\Plugins\SitesManager\API->checkName('')
#1 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(132): Piwik\Plugins\SitesManager\API->addSite('', Array, 1, NULL, NULL, NULL, NULL, NULL, 'Europe/London')
#2 htdocs/wp-content/plugins/matomo/app/core/Access.php(639): WpMatomo\Site\Sync->WpMatomo\Site\{closure}()
#3 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(142): Piwik\Access::doAsSuperUser(Object(Closure))
#4 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(84): WpMa in htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php on line 1595
[10-Nov-2019 16:44:44 UTC] Erreur de la base de données WordPress Duplicate column name 'custom_var_k1' pour la requête ALTER TABLE pza_matomo_log_link_visit_action ADD COLUMN custom_var_k1 VARCHAR(200) DEFAULT NULL,ADD COLUMN custom_var_v1 VARCHAR(200) DEFAULT NULL; faite par do_action_ref_array('matomo_scheduled_sync'), WP_Hook->do_action, WP_Hook->apply_filters, WpMatomo\ScheduledTasks->sync, WpMatomo\Site\Sync->sync_all, WpMatomo\Bootstrap::do_bootstrap, WpMatomo\Bootstrap->bootstrap, Piwik\FrontController->init, Piwik\Plugin\Manager->installLoadedPlugins, Piwik\Plugin\Manager->installPluginIfNecessary, Piwik\Plugin\Manager->executePluginInstall, Piwik\Plugins\CustomVariables\CustomVariables->install, Piwik\Plugins\CustomVariables\Model::install, Piwik\Plugins\CustomVariables\Model->addCustomVariable, Piwik\Db::exec, Piwik\Db\Adapter\Wordpress->exec
[10-Nov-2019 16:44:44 UTC] Erreur de la base de données WordPress Duplicate column name 'custom_var_k4' pour la requête ALTER TABLE pza_matomo_log_visit ADD COLUMN custom_var_k4 VARCHAR(200) DEFAULT NULL,ADD COLUMN custom_var_v4 VARCHAR(200) DEFAULT NULL; faite par require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WpMatomo->init_plugin, WpMatomo\Updater->update_if_needed, WpMatomo\Installer::is_intalled, WpMatomo\Bootstrap::do_bootstrap, WpMatomo\Bootstrap->bootstrap, Piwik\FrontController->init, Piwik\Plugin\Manager->installLoadedPlugins, Piwik\Plugin\Manager->installPluginIfNecessary, Piwik\Plugin\Manager->executePluginInstall, Piwik\Plugins\CustomVariables\CustomVariables->install, Piwik\Plugins\CustomVariables\Model::install, Piwik\Plugins\CustomVariables\Model->addCustomVariable, Piwik\Db::exec, Piwik\Db\Adapter\Wordpress->exec
[10-Nov-2019 16:44:44 UTC] Erreur de la base de données WordPress Duplicate column name 'custom_var_k1' pour la requête ALTER TABLE pza_matomo_log_conversion ADD COLUMN custom_var_k1 VARCHAR(200) DEFAULT NULL,ADD COLUMN custom_var_v1 VARCHAR(200) DEFAULT NULL; faite par do_action_ref_array('matomo_scheduled_sync'), WP_Hook->do_action, WP_Hook->apply_filters, WpMatomo\ScheduledTasks->sync, WpMatomo\Site\Sync->sync_all, WpMatomo\Bootstrap::do_bootstrap, WpMatomo\Bootstrap->bootstrap, Piwik\FrontController->init, Piwik\Plugin\Manager->installLoadedPlugins, Piwik\Plugin\Manager->installPluginIfNecessary, Piwik\Plugin\Manager->executePluginInstall, Piwik\Plugins\CustomVariables\CustomVariables->install, Piwik\Plugins\CustomVariables\Model::install, Piwik\Plugins\CustomVariables\Model->addCustomVariable, Piwik\Db::exec, Piwik\Db\Adapter\Wordpress->exec
[10-Nov-2019 16:44:45 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in htdocs/wp-content/plugins/matomo/app/core/Access.php on line 717
[10-Nov-2019 16:44:45 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in htdocs/wp-content/plugins/matomo/app/core/Access.php on line 717
[10-Nov-2019 16:44:45 UTC] PHP Fatal error:  Uncaught Exception: Le nom du site ne peut être vide. in htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php:1595
Stack trace:
#0 htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php(620): Piwik\Plugins\SitesManager\API->checkName('')
#1 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(132): Piwik\Plugins\SitesManager\API->addSite('', Array, 1, NULL, NULL, NULL, NULL, NULL, 'Europe/London')
#2 htdocs/wp-content/plugins/matomo/app/core/Access.php(639): WpMatomo\Site\Sync->WpMatomo\Site\{closure}()
#3 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(142): Piwik\Access::doAsSuperUser(Object(Closure))
#4 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(84): W in htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php on line 1595
[10-Nov-2019 16:44:45 UTC] PHP Fatal error:  Uncaught Exception: The website name can't be empty. in htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php:1595
Stack trace:
#0 htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php(620): Piwik\Plugins\SitesManager\API->checkName('')
#1 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(132): Piwik\Plugins\SitesManager\API->addSite('', Array, 1, NULL, NULL, NULL, NULL, NULL, 'Europe/London')
#2 htdocs/wp-content/plugins/matomo/app/core/Access.php(639): WpMatomo\Site\Sync->WpMatomo\Site\{closure}()
#3 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(142): Piwik\Access::doAsSuperUser(Object(Closure))
#4 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(84): WpM in htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php on line 1595
[10-Nov-2019 16:45:05 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in htdocs/wp-content/plugins/matomo/app/core/Access.php on line 717
[10-Nov-2019 16:45:05 UTC] PHP Fatal error:  Uncaught Exception: Le nom du site ne peut être vide. in htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php:1595
Stack trace:
#0 htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php(620): Piwik\Plugins\SitesManager\API->checkName('')
#1 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(132): Piwik\Plugins\SitesManager\API->addSite('', Array, 1, NULL, NULL, NULL, NULL, NULL, 'Europe/London')
#2 htdocs/wp-content/plugins/matomo/app/core/Access.php(639): WpMatomo\Site\Sync->WpMatomo\Site\{closure}()
#3 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(142): Piwik\Access::doAsSuperUser(Object(Closure))
#4 htdocs/wp-content/plugins/matomo/classes/WpMatomo/Site/Sync.php(84): W in htdocs/wp-content/plugins/matomo/app/plugins/SitesManager/API.php on line 1595
tsteur added a commit to matomo-org/matomo that referenced this issue Nov 10, 2019
… as strings in the future." in Access class

refs matomo-org/matomo-for-wordpress#72

[10-Nov-2019 16:43:37 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in htdocs/wp-content/plugins/matomo/app/core/Access.php on line 717
@tsteur
Copy link
Member

tsteur commented Nov 10, 2019

I'll release another update today that might fix the issue. Would you mind giving it another try tomorrow with the latest version?

BTW which PHP version are you using?

@tsteur tsteur mentioned this issue Nov 10, 2019
@tsteur
Copy link
Member

tsteur commented Nov 10, 2019

Released an update: https://builds.matomo.org/wordpress-matomo-0.2.1.zip

@tsteur tsteur added the Bug Something isn't working label Nov 10, 2019
diosmosis pushed a commit to matomo-org/matomo that referenced this issue Nov 11, 2019
… as strings in the future." in Access class (#15142)

refs matomo-org/matomo-for-wordpress#72

[10-Nov-2019 16:43:37 UTC] PHP Deprecated:  strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in htdocs/wp-content/plugins/matomo/app/core/Access.php on line 717
@tsteur
Copy link
Member

tsteur commented Nov 12, 2019

@jmmarioton have you had a chance to give it another try?

@tsteur
Copy link
Member

tsteur commented Nov 22, 2019

@jmmarioton if you could just let us know if it works now or not, or maybe give it another try or just let us know that you're not interested anymore that would be great.

@jmmarioton
Copy link
Author

jmmarioton commented Nov 22, 2019 via email

@tsteur
Copy link
Member

tsteur commented Nov 22, 2019

Thanks

@tsteur tsteur closed this as completed Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants