Title: Undefined variable: default_options
Last modified: November 24, 2020

---

# Undefined variable: default_options

 *  Resolved [timjh](https://wordpress.org/support/users/timjh/)
 * (@timjh)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-default_options/)
 * Many thanks for a fine plugin, working well as advertised, but my log is filling
   up with PHP notices: Undefined variable: default_options in /var/www/sib2/wp-
   content/plugins/os-datahub-maps/os-datahub-maps.php on line 88
 * I’m using WordPress 5.5.3 with PHP 7.4.3

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

 *  Plugin Author [skirridsystems](https://wordpress.org/support/users/skirridsystems/)
 * (@skirridsystems)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-default_options/#post-13705045)
 * Thanks for the report. This will be fixed in the next release, which I’m hoping
   will be this week.
 *  Thread Starter [timjh](https://wordpress.org/support/users/timjh/)
 * (@timjh)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-default_options/#post-13707700)
 * Thanks! I’m also getting the following message, which I think stems from a call
   to wp_add_inline_script at line 351 in osmap-script.php
 * wp_add_inline_script was called **incorrectly**. Do not pass `<script>` tags 
   to `wp_add_inline_script()`. Please see [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/)
   for more information. (This message was added in version 4.5.0.) in /var/www/
   sib2/wp-includes/functions.php on line 5229
    -  This reply was modified 5 years, 6 months ago by [timjh](https://wordpress.org/support/users/timjh/).
 *  Plugin Author [skirridsystems](https://wordpress.org/support/users/skirridsystems/)
 * (@skirridsystems)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-default_options/#post-13709865)
 * Thanks, I’ll take a look at that one too
 *  Plugin Author [skirridsystems](https://wordpress.org/support/users/skirridsystems/)
 * (@skirridsystems)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-default_options/#post-13725512)
 * Both sorted ready for next release.

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

The topic ‘Undefined variable: default_options’ is closed to new replies.

 * ![](https://ps.w.org/os-datahub-maps/assets/icon-256x256.jpg?rev=2376803)
 * [OS DataHub Maps](https://wordpress.org/plugins/os-datahub-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/os-datahub-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/os-datahub-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/os-datahub-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/os-datahub-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/os-datahub-maps/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [skirridsystems](https://wordpress.org/support/users/skirridsystems/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/undefined-variable-default_options/#post-13725512)
 * Status: resolved