Title: PHP warning Undefined array key &#8220;path&#8221;
Last modified: December 28, 2021

---

# PHP warning Undefined array key “path”

 *  Resolved [ArtGoddess](https://wordpress.org/support/users/artgoddess/)
 * (@artgoddess)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path/)
 * Hello,
 * There are PHP warnings in the wp-debug.log file.
 *     ```
       [28-Dec-2021 04:01:31 UTC] PHP Warning:  Undefined array key "path" in /home/user/domain.com/wp-content/plugins/weglot/src/services/class-request-url-service-weglot.php on line 105
       [28-Dec-2021 04:01:32 UTC] PHP Warning:  Undefined array key "path" in /home/user/domain.com/wp-content/plugins/weglot/src/services/class-request-url-service-weglot.php on line 105
       [28-Dec-2021 04:01:32 UTC] PHP Warning:  Undefined array key "path" in /home/user/domain.com/wp-content/plugins/weglot/src/services/class-request-url-service-weglot.php on line 105
       [28-Dec-2021 04:01:32 UTC] PHP Warning:  Undefined array key "path" in /home/user/domain.com/wp-content/plugins/weglot/src/services/class-request-url-service-weglot.php on line 105
       [28-Dec-2021 04:01:32 UTC] PHP Warning:  Undefined array key "path" in /home/user/domain.com/wp-content/plugins/weglot/src/services/class-request-url-service-weglot.php on line 105
       [28-Dec-2021 04:02:46 UTC] PHP Warning:  Undefined array key "path" in /home/user/domain.com/wp-content/plugins/weglot/src/services/class-request-url-service-weglot.php on line 105
       [28-Dec-2021 04:02:46 UTC] PHP Warning:  Undefined array key "path" in /home/user/domain.com/wp-content/plugins/weglot/src/services/class-request-url-service-weglot.php on line 105
       [28-Dec-2021 04:02:46 UTC] PHP Warning:  Undefined array key "path" in /home/user/domain.com/wp-content/plugins/weglot/weglot-compatibility.php on line 49
       ```
   
 * Debug log file is activated:
    [https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log](https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log)
 * WordPress 5.8.2
    Debug activated PHP 8 with Apache
 * Thanks for listening.
    -  This topic was modified 4 years, 3 months ago by [ArtGoddess](https://wordpress.org/support/users/artgoddess/).

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

 *  Plugin Contributor [Edson Galina Fortes](https://wordpress.org/support/users/glx77/)
 * (@glx77)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path/#post-15213306)
 * Hi [@artgoddess](https://wordpress.org/support/users/artgoddess/) ,
 * hope you’re fine. Can you describe me on which context you have this warnings(
   url, action, etc) ? Don’t hesitate to ask our weglot support and ask for me (
   Edson) to help you by sending you a patched plugin
 * Regards
 *  Thread Starter [ArtGoddess](https://wordpress.org/support/users/artgoddess/)
 * (@artgoddess)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path/#post-15216896)
 * Thank you [@glx77](https://wordpress.org/support/users/glx77/) I’m afraid I don’t
   remember what I did, but I discovered this code in my debug file.
 * Is this happening only to me?
 *  Plugin Contributor [Edson Galina Fortes](https://wordpress.org/support/users/glx77/)
 * (@glx77)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path/#post-15216962)
 * Hi [@artgoddess](https://wordpress.org/support/users/artgoddess/) ,
 * and you don’t have it anymore on your log ? For the moment you’re the only one
   facing this error and I’m not able to reproduce it on my side. If you see this
   error again tell me and I’ll try to patch asap
 * Regards
 *  Thread Starter [ArtGoddess](https://wordpress.org/support/users/artgoddess/)
 * (@artgoddess)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path/#post-15220301)
 * Thank you [@glx77](https://wordpress.org/support/users/glx77/)
 * Sorry, I am not receiving email notifications from threads in this plugin forum.
 * I have just sent you my debug file through Weglot. Many thanks.

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

The topic ‘PHP warning Undefined array key “path”’ is closed to new replies.

 * ![](https://ps.w.org/weglot/assets/icon-256x256.gif?rev=3333666)
 * [Translate WordPress with Weglot - Multilingual AI Translation](https://wordpress.org/plugins/weglot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weglot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weglot/)
 * [Active Topics](https://wordpress.org/support/plugin/weglot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weglot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weglot/reviews/)

## Tags

 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 4 replies
 * 2 participants
 * Last reply from: [ArtGoddess](https://wordpress.org/support/users/artgoddess/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path/#post-15220301)
 * Status: resolved