Skip to content

Undefined method addToolbar() in Joomla 4.4 #378

@muhme

Description

@muhme

Steps to reproduce the issue

  • Install Joomla 4.4 dev branch with ‎4.4.14-dev
  • Install com_patchtester_4.4.0.tar.bz2
  • Try to open the Patch Tester component administrator/index.php?option=com_patchtester&view=pulls

Expected result

  • Patch Tester is working in Joomla 4.4

Actual result

500: Internal Server Error

  Uncaught Throwable of type Error thrown with message "Call to undefined method Joomla\CMS\Document\HtmlDocument::getToolbar()".
  Stack trace: #0 [ROOT]/administrator/components/com_patchtester/src/View/Pulls/HtmlView.php(134):
  Joomla\Component\Patchtester\Administrator\View\Pulls\HtmlView->addToolbar()

System information (as much as possible)

Found by @dautrich in JBT#15

Additional comments

  • Does Patch Tester support Joomla 4.4?
  • Enabling 'Behaviour - Backward Compatibility' doesn't help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions