Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: Call to undefined method #177

Closed
dinbhar opened this issue Jan 20, 2023 · 1 comment
Closed

Uncaught Error: Call to undefined method #177

dinbhar opened this issue Jan 20, 2023 · 1 comment

Comments

@dinbhar
Copy link

dinbhar commented Jan 20, 2023

Getting this error while creating reports.

Uncaught Error: Call to undefined method Icinga\Module\Reporting\Web\Forms\ReportForm::translate() in /usr/share/icingaweb2/modules/reporting/library/Reporting/Web/Forms/ReportForm.php:38
Stack trace:
#0 /usr/share/icinga-php/ipl/vendor/ipl/html/src/HtmlDocument.php(295): Icinga\Module\Reporting\Web\Forms\ReportForm->assemble()
#1 /usr/share/icinga-php/ipl/vendor/ipl/html/src/Form.php(197): ipl\Html\HtmlDocument->ensureAssembled()
#2 /usr/share/icingaweb2/modules/reporting/application/controllers/ReportsController.php(99): ipl\Html\Form->handleRequest()
#3 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Module\Reporting\Controllers\ReportsController->newAction()
#4 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch()
#5 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch()
#6 /usr/share/php/Icinga/Application/Web.php(290): Zend_Controller_Front->dispatch()
#7 /usr/share/php/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch()
#8 /usr/share/icingaweb2/public/index.php(4): require_once('...')
#9 {main}
thrown

Icinga Web 2 Version | 2.11.1
PHP Version | 8.1.13

Loaded Libraries

icinga/icinga-php-thirdparty | 0.11.0
icinga/icinga-php-library | 0.9.1

@yhabteab
Copy link
Member

Hii @dinbhar, thanks for the report.

Since these changes have not yet been released, you must either check out a release tag, e.g. 0.10.0 or check out ipl-html the master as well, which is not recommended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants