Title: Error/Bug &#8211; empty needle, trying to add / (to translate home page)
Last modified: May 22, 2019

---

# Error/Bug – empty needle, trying to add / (to translate home page)

 *  Resolved [AJD](https://wordpress.org/support/users/ajd/)
 * (@ajd)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/error-bug-empty-needle/)
 * When using the translate only certain paths addon I got the following Warning:
 * Warning: strpos(): Empty needle in /home/site/public_html/dev/wp-content/plugins/
   trpc-translate-only-some-paths/trpc-translate-only-some-paths.php on line 91
 * I had added
    / as a path to try and translate the home page.
 * How do you add the path to the home page to enable translation?
    -  This topic was modified 6 years, 11 months ago by [AJD](https://wordpress.org/support/users/ajd/).

The topic ‘Error/Bug – empty needle, trying to add / (to translate home page)’ is
closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [AJD](https://wordpress.org/support/users/ajd/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/error-bug-empty-needle/)
 * Status: resolved