• Resolved mygraphix

    (@mygraphix)


    Hi,

    When I try to activate the plugin, I get the error as below.

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected ‘[‘ in /path_to_my_website/wp-content/plugins/izooto-web-push/includes/class-init.php on line 157

    When I checked line 157 in the above file it reads this…

    $response = [ ‘status’ => ‘logged’, ‘WordPress Email’ => $email, ‘WordPress Site’ => $wp_site_url, ‘UserDetails’ => $user ];

    Kindly suggest.

  • The topic ‘Error during activation’ is closed to new replies.