UNIT3D-Community-Edition
UNIT3D-Community-Edition copied to clipboard
[Bug] Wiki page and Wiki Categories page is blank
UNIT3D Version
8.1.3
PHP & Platform
8.3.9 - Ubuntu 22.04.4 LTS x64
Laravel verion
11.5.0
Have you done this?
- [ ] I am willing to share my stack trace and logs
- [ ] I can suggest a fix as a Pull Request
Expectation
Wikis page and Wiki Categories page to show something like pages or add option to add content in wiki and wiki categories
Description
Hi, I recently installed Unit3D on my server and but later while reviewing all the available options in unit3d site, i found out that there is no way to add content into Wiki page and into Wiki Categories page.
Please suggest what i should do to debug this issue or tell me the fix.
Thank you
Here are some screenshots :
Stack trace & logs
No response
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- We receive the funding once the issue is completed & confirmed by you.
- Thank you in advance for helping prioritize & fund our backlog.
Looks to be caused by Laravel thinking an empty section is non-existent even if it exists (empty for loop):
https://github.com/laravel/framework/blob/75d7b47191beeaa3cb3b59eeb5a3142561a9cb29/src/Illuminate/View/Compilers/Concerns/CompilesConditionals.php#L137
https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/8665ce08483cc30badc5c879aff74bfd32dbf327/resources/views/layout/default.blade.php#L48
Easiest temporary workaround would be for you to append a /create to the url, which will bring you to the new wiki category page. Upon submitting the form to add a new category, the ui will appear on the main page to manage the wikis.
Looks to be caused by Laravel thinking an empty section is non-existent even if it exists (empty for loop):
https://github.com/laravel/framework/blob/75d7b47191beeaa3cb3b59eeb5a3142561a9cb29/src/Illuminate/View/Compilers/Concerns/CompilesConditionals.php#L137
https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/8665ce08483cc30badc5c879aff74bfd32dbf327/resources/views/layout/default.blade.php#L48
Easiest temporary workaround would be for you to append a
/createto the url, which will bring you to the new wiki category page. Upon submitting the form to add a new category, the ui will appear on the main page to manage the wikis.
Thanks, The solution worked!!
Ideally the sidebar should still show if no wikis exist, so I'll reopen this until it's fixed.
Fixed for next release in #4470
Hi I'm in hospital with my wife from 4 days, I'll revert on works after my wife gets released from here
On Fri, 21 Feb, 2025, 4:31 am HDVinnie, @.***> wrote:
Fixed for next release in #4470 https://github.com/HDInnovations/UNIT3D-Community-Edition/pull/4470
— Reply to this email directly, view it on GitHub https://github.com/HDInnovations/UNIT3D-Community-Edition/issues/3987#issuecomment-2672898229, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX6GEXRU4YWS5CGMOIBQWPD2QZNELAVCNFSM6AAAAABLBTGHDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZSHA4TQMRSHE . You are receiving this because you modified the open/close state.Message ID: @.*** com> [image: HDVinnie]HDVinnie left a comment (HDInnovations/UNIT3D-Community-Edition#3987) https://github.com/HDInnovations/UNIT3D-Community-Edition/issues/3987#issuecomment-2672898229
Fixed for next release in #4470 https://github.com/HDInnovations/UNIT3D-Community-Edition/pull/4470
— Reply to this email directly, view it on GitHub https://github.com/HDInnovations/UNIT3D-Community-Edition/issues/3987#issuecomment-2672898229, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX6GEXRU4YWS5CGMOIBQWPD2QZNELAVCNFSM6AAAAABLBTGHDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZSHA4TQMRSHE . You are receiving this because you modified the open/close state.Message ID: @.*** com>