Title: Error log &gt;  Illegal string offset &#039;comment_type&#039; in
Last modified: August 22, 2016

---

# Error log > Illegal string offset 'comment_type' in

 *  [thecookiemonster](https://wordpress.org/support/users/thecookiemonster/)
 * (@thecookiemonster)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-log-illegal-string-offset-comment_type-in/)
 * Hi, I am getting the following line in my error log. Can someone assist with 
   this?
 * [03-Nov-2014 14:33:15 UTC] PHP Warning: Illegal string offset ‘comment_type’ 
   in /home/******/public_html/wp-content/plugins/wp-no-bot-question/wp_nobot_question.
   php on line 132
 * Any ideas?
 * [https://wordpress.org/plugins/wp-no-bot-question/](https://wordpress.org/plugins/wp-no-bot-question/)

Viewing 1 replies (of 1 total)

 *  [AndyBaines](https://wordpress.org/support/users/andybaines/)
 * (@andybaines)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-log-illegal-string-offset-comment_type-in/#post-5528061)
 * I’m seeing something similar…
 *     ```
       Warning: Illegal string offset 'comment_type' in /home/content/p3pnexwpnas09_data02/46/2736446/html/wp-content/plugins/wp-no-bot-question/wp_nobot_question.php on line 138
   
       Warning: Illegal string offset 'comment_type' in /home/content/p3pnexwpnas09_data02/46/2736446/html/wp-content/plugins/wp-no-bot-question/wp_nobot_question.php on line 138
   
       Error: Please fill in the correct answer to the question.
       ```
   
 * …when someone puts the incorrect answer in, any ideas on how to fix this up please..?

Viewing 1 replies (of 1 total)

The topic ‘Error log > Illegal string offset 'comment_type' in’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-no-bot-question.svg)
 * [WP No-Bot Question](https://wordpress.org/plugins/wp-no-bot-question/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-no-bot-question/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-no-bot-question/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-no-bot-question/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-no-bot-question/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-no-bot-question/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [AndyBaines](https://wordpress.org/support/users/andybaines/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/error-log-illegal-string-offset-comment_type-in/#post-5528061)
 * Status: not resolved