Title: Error: Cannot use string offset as an array
Last modified: August 22, 2016

---

# Error: Cannot use string offset as an array

 *  Resolved [lbreme](https://wordpress.org/support/users/lbreme/)
 * (@lbreme)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-cannot-use-string-offset-as-an-array/)
 * Hello,
 * when I push the button “Add” on my product item I get this PHP error: “Fatal 
   error: Cannot use string offset as an array in /wp-content/plugins/woocommerce-
   to-google-merchant-center/views/new-product.php on line 921”.
 * Can you help me?
    Thanks!
 * [https://wordpress.org/plugins/woocommerce-to-google-merchant-center/](https://wordpress.org/plugins/woocommerce-to-google-merchant-center/)

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

 *  Plugin Author [Asaquzzaman mishu](https://wordpress.org/support/users/asaquzzaman/)
 * (@asaquzzaman)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-cannot-use-string-offset-as-an-array/#post-5718188)
 * Please Provide me your wp-admin and ftp access permission in my email < [joy.mishu@gmail.com](https://wordpress.org/support/topic/error-cannot-use-string-offset-as-an-array/joy.mishu@gmail.com?output_format=md)
   >. I will fix this problem.
 *  Thread Starter [lbreme](https://wordpress.org/support/users/lbreme/)
 * (@lbreme)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-cannot-use-string-offset-as-an-array/#post-5718248)
 * Hello,
    I have just resolved the problem: I didn’t set a category for woocommerce
   products. After setting it was allright. Thanks anyway.
 *  Plugin Author [Asaquzzaman mishu](https://wordpress.org/support/users/asaquzzaman/)
 * (@asaquzzaman)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-cannot-use-string-offset-as-an-array/#post-5718249)
 * you welcome. if you face any kinds of problem in wordpress just contact with 
   me in my email.
 *  [jay_v555](https://wordpress.org/support/users/jay_v555/)
 * (@jay_v555)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-cannot-use-string-offset-as-an-array/#post-5718451)
 * Hello,
 * I have the seame PHP error when I try to add a product to WooGoo.
 * He product has already a category.
 * Can you help me?
 * Thank you

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

The topic ‘Error: Cannot use string offset as an array’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-to-google-merchant-center_7eaf6c.
   svg)
 * [Woo Product Feed For Marketing Channels](https://wordpress.org/plugins/woocommerce-to-google-merchant-center/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-to-google-merchant-center/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-to-google-merchant-center/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-to-google-merchant-center/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-to-google-merchant-center/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-to-google-merchant-center/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [jay_v555](https://wordpress.org/support/users/jay_v555/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/error-cannot-use-string-offset-as-an-array/#post-5718451)
 * Status: resolved