Title: Syntax error
Last modified: March 2, 2022

---

# Syntax error

 *  [alexandrasa](https://wordpress.org/support/users/alexandrasa/)
 * (@alexandrasa)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-220/)
 * 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 4 years, 2 months ago by [alexandrasa](https://wordpress.org/support/users/alexandrasa/).
    -  This topic was modified 4 years, 2 months ago by [alexandrasa](https://wordpress.org/support/users/alexandrasa/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [ShareThis](https://wordpress.org/support/users/sharethis/)
 * (@sharethis)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-220/#post-15420745)
 * [@alexandrasa](https://wordpress.org/support/users/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](https://wordpress.org/support/users/alexandrasa/)
 * (@alexandrasa)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-220/#post-15420869)
 * 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](https://wordpress.org/support/users/alexandrasa/)
 * (@alexandrasa)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-220/#post-15441717)
 * Please, when will there be a plugin update that fixes this bug?
 *  Plugin Contributor [ShareThis](https://wordpress.org/support/users/sharethis/)
 * (@sharethis)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-220/#post-15465776)
 * Just released a fix for this issue in version 2.1.1! Please update when possible.
 *  Thread Starter [alexandrasa](https://wordpress.org/support/users/alexandrasa/)
 * (@alexandrasa)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-220/#post-15466857)
 * 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.

 * ![](https://ps.w.org/social-media-feather/assets/icon-256x256.png?rev=2661173)
 * [Social Media Feather](https://wordpress.org/plugins/social-media-feather/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-media-feather/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-media-feather/)
 * [Active Topics](https://wordpress.org/support/plugin/social-media-feather/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-media-feather/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-media-feather/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [alexandrasa](https://wordpress.org/support/users/alexandrasa/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-220/#post-15466857)
 * Status: not resolved