Title: PHP error
Last modified: February 22, 2022

---

# PHP error

 *  Resolved [bryan868](https://wordpress.org/support/users/bryan868/)
 * (@bryan868)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-510/)
 * The plugin is working great, I really like it. However, I noticed this PHP error
   in my wordpress debug logs.
 * `PHP Notice: Trying to access array offset on value of type bool in /wp-content/
   plugins/event-feed-for-eventbrite/public/class-public.php on line 188`
 * This is line 188 from class-public.php:
 * `$time_format = $formats_settings['time_format'];`
 * Any idea why that’s happening?

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Jan Pencik](https://wordpress.org/support/users/janpencik/)
 * (@janpencik)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-510/#post-15394133)
 * Hi [@bryan868](https://wordpress.org/support/users/bryan868/),
 * Thanks for reaching out.
 * This notice shows that the variable $formats_settings is trying to get the option
   from the database that doesn’t exist after installing the plugin (not until you
   make some changes in the plugin settings and save the options page). So the variable
   is false instead of an array containing the time_format index.
 * Long story short, this is a mistake on our side and can be prevented by adding
   the default value to the $formats_settings variable. We will fix this in the 
   next update. Despite this, it is a PHP notice, so you don’t need to worry too
   much about it. It doesn’t affect the plugin’s functionality in any way.
 * Thanks again for letting us know.

Viewing 1 replies (of 1 total)

The topic ‘PHP error’ is closed to new replies.

 * ![](https://ps.w.org/event-feed-for-eventbrite/assets/icon.svg?rev=3352942)
 * [Show Eventbrite Events - Event Feed for Eventbrite](https://wordpress.org/plugins/event-feed-for-eventbrite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-feed-for-eventbrite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-feed-for-eventbrite/)
 * [Active Topics](https://wordpress.org/support/plugin/event-feed-for-eventbrite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-feed-for-eventbrite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-feed-for-eventbrite/reviews/)

## Tags

 * [notice](https://wordpress.org/support/topic-tag/notice/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [PHP Notice](https://wordpress.org/support/topic-tag/php-notice/)
 * [time format](https://wordpress.org/support/topic-tag/time-format/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jan Pencik](https://wordpress.org/support/users/janpencik/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/php-error-510/#post-15394133)
 * Status: resolved