Title: Error getting category options
Last modified: September 13, 2024

---

# Error getting category options

 *  Resolved [Nick the Geek](https://wordpress.org/support/users/nick_thegeek/)
 * (@nick_thegeek)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-getting-category-options/)
 * Hi,
 * I’m getting the following error
 * > **Warning**: Trying to access array offset on value of type bool in **/var/
   > www/html/wp-content/plugins/wp-discussion-board/includes/classes/class-ct-db-
   > front-end.php** on line **1260**
 * This line is
 *     ```wp-block-code
       $position = $options['categories_position'];
       ```
   
 * I’m not sure why the options do not exist as expected. I went to the settings
   and saved each tab but that did not resolve it. If I edit the line like this 
   the error is resolved:
 *     ```wp-block-code
       $position = is_array( $options ) && isset( $options['categories_position'] ) ? $options['categories_position'] : '';
       ```
   

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

 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-getting-category-options/#post-18019347)
 * Hi [@nick_thegeek](https://wordpress.org/support/users/nick_thegeek/),
 * Thanks for reaching out to our support threads. We have now relayed this to our
   development team for further troubleshooting.
 * We’ll keep you posted!
 * Kind Regards,
   Mej, from the Discussions Boards Team
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/error-getting-category-options/#post-18037743)
 * Hi [@nick_thegeek](https://wordpress.org/support/users/nick_thegeek/),
 * We’re excited to inform you that we’ve just released a new version of Discussion
   Boards (v2.5.5). This update addresses the issue related to errors in category
   options.
 * We kindly recommend updating to the latest version at your earliest convenience
   to benefit from these improvements.
 * If you have any questions, feel free to reach out.
 * Best regards,
   Mej, from the Discussion Boards Team

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

The topic ‘Error getting category options’ is closed to new replies.

 * ![](https://ps.w.org/wp-discussion-board/assets/icon-256x256.gif?rev=2763883)
 * [Discussion Board - WordPress Forum Plugin](https://wordpress.org/plugins/wp-discussion-board/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-discussion-board/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-discussion-board/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-discussion-board/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-discussion-board/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-discussion-board/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Mej de Castro](https://wordpress.org/support/users/mej/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/error-getting-category-options/#post-18037743)
 * Status: resolved