Support

Admin Tools

#27581 CLI PHP scanner through Cronjob fails after upgrading to j3.7.0

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by Gamx on Wednesday, 26 April 2017 06:48 CDT

Gamx
Tested in three sites (different servers) before posting ... Same results:

ERROR output:

You are using PHP 7.1.4 (cli)
Unsetting time limit restrictions.
Site paths determined by this script:
JPATH_BASE : /path/to/public/
JPATH_ADMINISTRATOR : /path/to/public/administrator
Starting file scanning
Last Tick   : 2017-04-25 18:54:57 GMT+0000 (UTC)
Memory used : 1.49 Mb
Warnings    : no warnings issued (good)
********** ERROR! **********
Call to a member function get() on null
Technical information:
Code: 0
File: /path/to/public/libraries/joomla/session/handler/joomla.php
Line: 71
Stack Trace:
#0 /path/to/public/libraries/joomla/session/session.php(648): JSessionHandlerJoomla->start()
#1 /path/to/public/libraries/joomla/session/session.php(608): JSession->_start()
#2 /path/to/public/libraries/joomla/session/session.php(486): JSession->start()
#3 /path/to/public/libraries/joomla/factory.php(236): JSession->get('user')
#4 /path/to/public/administrator/components/com_admintools/platform/Filescan/Platform.php(368): JFactory::getUser()
#5 /path/to/public/administrator/components/com_admintools/engine/Platform.php(272): Akeeba\Engine\Platform\Filescan->get_local_timestamp('Ymd')
#6 /path/to/public/administrator/components/com_admintools/engine/Util/FileSystem.php(145): Akeeba\Engine\Platform->__call('get_local_times...', Array)
#7 /path/to/public/administrator/components/com_admintools/engine/Util/FileSystem.php(174): Akeeba\Engine\Util\FileSystem->get_archive_name_variables()
#8 /path/to/public/administrator/components/com_admintools/engine/Core/Domain/Init.php(446): Akeeba\Engine\Util\FileSystem->replace_archive_name_variables('admintools_file...')
#9 /path/to/public/administrator/components/com_admintools/engine/Core/Domain/Init.php(264): Akeeba\Engine\Core\Domain\Init->getArchiveName()
#10 /path/to/public/administrator/components/com_admintools/engine/Base/Part.php(255): Akeeba\Engine\Core\Domain\Init->_run()
#11 /path/to/public/administrator/components/com_admintools/engine/Core/Kettenrad.php(314): Akeeba\Engine\Base\Part->tick()
#12 /path/to/public/administrator/components/com_admintools/engine/Base/Part.php(259): Akeeba\Engine\Core\Kettenrad->_run()
#13 /path/to/public/cli/admintools-filescanner.php(236): Akeeba\Engine\Base\Part->tick()
#14 /path/to/public/cli/admintools-filescanner.php(322): AdminToolsFAM->execute()
#15 {main}
xxxx:~#


Hope this helps to debug it soon.

best.

nicholas
Akeeba Staff
Manager
It looks like Joomla! broke the session package AGAIN sometime in the last two release candidate versions we didn't have the chance to test due to travelling. I will release new versions of our software today to address this issue.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Gamx
[TICKET-CLOSED] Sounds enough :) ... Thanks in advance!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!