• Resolved minkster

    (@minkster)


    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/

Viewing 15 replies - 1 through 15 (of 30 total)
  • Hi there,

    same problem on my site.

    Hi,

    Same problem here, please update ASAP.

    Thanks

    Plugin Contributor Michael Cannon

    (@comprock)

    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/, like 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?

    /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

    (@comprock)

    @zchand, On PHP 5.3, the code is fine.

    What PHP version are you running?

    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

    (@minkster)

    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 and is hosted on Go Daddy. Let me know if I can do anything else.

    Michelle

    Plugin Contributor Michael Cannon

    (@comprock)

    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.

    @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

    (@comprock)

    Read end of 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.

    @comprock got it thanks

    Hi same issue on GoDaddy hosted blog.
    Could someone provide the step by step approach of fixing that problem?
    Thanks

    Plugin Contributor Michael Cannon

    (@comprock)

    @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

    (@comprock)

    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)
  • The topic ‘T-STATIC error’ is closed to new replies.