• Resolved wood1e

    (@wood1e)


    Hi,

    I have just copied my website and installed on a new server for testing purposes, and there appears to be an error

    Parse error: syntax error, unexpected ‘class’ (T_CLASS) in /home/xxxxx/public_html/wild/wp-content/plugins/wordpress-dashboard-twitter/inc/wpdt-helper.class.php on line 1

    So I have deactivated your plugin and WP Admin is working fine now.

    Do you know what could be causing this issue?

    Many thanks

    https://www.ads-software.com/plugins/wordpress-dashboard-twitter/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpseek

    (@alphawolf)

    What version of PHP are you running?

    Easiest fix add a new line before:
    return $str; }

    The issue is caused due to code minification when using a single line comment in php in file: wpdt-helper.class.php

    Author needs to make sure not to use single line comments if he is minifying the code.

    Plugin Author wpseek

    (@alphawolf)

    Thanks repairmant, fixed with version 1.1.13!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on new server’ is closed to new replies.