Title: wp_piwik Version 0.9.9.9: Error in wp_pwik.php
Last modified: August 21, 2016

---

# wp_piwik Version 0.9.9.9: Error in wp_pwik.php

 *  [aditl](https://wordpress.org/support/users/aditl/)
 * (@aditl)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/wp_piwik-version-0999-error-in-wp_pwikphp/)
 * Hi,
 * I installed the piwik plugin 0.9.9.9. The result was an error:
 * Parse error: syntax error, unexpected T_STRING in /www/…/wp-content/plugins/wp-
   piwik/wp-piwik.php on line 751
 * I compared the code with verion 0.9.9.2 and found this differences:
 * Version 0.9.9.9
 *     ```
       if (class_exists('Piwik\FrontController'))
       			Piwik\FrontController::getInstance()->init();
       		else serialize(array('result' => 'error', 'message' => __('Class Piwik\FrontController does not exists.','wp-piwik')));
       		if (class_exists('Piwik\API\Request'))
       			$objRequest = new Piwik\API\Request($strParams);
       		else serialize(array('result' => 'error', 'message' => __('Class Piwik\API\Request does not exists.','wp-piwik')));
       ```
   
 * Version 0.9.9.2
 *     ```
       if (class_exists('Piwik_FrontController'))
       			Piwik_FrontController::getInstance()->init();
       		// Add Piwik URL to params
       		$strParams .= '&piwikUrl='.urlencode(self::$settings->getGlobalOption('piwik_url'));
       		// This inits the API Request with the specified parameters
       		if (class_exists('Piwik_API_Request'))
       			$objRequest = new Piwik_API_Request($strParams);
       ```
   
 * I changed the backslashes with the underscores.
 * My wordpress blog runs again.
 * I hope, my corrections are ok? There are another mistakes in the piwik plugin?
 * Regards
 * Aditl

The topic ‘wp_piwik Version 0.9.9.9: Error in wp_pwik.php’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [aditl](https://wordpress.org/support/users/aditl/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/wp_piwik-version-0999-error-in-wp_pwikphp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
