Plugin Won't Active Because of Error

Discussion in 'InkAppointment WordPress Plugin' started by palent, Mar 8, 2017.

  1. palent

    palent New Member

    Joined:
    Sep 15, 2015
    Messages:
    2
    Likes Received:
    0
    I have been trying to active the appointment plugin V1.2.7 but I keep getting the following error:

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

    Parse error: syntax error, unexpected '[' in /home/noshows/public_html/wp-content/plugins/inkappointmentpro/ink-admin/appointments-form/getway/paypal-page.php on line 235

    That bracket is in the following code:

    Code:
        try {
            $client->messages->create(
                    $to, [
                "body" => $message,
                "from" => $twilioNumber
                    ]
            );
     
  2. Naveen

    Naveen Guest

    Joined:
    Aug 8, 2014
    Messages:
    1,739
    Likes Received:
    64
    Hello Palent,

    Could you please allow us to check your site? We have checked the same file but didn't get any error at our end.

    Kindly, share your WordPress admin credentials at [email protected] along with this thread URL:

    WordPress site login URL:
    WordPress admin username:
    WordPress admin password:

    I will check and do the needful.

    Warm Regards!
    Naveen Kolhe
    InkThemes.com
     

Share This Page