WordPress.org

Support

Support » Plugins and Hacks » Digg Digg version 3.0 installation error…

Digg Digg version 3.0 installation error…

  • I’ve added Digg Digg version 3.0 to my blog and had no issues initially. When I tried activating the plugin, it failed with this error:

    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected T_CLASS in /actual site and directory name is removed/wp-content/plugins/digg-digg/dd.class.php on line 2

    The referenced dd-class.php file’s first four lines of code:
    `<?php
    abstract class BaseDD {

    //define constant value

    I am not sure if it it’s just a syntax error, or my ISP doesn’t support the class referenced in the code. Anyone has some suggestion?
    TIA…

    Cr00zng

    http://wordpress.org/extend/plugins/digg-digg/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I have the same problem, looking for a solution my self

    same problem here, on line #5
    abstract class BaseDD {

    first 12 lines are
    <?php

    require_once ‘dd.constant.php’;

    abstract class BaseDD {

    //define constant value
    const BUTTON_DESIGN_NORMAL = ‘Normal’;
    const BUTTON_DESIGN_COMPACT = ‘Compact’;
    const VOTE_URL = ‘VOTE_URL’;
    const VOTE_TITLE = ‘VOTE_TITLE’;
    const VOTE_BUTTON_DESIGN = ‘VOTE_BUTTON_DESIGN’;

    Digg Digg version 3.0 is required PHP version 5 to support abstract class function, please consider upgrade your PHP version, or consult it with your hosting provider. Sorry for the inconvenient

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Digg Digg version 3.0 installation error…’ is closed to new replies.