Search Widget error: Illegal offset type in isset or empty i (1 post)

  1. mireillesan
    Posted 2 years ago #

    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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic