Title: BUG: showComment function
Last modified: August 30, 2016

---

# BUG: showComment function

 *  [gazzamit](https://wordpress.org/support/users/gazzamit/)
 * (@gazzamit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/bug-showcomment-function/)
 * UserAccessManager.class.php
 * As per function _getPost, function showComment needs similar adding to prevent
   php undefinded index errors with other plugins like woocommerce / other custom
   post types.
 *  if ($this->getAccessHandler()->isPostableType($sPostType) && $sPostType != ‘
   post’ && $sPostType != ‘page’) {
    $sPostType = ‘post’; } elseif ($sPostType !
   = ‘post’ && $sPostType != ‘page’) { return $aComments; }
 * ver 1.2.6.6
 * [https://wordpress.org/plugins/user-access-manager/](https://wordpress.org/plugins/user-access-manager/)

The topic ‘BUG: showComment function’ is closed to new replies.

 * ![](https://ps.w.org/user-access-manager/assets/icon.svg?rev=1563783)
 * [User Access Manager](https://wordpress.org/plugins/user-access-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-access-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/user-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-access-manager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [gazzamit](https://wordpress.org/support/users/gazzamit/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/bug-showcomment-function/)
 * Status: not resolved