No Code Attached Yet
avatar boddunan
boddunan
30 Oct 2021

Steps to reproduce the issue

Create a custom component with categories support and do not add /components/$component/forms/$name.xml file

Expected result

No PHP warning messages shown

Actual result

PHP warning messages shown as below
Warning: Undefined variable $ref_key in /root../administrator/components/com_categories/src/View/Categories/HtmlView.php on line 302

Warning: Undefined variable $url in /root../administrator/components/com_categories/src/View/Categories/HtmlView.php on line 318

Warning: Undefined variable $url in /root../administrator/components/com_categories/src/View/Categories/HtmlView.php on line 328

System information (as much as possible)

Joomla 4.0.4 and above

Additional comments

The bug was introduced in Joomla 4.0.4

avatar boddunan boddunan - open - 30 Oct 2021
avatar joomla-cms-bot joomla-cms-bot - change - 30 Oct 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Oct 2021
avatar boddunan boddunan - change - 30 Oct 2021
Title
Fixed PHP Warning messages for using uninitialized variables
PHP Warning messages for using uninitialized variables
avatar boddunan boddunan - edited - 30 Oct 2021
avatar joomdonation joomdonation - change - 30 Oct 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-10-30 05:48:47
Closed_By joomdonation
avatar joomdonation joomdonation - close - 30 Oct 2021
avatar joomdonation
joomdonation - comment - 30 Oct 2021

@boddunan You do not need to create an issue to open a PR to fix it. In the future, please open directly. Thanks.

Add a Comment

Login with GitHub to post a comment