- Posts: 59
- Thank you received: 0
Helpdesk Pro - Articles Missing Category ID in Knowledge Base View
- AdinaG
-
Topic Author
- Offline
- Senior Member
-
Less
More
8 months 1 week ago #171135
by AdinaG
Helpdesk Pro - Articles Missing Category ID in Knowledge Base View was created by AdinaG
Hello,
I am experiencing an issue with the Knowledge Base Categories view in Helpdesk Pro.
I attempted to see if ChatGPT and I could narrow this down, but was unable to pinpoint the issue, so Im here hoping you guys can address this.
Im receiving the following server error. It appears to be giving ONE error for EVERY article that is displayed on the page. So if there are 15 articles, then it will throw 15 errors.
[STDERR] PHP Warning: Undefined property: stdClass::$category_id in /home/xxxxx/public_html/xxxxx/components/com_helpdeskpro/View/Categories/tmpl/default.php on line 57\nIssue Details:
I am experiencing an issue with the Knowledge Base Categories view in Helpdesk Pro.
I attempted to see if ChatGPT and I could narrow this down, but was unable to pinpoint the issue, so Im here hoping you guys can address this.
Im receiving the following server error. It appears to be giving ONE error for EVERY article that is displayed on the page. So if there are 15 articles, then it will throw 15 errors.
[STDERR] PHP Warning: Undefined property: stdClass::$category_id in /home/xxxxx/public_html/xxxxx/components/com_helpdeskpro/View/Categories/tmpl/default.php on line 57\nIssue Details:
- The articles display correctly under their assigned categories, but the
is missing from the retrieved article data.Code:category_id
- We checked the database, and every article has a valid
inCode:category_id.Code:#__helpdeskpro_articles
- The query used to fetch articles appears to join
correctly, butCode:#__helpdeskpro_categoriesis not being assigned to the article object.Code:category_id
- This results in articles being displayed under "No Category" on the frontend.
- Verified that all articles have an assigned
in the database.Code:category_id
- Printed debug output of the
object inCode:$article→Code:default.phpis missing.Code:category_id
- Reviewed
to confirm the SQL query retrievesCode:Model/Articles.php.Code:category_id
- Tried modifying the query in
to explicitly selectCode:Articles.php, but no change.Code:tbl.category_id
- Checked
for howCode:Model/Categories.phpis assigned → appears to be missingCode:$item->articles.Code:category_id
- Joomla Version: 5.2.3
- Helpdesk Pro Version: 6.0.3
- PHP Version: 8.3
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 months 1 week ago #171141
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Helpdesk Pro - Articles Missing Category ID in Knowledge Base View
Hi Adina
For this, we will have to check it directly on your site. Please submit a support ticket sending us super user account of your site and link to the page which I can see the error
I will check to see why the error happens and get it sorted
Regards,
Tuan
For this, we will have to check it directly on your site. Please submit a support ticket sending us super user account of your site and link to the page which I can see the error
I will check to see why the error happens and get it sorted
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.