Opened 6 years ago
Closed 5 years ago
#13509 closed Bug Report - General (Fixed)
Mythweb Throws Errors in Ubuntu 18.04.3 LTS
Reported by: | simplyseth | Owned by: | Stuart Auchterlonie |
---|---|---|---|
Priority: | major | Milestone: | 31.0 |
Component: | Plugin - MythWeb | Version: | v30-fixes |
Severity: | medium | Keywords: | mythweb, ubuntu, php7.2 |
Cc: | Ticket locked: | no |
Description
OS
- Ubuntu 18.04.3 LTS AMD64
Package versions
Package | Version |
---|---|
apache2 | 2.4.29-1ubuntu4 |
mythweb | 2:30.0+fixes.20 |
php-common | 1:60ubuntu1 |
php7.2-common | 7.2.24-0ubuntu0.18.04.1 |
mythtv | 2:30.0+fixes.20 |
Error output
Warning at /usr/share/mythtv/mythweb/includes/utils.php, line 334: !!NoTrans: Use of undefined constant tmpl - assumed 'tmpl' (this will throw an Error in a future version of PHP)!! Warning at /usr/share/mythtv/mythweb/includes/utils.php, line 335: !!NoTrans: Use of undefined constant tmpl - assumed 'tmpl' (this will throw an Error in a future version of PHP)!!
Fatal error: Uncaught Error: Call to undefined function t() in /usr/share/mythtv/mythweb/modules/database/init.php:10 Stack trace: #0 /usr/share/mythtv/mythweb/classes/Modules.php(30): require_once() #1 /usr/share/mythtv/mythweb/classes/Modules.php(50): Modules::load() #2 /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php(144): Modules::getModule('tv') #3 /usr/share/mythtv/mythweb/modules/_shared/tmpl/_errors/error.php(19): include('/usr/share/myth...') #4 /usr/share/mythtv/mythweb/includes/errordisplay.php(198): require_once('/usr/share/myth...') #5 /usr/share/mythtv/bindings/php/MythBackend.php(77): custom_error('Unable to conne...') #6 /usr/share/mythtv/bindings/php/MythBackend.php(138): MythBackend->connect(false) #7 /usr/share/mythtv/mythweb/includes/utils.php(56): MythBackend->sendCommand(Array) #8 /usr/share/mythtv/mythweb/includes/db_update.php(57): setting('recommend_enabl...', NULL, false) #9 /usr/share/mythtv/mythweb/includes/init.php(46): require_once('/usr/share/myth...') #10 /usr/share/mythtv/ in /usr/share/mythtv/mythweb/modules/database/init.php on line 10
Attachments (1)
Change History (3)
Changed 6 years ago by
Attachment: | full_error.txt added |
---|
comment:1 Changed 5 years ago by
I think these errors may only occur when mythbackend is not running. At least that's when I saw these errors. It would be nice if mythweb could produce more informative output when the backend isn't running, but if it is running, mythweb should be OK.
comment:2 Changed 5 years ago by
Milestone: | needs_triage → 31.0 |
---|---|
Resolution: | → Fixed |
Status: | new → closed |
We have fixed a lot of issues related to PHP-7.2 (and later), so i'm closing this as fixed.
Please open a new ticket if you have further issues.
Note: See
TracTickets for help on using
tickets.
Full Output