• Resolved succinctideas

    (@succinctideas)


    Im getting this error when trying to activate the plugin

    Parse error: syntax error, unexpected ‘*’, expecting ‘,’ or ‘;’ in <path to server root>/wp-content/plugins/post-to-google-my-business/mbp-api.php on line 5

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Koen Reus

    (@koen12344)

    Hi @succinctideas,

    Thanks for notifying us of the issue. I think this might be a version compatibility problem with PHP. Do you know what version of PHP you are running?

    As a temporary fix you could try replacing lines 5 and 6 in post-to-google-my-business/mbp-api.php:

    const CACHE_DURATION = 60*60*24;
    const ERROR_DURATION = 60*60*24;
    

    with the following:

    const CACHE_DURATION = 86400;
    const ERROR_DURATION = 86400;
    

    I will add this fix to the next version, which should be rolled out in the next few days.

    I had the same problem but with your fix everything was all right
    I’ve got PHP ver. 5.4 for https://www.giannip.com/

    Plugin Contributor Koen Reus

    (@koen12344)

    Hi @zackmckracken

    Thanks for the feedback and sorry for the inconvenience this issue may have caused.

    @succinctideas Did you manage to resolve this issue?

    Plugin Contributor Koen Reus

    (@koen12344)

    I have just pushed version 1.1.1 of the plugin to the repository to fix this issue. If you are experiencing any problems, update the plugin through the WordPress admin panel or download the latest version from here.

    Thanks a lot, everything is allright.

    Plugin Author tyCoon Media

    (@tycoon12344)

    Good, I’m assuming I can mark this as resolved then.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Getting parse error when installing’ is closed to new replies.