Title: Getting Error on PHP 8.0
Last modified: May 27, 2025

---

# Getting Error on PHP 8.0

 *  [yourvas1](https://wordpress.org/support/users/yourvas1/)
 * (@yourvas1)
 * [1 year ago](https://wordpress.org/support/topic/getting-error-on-php-8-0/)
 * Get the follow errors when I upgrade the PHP to 8.0 and above. Any ideas??? Using
   version Version 1.4.2 | TIA
 * **Warning**: Undefined array key “search” in **/home/remarkab/domains/remarkablespeakersbureau.
   com/public_html/wp-content/plugins/insert-php-code-snippet/shortcode-handler.
   php(238) : eval()’d code** on line **9**
 * **Warning**: Undefined array key “search” in **/home/remarkab/domains/remarkablespeakersbureau.
   com/public_html/wp-content/plugins/insert-php-code-snippet/shortcode-handler.
   php(238) : eval()’d code** on line **1980**
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-error-on-php-8-0%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [anjalixyzscripts](https://wordpress.org/support/users/anjali94/)
 * (@anjali94)
 * [1 year ago](https://wordpress.org/support/topic/getting-error-on-php-8-0/#post-18486922)
 * Hi [@yourvas1](https://wordpress.org/support/users/yourvas1/)
 * Just to clarify, the warning —
   **“Undefined array key ‘search'”** — is coming
   from **your custom snippet code**, not from [Insert PHP Code Snippet](https://wordpress.org/plugins/insert-php-code-snippet/).
   Our plugin does not use a `search` index anywhere in its files.
 * Also, kindly check your email — we’ve already responded to your support request
   there as well. Let us know if you need any help reviewing your snippet!

Viewing 1 replies (of 1 total)

The topic ‘Getting Error on PHP 8.0’ is closed to new replies.

 * ![](https://ps.w.org/insert-php-code-snippet/assets/icon-128x128.png?rev=1800967)
 * [Insert PHP Code Snippet](https://wordpress.org/plugins/insert-php-code-snippet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php-code-snippet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php-code-snippet/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php-code-snippet/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [anjalixyzscripts](https://wordpress.org/support/users/anjali94/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/getting-error-on-php-8-0/#post-18486922)
 * Status: not resolved