Title: get_option(&#8216;wpwc_reading_time&#8217;)[&#8216;insert&#8217;]
Last modified: January 13, 2024

---

# get_option(‘wpwc_reading_time’)[‘insert’]

 *  [Stefano Monti](https://wordpress.org/support/users/stefano-monti/)
 * (@stefano-monti)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/get_optionwpwc_reading_timeinsert/)
 * Hello! Thanks for this Great PlugIn, I used it by some years.
   Lastly “Query Monitor”
   gave me some Notice: in the home page and in the article page, it tell me Word
   Count “Trying to access array offset on value of type bool” in ‘wp-content/plugins/
   wp-word-count/public/class-wpwc-public.php’ on line 123.# replaced line 123 fromif(
   $post &&(get_option(‘wpwc_reading_time’)[‘insert’] == ‘Y’) {with line from 122
   to 124, as is$reading_time = get_option(‘wpwc_reading_time’) ;if (is_array($reading_time)){
   $reading_time=$reading_time[‘insert’];}if ($post && ($reading_time == ‘Y’ || 
   $reading_time == true)) {Is right?
    -  This topic was modified 2 years, 4 months ago by [Stefano Monti](https://wordpress.org/support/users/stefano-monti/).
      Reason: some beautify
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fget_optionwpwc_reading_timeinsert%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘get_option(‘wpwc_reading_time’)[‘insert’]’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-word-count_6d9aca.svg)
 * [WP Word Count](https://wordpress.org/plugins/wp-word-count/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-word-count/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-word-count/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-word-count/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-word-count/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-word-count/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Stefano Monti](https://wordpress.org/support/users/stefano-monti/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/get_optionwpwc_reading_timeinsert/)
 * Status: not resolved