Title: Undefined array key using PHP 8.1
Last modified: April 9, 2022

---

# Undefined array key using PHP 8.1

 *  Resolved [Joe](https://wordpress.org/support/users/joewa1980/)
 * (@joewa1980)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-using-php-8-1/)
 * We’re seeing PHP Warnings for:
    - Undefined array key “artist” in /mywebsite.com/wp-content/plugins/url-
       params/
      urlparams.php on line 98
    - Any ideas how we can remedy this? Many thanks! Great plugin.
 *  -  This topic was modified 4 years, 1 month ago by [Joe](https://wordpress.org/support/users/joewa1980/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [Joe](https://wordpress.org/support/users/joewa1980/)
 * (@joewa1980)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-using-php-8-1/#post-15547748)
 * For anyone else experiencing the same issue while running PHP 8.1 until a fix
   is release:
 * Line 98 original:
    `if($_REQUEST[$param])`
 * Change to:
    `if(isset($_REQUEST[$param]))`

Viewing 1 replies (of 1 total)

The topic ‘Undefined array key using PHP 8.1’ is closed to new replies.

 * ![](https://ps.w.org/url-params/assets/icon-128x128.png?rev=979780)
 * [URL Params](https://wordpress.org/plugins/url-params/)
 * [Support Threads](https://wordpress.org/support/plugin/url-params/)
 * [Active Topics](https://wordpress.org/support/plugin/url-params/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/url-params/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/url-params/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Joe](https://wordpress.org/support/users/joewa1980/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-using-php-8-1/#post-15547748)
 * Status: resolved