WPIntell

Source evidence

Fatal error when setting query “orderby” param to array

Rearrange Products for WooCommerce · support · 2026-04-08T13:16:00+00:00

complaintsentiment
mediumseverity
0.69relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

10 / 67 rows with source links

14.9% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

57 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
stevygee1987 unresolved
Hi, I’m getting this error on my client’s website: [08-Apr-2026 13:04:27 UTC] PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /usr/www/users/example/wp-content/plugins/rearrange-woocommerce-products/includes/Plugin.php:762 I checked my code and I’m setting the “orderby” param to an array several times. Your plugin only seems to support strings as values for this param. Can you please implement support for this format as well? $query->set( 'orderby', array( 'menu_order' => 'desc', 'post_date' => 'desc', )); Plugin version is 6.0.0

Comments

0 shown

No comments were stored for this source.