Ready to get started?Download WordPress


Jetpack by WordPress.com
Plugin conflict: rawurlencode() expects parameter 1 to be string (3 posts)

  1. Jobjörn Folkesson
    Posted 2 years ago #

    I'm running a home-written advanced search plugin which uses URLs that look kind of like this:


    Note the arrays. I have a feeling they're important.

    For some strange reason, whenever Jetpack is enabled and I am logged out (as would be the case for most of my visitors, obviously), the above results in an error:

    Warning: rawurlencode() expects parameter 1 to be string, array given in /mysite.tld/wp-includes/canonical.php on line 283
    Warning: Cannot modify header information - headers already sent by (output started at /mysite.tld/wp-includes/canonical.php:283) in /mysite.tld/wp-includes/pluggable.php on line 866

    This only appears when I am logged out of the admin panel and Jetpack is activated (and authenticated). What does Jetpack do with rawurlencode?


  2. Jobjörn Folkesson
    Posted 2 years ago #

    The URL above is not the correct one - it has been "sanitized" by the forums.

    It should be something like mysite/?real_s=&is_s=true&tags[141]=433&tags[216]=199. (I hope the brackets will be visible now.)

  3. djanym
    Posted 1 year ago #

    not clear what's wrong with the URL.. Can you explain? I've the same error. Same type of the URL

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic