Title: Getting PHP Warning after upgrading PHP version to 7.3
Last modified: May 9, 2019

---

# Getting PHP Warning after upgrading PHP version to 7.3

 *  Resolved [boybawang](https://wordpress.org/support/users/boybawang/)
 * (@boybawang)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/getting-php-warning-after-upgrading-php-version-to-7-3/)
 * Yesterday I upgraded my PHP version from 7.0 to 7.3. Today I noticed the following
   warning, which occurred a couple of times:
 * `PHP Warning: A non-numeric value encountered in /home/xxxxxxxx/public_html/wp-
   content/plugins/insert-php/includes/shortcodes/shortcode-php.php(45) : eval()'
   d code on line 8`
 * I’m using WordPress version 5.2. I’m not sure what was done to trigger the plugin
   warning, otherwise I’d add the info here.
    -  This topic was modified 7 years, 1 month ago by [boybawang](https://wordpress.org/support/users/boybawang/).
      Reason: typo
    -  This topic was modified 7 years, 1 month ago by [boybawang](https://wordpress.org/support/users/boybawang/).

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

 *  [Temyk](https://wordpress.org/support/users/webtemyk/)
 * (@webtemyk)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/getting-php-warning-after-upgrading-php-version-to-7-3/#post-11524041)
 * Hello!
 * Warning in your snippet code. Due to [innovations in PHP 7.1](https://www.php.net/manual/en/migration71.other-changes.php)
   and older. Please send snippet code so I can help you.
 *  [Temyk](https://wordpress.org/support/users/webtemyk/)
 * (@webtemyk)
 * [7 years ago](https://wordpress.org/support/topic/getting-php-warning-after-upgrading-php-version-to-7-3/#post-11621406)
 * Hi,
 * Your problem is solved?
 *  Thread Starter [boybawang](https://wordpress.org/support/users/boybawang/)
 * (@boybawang)
 * [7 years ago](https://wordpress.org/support/topic/getting-php-warning-after-upgrading-php-version-to-7-3/#post-11622994)
 * Hello –
 * Sorry, I did not notice the message you sent a few weeks ago requesting my snippet
   code. I think we can close this out now, and if I have more problems I’ll let
   you know.

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

The topic ‘Getting PHP Warning after upgrading PHP version to 7.3’ is closed to 
new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3523853)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [boybawang](https://wordpress.org/support/users/boybawang/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/getting-php-warning-after-upgrading-php-version-to-7-3/#post-11622994)
 * Status: resolved