• Resolved dilge

    (@dilge)


    Hello,

    I just update the plug-in and it crashed my whole site. It only shows this sentence below

    Parse error: syntax error, unexpected ‘[‘ in /home/content/61/9484761/html/thehouseofseven/ijustrate/wp-content/plugins/brizy/editor/api.php on line 276

    How can i fix it?

    Thank you in advance

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dilge

    (@dilge)

    These are the lines shows syntax error in api.php file

    $user_data = [
    “user_id” => $user->getPlatformUserId(),
    “created_at” => $date->format( DateTime::ISO8601 ),
    ‘client_id’ => $client_id
    ];

    Plugin Author Sergiu Bagrin

    (@roxigo)

    Hi

    Sorry for the inconvenience.

    In old PHP versions it is needed to change it to:

    $user_data = array(
    “user_id” => $user->getPlatformUserId(),
    “created_at” => $date->format( DateTime::ISO8601 ),
    ‘client_id’ => $client_id
    );

    In max 12 hours we plan a hotfix for this isssue.
    Sergiu

    Plugin Author Sergiu Bagrin

    (@roxigo)

    Hi

    In last update 1.0.10 we added a fix for this issue. Can you confirm if it is working with last changes?

    Thanks

    Thread Starter dilge

    (@dilge)

    Hi Sergiu,

    I downloaded the version 1.0.8 and switch the api.php file so it fixed my issue. But i did your solution as well working perfect. Thanks a lot.

    Plugin Author Sergiu Bagrin

    (@roxigo)

    Hi

    I’m closing this issue to keep the issue database slim. Feel free to re-open if I’ve misunderstood you.

    Sergiu

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Brizy parse error… line 276 error’ is closed to new replies.