Title: Syntax Error when activating
Last modified: April 13, 2020

---

# Syntax Error when activating

 *  Resolved [guvenck](https://wordpress.org/support/users/guvenck/)
 * (@guvenck)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-when-activating-3/)
 * This is what I get when trying to activate the plugin.
 * `Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/username/
   public_html/wp-content/plugins/author-avatars/lib/AuthorAvatarsForm.class.php
   on line 739`
 * Plugin version: 2.0.2
    WP version: 5.3.2 PHP version: 5.6.40

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [guvenck](https://wordpress.org/support/users/guvenck/)
 * (@guvenck)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-when-activating-3/#post-12666916)
 * I had to upgrade PHP to 7.1 to make the plugin work.
 *  Plugin Author [Paul Bearne](https://wordpress.org/support/users/pbearne/)
 * (@pbearne)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-when-activating-3/#post-12668048)
 * [@guvenck](https://wordpress.org/support/users/guvenck/) thank you for this report
   I have fixed the support for PHP 5.6
 * Paul

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Syntax Error when activating’ is closed to new replies.

 * ![](https://ps.w.org/author-avatars/assets/icon-256x256.png?rev=973937)
 * [Author Avatars List/Block](https://wordpress.org/plugins/author-avatars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/author-avatars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/author-avatars/)
 * [Active Topics](https://wordpress.org/support/plugin/author-avatars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/author-avatars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/author-avatars/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Paul Bearne](https://wordpress.org/support/users/pbearne/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-when-activating-3/#post-12668048)
 * Status: resolved