No Code Attached Yet
avatar xillibit
xillibit
17 Mar 2024

Steps to reproduce the issue

Open the backend and you will get the error. I have xdebug activated so i can see it directly :

image

I have just done an update on my repo and like said here : #43040 i have checked the table #__guidedtours it has already the column autostart.
Under System -> Database, i have nothing to apply.

Expected result

No warning

Actual result

PHP Warning: Attempt to read property "autostart" on null in \joomla-cms-5.1-dev\plugins\system\guidedtours\src\Extension\GuidedTours.php on line 166
PHP Stack trace:
PHP 1. {main}() \joomla-cms-5.1-dev\administrator\index.php:0
PHP 2. require_once() \joomla-cms-5.1-dev\administrator\index.php:32
[17-Mar-2024 14:43:35 UTC] PHP 3. Joomla\CMS\Application\CMSApplication->execute() \joomla-cms-5.1-dev\administrator\includes\app.php:58
PHP 4. Joomla\CMS\Application\AdministratorApplication->render() \joomla-cms-5.1-dev\libraries\src\Application\CMSApplication.php:311
PHP 5. Joomla\CMS\Application\CMSApplication->render() \joomla-cms-5.1-dev\libraries\src\Application\AdministratorApplication.php:434
PHP 6. Joomla\CMS\Document\HtmlDocument->render($caching = FALSE, $params = ['template' => 'atum', 'file' => 'cpanel.php', 'params' => class Joomla\Registry\Registry { protected $data = class stdClass { ... }; protected $initialized = TRUE; protected $separator = '.' }, 'csp_nonceC:\Users\flo\git\joomla-cms-5.1-dev\libraries\src\Application\CMSApplication.php:1073
PHP 7. Joomla\CMS\Document\HtmlDocument->_renderTemplate() \joomla-cms-5.1-dev\libraries\src\Document\HtmlDocument.php:647
PHP 8. Joomla\CMS\Document\HtmlDocument->getBuffer($type = 'metas', $name = NULL, $attribs = []) \joomla-cms-5.1-dev\libraries\src\Document\HtmlDocument.php:894
PHP 9. Joomla\CMS\Document\Renderer\Html\MetasRenderer->render($head = NULL, $params = [], $content = NULL) \joomla-cms-5.1-dev\libraries\src\Document\HtmlDocument.php:575
PHP 10. Joomla\Event\Dispatcher->dispatch($name = 'onBeforeCompileHead', $event = class Joomla\CMS\Event\Application\BeforeCompileHeadEvent { protected $name = 'onBeforeCompileHead'; protected $arguments = ['subject' => class Joomla\CMS\Application\AdministratorApplication { ... }, 'document' => class Joomla\CMS\Document\HtmlDocument { ... }]; protected $stopped = FALSE; private ${Joomla\CMS\Event\AbstractImmutableEvent}constructed = TRUE }) \joomla-cms-5.1-dev\libraries\src\Document\Renderer\Html\MetasRenderer.php:62
PHP 11. Joomla\Plugin\System\GuidedTours\Extension\GuidedTours->onBeforeCompileHead(class Joomla\CMS\Event\Application\BeforeCompileHeadEvent { protected $name = 'onBeforeCompileHead'; protected $arguments = ['subject' => class Joomla\CMS\Application\AdministratorApplication { ... }, 'document' => class Joomla\CMS\Document\HtmlDocument { ... }]; protected $stopped = FALSE; private ${Joomla\CMS\Event\AbstractImmutableEvent}constructed = TRUE }) \joomla-cms-5.1-dev\libraries\vendor\joomla\event\src\Dispatcher.php:454

System information (as much as possible)

Joomla: 5.1-beta2-dev
Php : 8.2.17
MariaDB : 10.4.13

Additional comments

avatar xillibit xillibit - open - 17 Mar 2024
avatar joomla-cms-bot joomla-cms-bot - change - 17 Mar 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Mar 2024
avatar xillibit xillibit - change - 17 Mar 2024
The description was changed
avatar xillibit xillibit - edited - 17 Mar 2024
avatar Quy Quy - change - 17 Mar 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-03-17 14:53:19
Closed_By Quy
avatar Quy Quy - close - 17 Mar 2024
avatar Quy
Quy - comment - 17 Mar 2024

Fixed per #43031. Thanks.

avatar xillibit
xillibit - comment - 23 Mar 2024

The issue is still here, i have updated my local git repo of 5.1-dev from today

image

avatar Quy Quy - change - 23 Mar 2024
Status Closed New
Closed_Date 2024-03-17 14:53:19
Closed_By Quy
avatar Quy Quy - reopen - 23 Mar 2024
avatar Quy
Quy - comment - 23 Mar 2024
avatar obuisard
obuisard - comment - 23 Mar 2024

Hello Florian @xillibit, I tried a fresh 5.1 beta2 install and I cannot reproduce the issue.
I have also tried the udpate.
In which page did you encounter the error?

avatar xillibit xillibit - change - 23 Mar 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-03-23 21:08:39
Closed_By xillibit
avatar xillibit xillibit - close - 23 Mar 2024
avatar xillibit
xillibit - comment - 23 Mar 2024

I have deleted my local repo and downloaded from github and the error has disappeared now

avatar Quy
Quy - comment - 24 Mar 2024

PR #43139

Add a Comment

Login with GitHub to post a comment