-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Warning: Attempt to read property "autostart" on null on GuidedTours.php on line 166 #43072
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce the issue
Open the backend and you will get the error. I have xdebug activated so i can see it directly :
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$stopped = FALSE; private $ {Joomla\CMS\Event\AbstractImmutableEvent}constructed = TRUE }) \joomla-cms-5.1-dev\libraries\src\Document\Renderer\Html\MetasRenderer.php:62$stopped = FALSE; private $ {Joomla\CMS\Event\AbstractImmutableEvent}constructed = TRUE }) \joomla-cms-5.1-dev\libraries\vendor\joomla\event\src\Dispatcher.php:454
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
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
System information (as much as possible)
Joomla: 5.1-beta2-dev
Php : 8.2.17
MariaDB : 10.4.13
Additional comments
The text was updated successfully, but these errors were encountered: