Title: PHP Warning: Undefined array key &#8220;&#8221;
Last modified: November 25, 2023

---

# PHP Warning: Undefined array key “”

 *  Resolved [longnha](https://wordpress.org/support/users/longnha/)
 * (@longnha)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-15/)
 * Hi,
 * On PHP 8.1, I got the following error message:
 * `[25-Nov-2023 15:42:20 UTC] PHP Warning: Undefined array key "" in public_html/
   wp-content/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-
   client.php on line 1137`
 * Can you please update the plugin?
 * Thank you.

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

 *  Plugin Author [nwjames](https://wordpress.org/support/users/nwjames/)
 * (@nwjames)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-15/#post-17230423)
 * [@longnha](https://wordpress.org/support/users/longnha/),
 * Thank you for raising this issue. I will prepare a fix.
 * If you are able to edit the code, then it should remove the issue for you.
 * Line 267 of includes/class-simpletaxonomyrefreshed-client.php
 *     ```wp-block-code
       		$hier                     = ( isset( $taxonomy['hierarchical'] ) && ! empty( $taxonomy['hierarchical'] ) ? $taxonomy['hierarchical'] : 1 );
       ```
   
 * [Note. This is a single line. It is wrapped as I enter the response to you.]
 * Regards,
 * Neil James
 *  Plugin Author [nwjames](https://wordpress.org/support/users/nwjames/)
 * (@nwjames)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-15/#post-17237309)
 * [@longnha](https://wordpress.org/support/users/longnha/),
 * This has been addressed in Version 3.2.0.
 * Thanks for raising the issue.
 * Neil James

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/simple-taxonomy-refreshed.svg)
 * [Simple Taxonomy Refreshed](https://wordpress.org/plugins/simple-taxonomy-refreshed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-taxonomy-refreshed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-taxonomy-refreshed/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-taxonomy-refreshed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-taxonomy-refreshed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-taxonomy-refreshed/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [nwjames](https://wordpress.org/support/users/nwjames/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-15/#post-17237309)
 * Status: resolved