Title: Error: [] operator not supported for strings
Last modified: February 7, 2019

---

# Error: [] operator not supported for strings

 *  Resolved [andersoxie](https://wordpress.org/support/users/andersoxie/)
 * (@andersoxie)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-operator-not-supported-for-strings-3/)
 * When upgrading to latest version 3.5.4 with Word press version 5.0.3 we get this
   errors and as you can see at the page the first page is blank. The error below
   is at line 1746 but we also get it at line 1734. They looks like this:
 *     ```
       					$metaquery []= 
       						        array(
   
       						            'key' => '_auction_closed',
       						            'compare'=> 'NOT EXISTS'				        
       						    );
   
       and 
   
       							$taxquery []= 
       						        array(
       						            'taxonomy' => 'product_type',
       						            'field' => 'slug',
       						            'terms' => 'auction',
       						            'operator'=> 'NOT IN'				        
       						    );
   
       What do you suggest?
   
       I am not familiar with the site so it might be that somebody has made changes to the file locally at the site.
   
       2019-02-07T06:58:57+00:00 CRITICAL Uncaught Error: [] operator not supported for strings in /home/dtstamps/public_html/wp-content/plugins/woocommerce-simple-auctions/woocommerce-simple-auctions.php:1746
       Stack trace:
       #0 /home/dtstamps/public_html/wp-content/plugins/woocommerce-simple-auctions/woocommerce-simple-auctions.php(1766): WooCommerce_simple_auction->pre_get_posts(Object(WP_Query))
       #1 /home/dtstamps/public_html/wp-includes/class-wp-hook.php(286): WooCommerce_simple_auction->auction_arhive_pre_get_posts(Object(WP_Query))
       #2 /home/dtstamps/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
       #3 /home/dtstamps/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
       #4 /home/dtstamps/public_html/wp-includes/class-wp-query.php(1634): do_action_ref_array('pre_get_posts', Array)
       #5 /home/dtstamps/public_html/wp-includes/class-wp-query.php(3230): WP_Query->get_posts()
       #6 /home/dtstamps/public_html/wp-includes/class-wp-query.php(3336): WP_Query->query(Array)
       #7 /home/dtstamps/public_html/wp-content/theme in /home/dtstamps/public_html/wp-content/plugins/woocommerce-simple-auctions/woocommerce-simple-auctions.php on line 1746
       ```
   
    -  This topic was modified 7 years, 3 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 7 years, 3 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-operator-not-supported-for-strings-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-operator-not-supported-for-strings-3/#post-11182269)
 * WooCommerce and WooCommerce Simple Auctions are different plugins. You’ll need
   to contact the plugin vendor’s support service. Is this your plugin:
    [https://codecanyon.net/item/woocommerce-simple-auctions-wordpress-auctions/6811382](https://codecanyon.net/item/woocommerce-simple-auctions-wordpress-auctions/6811382)
 * Ensure you are using the latest version of the plugin which was published on 
   30/01/19.
 *  [Luminus Alabi](https://wordpress.org/support/users/luminus/)
 * (@luminus)
 * Automattic Happiness Engineer
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-operator-not-supported-for-strings-3/#post-11213214)
 * Hi [@andersoxie](https://wordpress.org/support/users/andersoxie/),
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

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

The topic ‘Error: [] operator not supported for strings’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Luminus Alabi](https://wordpress.org/support/users/luminus/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/error-operator-not-supported-for-strings-3/#post-11213214)
 * Status: resolved