Title: Parse Error when activating
Last modified: May 9, 2018

---

# Parse Error when activating

 *  [halegrafx](https://wordpress.org/support/users/halegrafx/)
 * (@halegrafx)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parse-error-when-activating-8/)
 * Hello! I have been excited to use this plugin. Unfortunately I keep getting a
   parse error when activating the plugin. I have the most recent version of wordpress.
 * Error:
    syntax error, unexpected ‘[‘ public_html/wp-content/plugins/giveasap/
   admin/classes/class-ga-users-table.php on line 151
 * When I open ga-users-table.php it tells me there is a syntax error in the following
   code (line 151-158):
 *  $actions = [‘delete’ => sprintf(
    ‘[‘ . __( ‘Delete’, ‘giveasap’ ) . ‘](https://wordpress.org/support/topic/parse-error-when-activating-8/?page=%s&action=%s&user=%s&_wpnonce=%s&id=%d)‘,
   esc_attr( $_REQUEST[‘page’] ), ‘delete’, absint( $item[‘id’] ), $delete_nonce,
   absint( $_REQUEST[‘id’] ) ), ];
 * Thank you for any help you can provide.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * (@ibenic)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/parse-error-when-activating-8/#post-10261311)
 * Hi [@halegrafx](https://wordpress.org/support/users/halegrafx/),
 * which PHP version are you running on your server? I’ve tried it on several of
   my sites without issues.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/giveasap/assets/icon.svg?rev=1967616)
 * [Simple Giveaways - Grow your business, email lists and traffic with contests](https://wordpress.org/plugins/giveasap/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/giveasap/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/giveasap/)
 * [Active Topics](https://wordpress.org/support/plugin/giveasap/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/giveasap/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/giveasap/reviews/)

## Tags

 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)
 * [Unexpected](https://wordpress.org/support/topic-tag/unexpected/)

 * 1 reply
 * 2 participants
 * Last reply from: [Igor Benic](https://wordpress.org/support/users/ibenic/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/parse-error-when-activating-8/#post-10261311)
 * Status: not resolved