Title: Undefined array key &#8220;scheme&#8221; and &#8220;host&#8221; error
Last modified: March 6, 2024

---

# Undefined array key “scheme” and “host” error

 *  Resolved [tserof](https://wordpress.org/support/users/tserof/)
 * (@tserof)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/undefined-array-key-scheme-and-host-error/)
 * Hello,
 * We have the following error in our website :
 * **Warning**: Undefined array key “scheme” in **/opt/app-root/src/web/app/plugins/
   wordpress-seo/src/helpers/url-helper.php** on line **188**
 * **Warning**: Undefined array key “host” in **/opt/app-root/src/web/app/plugins/
   wordpress-seo/src/helpers/url-helper.php** on line **188**
 * we use yoast 22.0

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

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/undefined-array-key-scheme-and-host-error/#post-17479487)
 * Hello [@tserof](https://wordpress.org/support/users/tserof/), I’m sorry about
   the errors.
    - Do they show on the front end or WordPress admin dashboard?
    - Does it continue with v**22.2**?
    - What version of WordPress do you have?
 *  Thread Starter [tserof](https://wordpress.org/support/users/tserof/)
 * (@tserof)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/undefined-array-key-scheme-and-host-error/#post-17481150)
 * Hello Maybellyne, we use wordpress 6.4.2 and the issue is on front end. On local
   we don’t have this error. It appears only on our dev + prod env (hosted with 
   kubernetes on openshift)
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/undefined-array-key-scheme-and-host-error/#post-17483464)
 * Does the issue continue in Yoast SEO v22.2? If yes, we see problems occur in 
   combination with another plugin or theme. The fastest way to rule out any conflict
   is to **deactivate all non-Yoast plugins and switch to a standard theme** like
   [Twenty Twenty-Two](https://wordpress.org/themes/twentytwentytwo/).
 * Please test this on your development or staging site if you have one. If not,
   we recommend using the [Health Check & Troubleshooting](https://wordpress.org/plugins/health-check/)
   plugin. This plugin has a troubleshooting mode, which **does not affect normal
   visitors to your site**.
 * If you’re unfamiliar with checking for conflicts, we’d like to point you to a
   step-by-step guide that will walk you through the process: [How to check for plugin conflicts](https://yoast.com/help/how-to-check-for-plugin-conflicts/)
 * If you feel uncomfortable doing this yourself or if this does not solve your 
   issue, our [Yoast SEO Premium plugin](https://yoast.com/wordpress/plugins/seo/)
   comes with one year of (technical) support.

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

The topic ‘Undefined array key “scheme” and “host” error’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/undefined-array-key-scheme-and-host-error/#post-17483464)
 * Status: resolved