Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Gerkin

    (@gerkin)

    Sorry for the downtime this bug done.
    I was afraid by this update and all the bugs it will probably create, but it is necessary for future improvements. Thanks you for your patience.

    Plugin Author Gerkin

    (@gerkin)

    As a temporary fix, if you have access to a text editor on your server, just comment this line with //. This is a PHP compatibility bug, due to different versions between my dev env and your server env.
    An update will be released in the next 24h with your fix and other performance improvements

    Thread Starter phillyrealestate

    (@phillyrealestate)

    Thanks for the fast reply. I commented that line of code out but just gave me a new syntax error:
    Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /home/content/39/10606339/html/blog/wp-content/plugins/ithoughts-tooltip-glossary/class/ithoughts_tt_gl-updater.php on line 74
    Hosting on GoDaddy and currently running PHP 5.3 but could change it to 5.4 if that helps.
    Anyway no worries I will wait for your next update ??

    Plugin Author Gerkin

    (@gerkin)

    The syntax $foo = []; in PHP is à shorthand for $foo = array(); declared in PHP 5.4. Updating your PHP version should solve the issue. I will downgrade my dev env, so I’ll get the same errors… I currently use PHP7.

    Thread Starter phillyrealestate

    (@phillyrealestate)

    Thank you so much for taking the time to explain all that. So I updated my PHP to 5.4 and that took care of the syntax errors.

    Now the add a tooltip button does not work, it’s unresponsive. Add a glossary index does work. Also none of the previous links to terms are working but the code is intact.

    Plugin Author Gerkin

    (@gerkin)

    This is very strange. Have you tried to empty your cache to load the new “Add a tooltip” form?
    I am sorry for those errors. But this update is very important for future functionnalities.

    Plugin Author Gerkin

    (@gerkin)

    Hello, try the new version, I hope the update will solve your problems.
    Keep me in touch

    Gerkin

    Hi
    I am having a similar problem
    Parse error: syntax error, unexpected ‘[‘ in /home/sites/support4familylaw.co.uk/public_html/wp-content/plugins/ithoughts-tooltip-glossary/class/ithoughts_tt_gl-admin.class.php on line 563

    I am developing a site for a family law site and plan on launching this weekend.

    I am using PHP v 5.4

    Many thanks for your help

    Plugin Author Gerkin

    (@gerkin)

    Hello,

    On which page are you seeing this error? What version do you use?

    Sorry for the delay in responding
    Version is 2.1.2

    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected ‘[‘ in /home/sites/support4familylaw.co.uk/public_html/wp-content/plugins/ithoughts-tooltip-glossary/class/ithoughts_tt_gl-admin.class.php on line 654

    WordPress version: 4.3.1

    I hope this helps

    Plugin Author Gerkin

    (@gerkin)

    Damn… I hope this is the last one.
    I can’t gurarantee that it will work, because those bugs are totally absent on my dev env… I’m hunting ghosts I can’t see.
    Once a stable version will be released, I’ll stop updates for a while, and I’ll work on my dev env to run on every minor versions of PHP from 5.3 to 7.0. This syntax error is typically due to a PHP update which allowed this shorthand to look similar than Javascript.

    Plugin Author Gerkin

    (@gerkin)

    Hello,

    I’ve downgrade to PHP5.3.1, and now, everything seem to work fine. I’ll release a fix version soon, and I hope that it will solve all your issues.

    Many thanks

    Plugin Author Gerkin

    (@gerkin)

    V2.1.4 is out. Don’t hesitate to give me feedback for eventual corrections needed

    Thread Starter phillyrealestate

    (@phillyrealestate)

    Hi Gerkin,

    Haven’t had time to follow up with you until now. I just updated to version 2.1.4 and that fixes the TinyMCE add a tooltip. Next problem ??
    Add a tooltip is not showing any glossary terms even though I have created a glossary. I can work around it by manually adding to tooltip. Other than that everything works…

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Update Version 2.03 – Parse Error’ is closed to new replies.