Support » Plugin: WooCommerce » Search Widget error: Illegal offset type in isset or empty i

  • When I tested the search widget, I received the following error:

    Warning: Illegal offset type in isset or empty in /home/…/wp-includes/post.php on line 1038.

    search string is: ?s=keyword&post_type=product

    I use Woocommerce together with a premiumpress theme. In another thread here on wordpress forums there was a user who said the following:

    “Basically, you have a plugin registering a post type incorrectly, and then core complains. It isn’t a bug in core best I can tell.”

    Anyone any idea how to solve this?

    http://wordpress.org/plugins/woocommerce/

  • The topic ‘Search Widget error: Illegal offset type in isset or empty i’ is closed to new replies.