Title: Illegal string offset
Last modified: January 23, 2020

---

# Illegal string offset

 *  [mccpie01](https://wordpress.org/support/users/mccpie01/)
 * (@mccpie01)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/illegal-string-offset-50/)
 * I have this error and i am not sure how to address it.
 * [21-Jan-2020 21:16:53 UTC] PHP Warning: Illegal string offset ‘updated’ in /wp-
   content/plugins/woocommerce/includes/admin/marketplace-suggestions/class-wc-marketplace-
   updater.php on line 44
    [21-Jan-2020 21:16:53 UTC] PHP Warning: Illegal string
   offset ‘suggestions’ in /wp-content/plugins/woocommerce/includes/admin/marketplace-
   suggestions/class-wc-marketplace-updater.php on line 66 [21-Jan-2020 21:18:23
   UTC] PHP Warning: Illegal string offset ‘updated’ in /wp-content/plugins/woocommerce/
   includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php on line
   44 [21-Jan-2020 21:18:23 UTC] PHP Warning: Illegal string offset ‘suggestions’
   in /wp-content/plugins/woocommerce/includes/admin/marketplace-suggestions/class-
   wc-marketplace-updater.php on line 66 [23-Jan-2020 00:52:27 UTC] PHP Fatal error:
   Uncaught Error: Call to a member function is_purchasable() on boolean in /wp-
   content/plugins/yith-woocommerce-frequently-bought-together/includes/class.yith-
   wfbt-frontend.php:162 Stack trace: #0 /wp-includes/shortcodes.php(325): YITH_WFBT_Frontend-
   >wfbt_shortcode(Array, ”, ‘ywfbt_form’) #1 [internal function]: do_shortcode_tag(
   Array) #2 /wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(
   ywfbt_…’, ‘do_shortcode_ta…’, ‘[ywfbt_form pro…’) #3 /wp-content/plugins/yith-
   woocommerce-frequently-bought-together/includes/class.yith-wfbt-frontend.php(
   107): do_shortcode(‘[ywfbt_form pro…’) #4 /wp-includes/class-wp-hook.php(288):
   YITH_WFBT_Frontend->add_bought_together_form(”) #5 /wp-includes/class-wp-hook.
   php(312): WP_Hook->apply_filters(NULL, Array) #6 /wp-includes/plugin.php(478):
   in /wp-content/plugins/yith-woocommerce-frequently-bought-together/includes/class.
   yith-wfbt-frontend.php on line 162
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fillegal-string-offset-50%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * (@yithemes)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/illegal-string-offset-50/#post-12361808)
 * Hi there,
    Please, try to deactivate all plugins and see if the problem disappear.
   If so, try to activate them again one by one and see which one produces the issue.
   If the problem is not from a plugin, try to activate the default theme Twenty
   Sixteen or Twenty Seventeen and see if you have the same issue.
 * Also, if you have customized files in your theme, please try with a fresh installation
   without customization.
 * Remember that if you have a plugin for the cache, you need to delete the cache
   before to disable it.

Viewing 1 replies (of 1 total)

The topic ‘Illegal string offset’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-frequently-bought-together/assets/icon.
   svg?rev=3055640)
 * [YITH Frequently Bought Together for WooCommerce](https://wordpress.org/plugins/yith-woocommerce-frequently-bought-together/)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-frequently-bought-together/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-frequently-bought-together/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-frequently-bought-together/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-frequently-bought-together/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [YITHEMES](https://wordpress.org/support/users/yithemes/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/illegal-string-offset-50/#post-12361808)
 * Status: not resolved