Title: Error on new server
Last modified: August 24, 2016

---

# Error on new server

 *  Resolved [wood1e](https://wordpress.org/support/users/wood1e/)
 * (@wood1e)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-on-new-server/)
 * 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://wordpress.org/plugins/wordpress-dashboard-twitter/](https://wordpress.org/plugins/wordpress-dashboard-twitter/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [wpseek](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-on-new-server/#post-6172821)
 * What version of PHP are you running?
 *  [repairmant](https://wordpress.org/support/users/repairmant/)
 * (@repairmant)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-on-new-server/#post-6172910)
 * 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](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-on-new-server/#post-6172911)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-dashboard-twitter_ffffff.
   svg)
 * [WordPress Dashboard Tweeter](https://wordpress.org/plugins/wordpress-dashboard-twitter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-dashboard-twitter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-dashboard-twitter/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-dashboard-twitter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-dashboard-twitter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-dashboard-twitter/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [wpseek](https://wordpress.org/support/users/alphawolf/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/error-on-new-server/#post-6172911)
 * Status: resolved