Title: PHP Warning: Undefined variable $dbResId
Last modified: May 7, 2024

---

# PHP Warning: Undefined variable $dbResId

 *  [Česlav Przywara](https://wordpress.org/support/users/chesio/)
 * (@chesio)
 * [2 years ago](https://wordpress.org/support/topic/php-warning-undefined-variable-dbresid/)
 * After updating PHP to version 8.1 I’m getting following warnings in debug.log:
 * _PHP Warning: Undefined variable $dbResId in /[…]/wp-content/plugins/ultimate-
   maps-by-supsystic/modules/marker/models/marker.php on line 143_
 * I think the `if ($dbResId)` check should be replaced with either `if(isset($dbResId)&&
   $dbResId)` or just `if(isset($dbResId))`.

The topic ‘PHP Warning: Undefined variable $dbResId’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-maps-by-supsystic/assets/icon-256x256.jpg?rev=1964943)
 * [Ultimate Maps by Supsystic](https://wordpress.org/plugins/ultimate-maps-by-supsystic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-maps-by-supsystic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-maps-by-supsystic/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-maps-by-supsystic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-maps-by-supsystic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-maps-by-supsystic/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [Česlav Przywara](https://wordpress.org/support/users/chesio/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/php-warning-undefined-variable-dbresid/)
 * Status: not a support question