WordPress.org

Forums

Digg Digg version 3.0 installation error... (5 posts)

  1. Cr00zng
    Member
    Posted 5 years ago #

    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/

  2. wirthdesign
    Member
    Posted 5 years ago #

    I have the same problem, looking for a solution my self

  3. mpesgt01
    Member
    Posted 5 years ago #

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

  4. mpesgt01
    Member
    Posted 5 years ago #

    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';

  5. mkyong
    Member
    Posted 5 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic