Title: rawurlencode() expects parameter 1 to be string
Last modified: June 6, 2019

---

# rawurlencode() expects parameter 1 to be string

 *  [mikekiwi](https://wordpress.org/support/users/mikekiwi/)
 * (@mikekiwi)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/rawurlencode-expects-parameter-1-to-be-string/)
 * Hi,
 * just updated the plugin to the most recent version (was sometime ago since I 
   updated) and now I get an error on every page on the frontend:
 * rawurlencode() expects parameter 1 to be string, array given in /home/debxxxxx/
   domains/arti-alphen.nl/public_html/wp-content/plugins/theme-my-login/includes/
   functions.php on line 358
 * What can I do to solve this? Can’t figure it out myself…
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frawurlencode-expects-parameter-1-to-be-string%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/rawurlencode-expects-parameter-1-to-be-string/#post-11613807)
 * Can you disable other plugins and see if this issue persists?
 *  Thread Starter [mikekiwi](https://wordpress.org/support/users/mikekiwi/)
 * (@mikekiwi)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/rawurlencode-expects-parameter-1-to-be-string/#post-11617756)
 * Just did that. Deactivated all plugins and then activated them again in small
   groups.
 * Indeed I found a plugin which causes the error (WP File Download by JoomUnited).
   
   This is a paid plugin (but no support anymore), which is used quite frequently.
   Any idea why this plugin causes the error and a possible option to be able to
   continue using this plugin without the need to pay again for it?
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/rawurlencode-expects-parameter-1-to-be-string/#post-11623365)
 * It looks like we will need to update TML to account for array query string arguments
   being passed to our `site_url` filter.

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

The topic ‘rawurlencode() expects parameter 1 to be string’ is closed to new replies.

 * ![](https://ps.w.org/theme-my-login/assets/icon-256x256.png?rev=1891232)
 * [Theme My Login](https://wordpress.org/plugins/theme-my-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-my-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-my-login/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-my-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-my-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-my-login/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/rawurlencode-expects-parameter-1-to-be-string/#post-11623365)
 * Status: not resolved