• Hello,
    Since I updated the plugin to Version 2.1.0, I am getting a syntax error. Specific: [02-Mar-2022 22:16:02 UTC] PHP Parse error: syntax error, unexpected ‘?’ in…plugins/social-media-feather/synved-option/synved-option-item.php on line XXX
    (My WordPress is WordPress 5.9.1)
    Please see if you can fix it.
    All the best.

    • This topic was modified 2 years, 7 months ago by alexandrasa.
    • This topic was modified 2 years, 7 months ago by alexandrasa.
Viewing 5 replies - 1 through 5 (of 5 total)
  • @alexandrasa I was able to reproduce this issue and the fix is going into QA shortly. I’ll follow up once the next release is out!

    Thread Starter alexandrasa

    (@alexandrasa)

    Thank you very much, the line with the error is the one in bold:

    function synved_option_item_callback( array $item, $callback_id, $callback_parameters = null ) {
    $callback = $item[ $callback_id ] ?? null;

    Thread Starter alexandrasa

    (@alexandrasa)

    Please, when will there be a plugin update that fixes this bug?

    Just released a fix for this issue in version 2.1.1! Please update when possible.

    Thread Starter alexandrasa

    (@alexandrasa)

    Now the plugin works perfectly and is still one of the lightest. Thank you very much for solving this problem. All the best!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Syntax error’ is closed to new replies.