Title: PHP Warning: Undefined array key &#8220;path&#8221;
Last modified: January 10, 2024

---

# PHP Warning: Undefined array key “path”

 *  [Jimmy Thai](https://wordpress.org/support/users/docteurfitness/)
 * (@docteurfitness)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path-7/)
 * Hello,
 * I have a lot of error in error_log.php
 * PHP Warning: Undefined array key “path” in /wp-includes/canonical.php on line
   606
 * I haven’t really found a solution on the internet. Does anyone have any ideas?
 * Version PHP :8.3.0 
   Version MySQL :10.6.16-MariaDB
 * Modules Apache:auth_basic, expires, headers, mime, rewrite
 * thanks you

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

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path-7/#post-17333956)
 * Hi!
 * Initial question here would be when did this first start?
 * The first thing you could do is deactivate all plugins to see if that resolves
   that issue. If if does, it means one of the plugins is causing that and you can
   check which one by activating one by one.
 * If deactivating all plugins doesn’t resolve it, you could try switching themes
   to rule that out as well.
 * Let us know if that helps
 *  [Jane](https://wordpress.org/support/users/jstepak/)
 * (@jstepak)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path-7/#post-17434799)
 * Would like to follow this thread. We’re seeing the following PHP warning several
   times a day:
 * PHP Warning: Undefined array key “path” in /oursite/wp-includes/canonical.php
   on line 728
 * WP 6.4.3
   PHP 8.0.30
 *  [spreaditunlimited](https://wordpress.org/support/users/spreaditunlimited/)
 * (@spreaditunlimited)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path-7/#post-17449556)
 * Same issue and its casing indexing issue for me.

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 4 participants
 * Last reply from: [spreaditunlimited](https://wordpress.org/support/users/spreaditunlimited/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-path-7/#post-17449556)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
