Fatal error when activating Sharedaddy
-
I am trying to activate Sharedaddy 0.2.11. It downloaded and installed correctly.
When I try to activate it, I get:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in [website]/wp-content/plugins/sharedaddy/sharing.php on line 4
The opening lines of the file are:
<?php
class Sharing_Admin {
public function __construct() {
if ( !defined( ‘WP_SHARING_PLUGIN_URL’ ) ) {
define( ‘WP_SHARING_PLUGIN_URL’, plugin_dir_url( __FILE__ ) );
define( ‘WP_SHARING_PLUGIN_DIR’, plugin_dir_path( __FILE__ ) );
}Can you tell me where the error is?
-
Oh, I also deleted the plugin and reinstalled it, but that did not affect the fatal error.
-
Hi. You have a self-hosted WordPress.ORG blog and are in the wrong forum. Please ask your question on http://wordpress.org/support
You are currently in a WordPress.COM forum and our answers will not apply to your situation. Thanks and I hope you find a solution to your problem soon.
- The topic ‘Fatal error when activating Sharedaddy’ is closed to new replies.