Parse Error when activating
-
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 151When 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’ ) . ‘‘,
esc_attr( $_REQUEST[‘page’] ),
‘delete’,
absint( $item[‘id’] ),
$delete_nonce,
absint( $_REQUEST[‘id’] )
),
];Thank you for any help you can provide.
The topic ‘Parse Error when activating’ is closed to new replies.