• <main class=”relative h-full w-full transition-width overflow-auto flex-1″>

    A few months ago, when we were using Zotero, it stopped working

    </main>
    and it deactivated automatically. When we try to re-activate, wordpress cannot enable it due to the following error:

    Parse error: syntax error, unexpected ‘:’, expecting ‘{‘ in /htdocs/public/www/wp-content/plugins/zotpress/zotpress.php on line 286

    Lookinf for internet seems that the problem could berelated with the PHP version, but we are not sure.

    The current version of Zotpress extension (it is correctly updated) should be compatible with our version of PHP (although it’s not completely updated, it shouldn’t cause any problems). Furthermore, right now we can’t update our PHP version because we have not acces to the host.

Viewing 1 replies (of 1 total)
  • Plugin Author Katie

    (@kseaborn)

    Can you try going into zotpress.php and changing this line:

    function Zotpress_change_timeout($time): int { return 60; /* second */ }

    To this line?

    function Zotpress_change_timeout($time) { return 60; /* second */ }

Viewing 1 replies (of 1 total)

The topic ‘“Parse error” when activating Zotpress extension’ is closed to new replies.