Title: T-STATIC error
Last modified: August 21, 2016

---

# T-STATIC error

 *  Resolved [minkster](https://wordpress.org/support/users/minkster/)
 * (@minkster)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/)
 * Just updated to latest version of your plugin and now the site is down (www.saucegoddess.
   com). Getting error message:
 * `Parse error: syntax error, unexpected T_STATIC, expecting ')' in /home/content/
   s/a/u/saucegoddess/html/wp-content/plugins/testimonials-widget/lib/aihrus/class-
   aihrus-common.php on line 44`
 * Went to file and looked for open “)” but didn’t see one. Not a developer, so 
   not sure what else to do. Suggestions, because don’t have a back-up to last version?
   I can delete the testimonials file which would completely remove plug-in from
   the site but would prefer to fix. This is urgent going into big sales Thanksgiving
   weekend. Thanks!
 * [http://wordpress.org/plugins/testimonials-widget/](http://wordpress.org/plugins/testimonials-widget/)

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/topic/t-static-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/t-static-error/page/2/?output_format=md)

 *  [coutta](https://wordpress.org/support/users/coutta/)
 * (@coutta)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360543)
 * Hi there,
 * same problem on my site.
 *  [Zahoor Ahmad](https://wordpress.org/support/users/zchand/)
 * (@zchand)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360564)
 * Hi,
 * Same problem here, please update ASAP.
 * Thanks
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360565)
 * Argh… I just pulled Testimonials 2.16.0 down from repository and it’s working
   fine for me.
 * You can pull old Testimonials versions from [http://wordpress.org/plugins/testimonials-widget/developers/](http://wordpress.org/plugins/testimonials-widget/developers/),
   like [http://downloads.wordpress.org/plugin/testimonials-widget.2.15.1.zip](http://downloads.wordpress.org/plugin/testimonials-widget.2.15.1.zip).
 * You can delete the plugin via FTP, get back into WordPress, and then upload one
   of the older Testimonials versions.
 * If possible, could you please send me a zip of the Testimonials files from the
   server to me?
 * I’d like to know why we have the trouble when none of my 30+ beta testers and
   test systems reported such.
 * Also, can you point me to a `phpinfo()` of your webhost?
 *  [Zahoor Ahmad](https://wordpress.org/support/users/zchand/)
 * (@zchand)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360567)
 * /home/content/s/a/u/saucegoddess/html/wp-content/plugins/testimonials-widget/
   lib/aihrus/class-aihrus-common.php on line 44
 *     ```
       self::$donate_button = <<<EOD
       <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
       <input type="hidden" name="cmd" value="_s-xclick">
       <input type="hidden" name="hosted_button_id" value="WM4F995W9LHXE">
       <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
       <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
       </form>
       EOD;
   
       		self::$donate_link = '<a href="http://aihr.us/about-aihrus/donate/"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" alt="PayPal - The safer, easier way to pay online!" /></a>';
   
       		add_action( 'admin_init', array( static::$class, 'check_notices' ), 9999 );
       	}
       ```
   
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360569)
 * [@zchand](https://wordpress.org/support/users/zchand/), On PHP 5.3, the code 
   is fine.
 * What PHP version are you running?
 *  [Zahoor Ahmad](https://wordpress.org/support/users/zchand/)
 * (@zchand)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360570)
 * **PHP version – 5.2.17**
 * mostly online servers(godaddy,hostgator) are not updated there PHP version to
   v5.3, that’s why every one getting this issue.
 * anyway now I installed old version and that working fine,
 * Thanks
 *  Thread Starter [minkster](https://wordpress.org/support/users/minkster/)
 * (@minkster)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360572)
 * Thanks for the link to the earlier version (site back up and working fine) and
   sorry you had to deal with this on Turkey Eve. I tried going to your contact 
   page to upload the zip file but got an error message. Also, couldn’t find the
   php file you were asking for (sorry not so technical even with Google search),
   but website is [http://www.saucegoddess.com](http://www.saucegoddess.com) and
   is hosted on Go Daddy. Let me know if I can do anything else.
 * Michelle
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360574)
 * Thank you for the note about PHP 5.2 incompatibility. I was getting to that conclusion.
   I guess my beta users were ahead.
 * My tests run on 5.3, 5.4, and 5.5. I hadn’t worked with 5.2 for so long, I didn’t
   consider it.
 * I’ll do another Testimonials release marking PHP 5.3 as a requirement.
 *  [Zahoor Ahmad](https://wordpress.org/support/users/zchand/)
 * (@zchand)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360577)
 * [@comprock](https://wordpress.org/support/users/comprock/) one confusion about
   the code, when I opened **“class-aihrus-common.php”** in code editor this giving
   error on couple of lines (44,91,101,104…), **if this PHP version issue then why
   code hitting error in code editor?**
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360580)
 * Read end of [https://aihrus.zendesk.com/entries/30678006-Testimonials-2-16-0-Requires-PHP-5-3-](https://aihrus.zendesk.com/entries/30678006-Testimonials-2-16-0-Requires-PHP-5-3-).
 * `static::$class` is a PHP 5.3 thing from Late Static Bindings. As such, your 
   code editor is probably running in PHP 5.2 mode as well.
 *  [Zahoor Ahmad](https://wordpress.org/support/users/zchand/)
 * (@zchand)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360581)
 * [@comprock](https://wordpress.org/support/users/comprock/) got it thanks
 *  [pdgeorgiev](https://wordpress.org/support/users/pdgeorgiev/)
 * (@pdgeorgiev)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360608)
 * Hi same issue on GoDaddy hosted blog.
    Could someone provide the step by step
   approach of fixing that problem? Thanks
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360620)
 * Please read **DIY** of [https://aihrus.zendesk.com/entries/30678006-Testimonials-2-16-0-Requires-PHP-5-3-/](https://aihrus.zendesk.com/entries/30678006-Testimonials-2-16-0-Requires-PHP-5-3-/).
 *  [pdgeorgiev](https://wordpress.org/support/users/pdgeorgiev/)
 * (@pdgeorgiev)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360627)
 * [@michael](https://wordpress.org/support/users/michael/) Cannon
    Following the
   DIY I was able to upgrade the PHP on my web server to version 5.3. Problem solved.
   Thanks
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/t-static-error/#post-4360642)
 * Awesome news on the self fixing folks. I’m really sorry about the headaches. 
   Twas a much unneeded thing for all of us.

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/topic/t-static-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/t-static-error/page/2/?output_format=md)

The topic ‘T-STATIC error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/testimonials-widget_c56561.svg)
 * [Testimonials Widget](https://wordpress.org/plugins/testimonials-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/testimonials-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/testimonials-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/testimonials-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/testimonials-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/testimonials-widget/reviews/)

 * 30 replies
 * 11 participants
 * Last reply from: [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/t-static-error/page/2/#post-4360779)
 * Status: resolved