?
avatar udf2457
udf2457
26 Apr 2017

Run the Akeeba Backup Professional script:

www/cli/akeeba-backup.php --quiet

It throws the following:


Call to a member function get() on null

Technical information:

Code: 0
File: /home/MYSITE/public_html/libraries/joomla/session/handler/joomla.php
Line: 71

Stack Trace:

#0 /home/MYSITE/public_html/libraries/joomla/session/session.php(648): JSessionHandlerJoomla->start()
#1 /home/MYSITE/public_html/libraries/joomla/session/session.php(608): JSession->_start()
#2 /home/MYSITE/public_html/libraries/joomla/session/session.php(486): JSession->start()
#3 /home/MYSITE/public_html/libraries/joomla/factory.php(236): JSession->get('user')
#4 /home/MYSITE/public_html/administrator/components/com_akeeba/BackupPlatform/Joomla3x/Platform.php(365): JFactory::getUser()
#5 /home/MYSITE/public_html/administrator/components/com_akeeba/BackupEngine/Platform.php(272): Akeeba\Engine\Platform\Joomla3x->get_local_timestamp('Ymd')
#6 /home/MYSITE/public_html/administrator/components/com_akeeba/BackupEngine/Util/FileSystem.php(145): Akeeba\Engine\Platform->__call('get_local_times...', Array)
#7 /home/MYSITE/public_html/administrator/components/com_akeeba/BackupEngine/Util/FileSystem.php(174): Akeeba\Engine\Util\FileSystem->get_archive_name_variables()
#8 /home/MYSITE/public_html/administrator/components/com_akeeba/BackupEngine/Core/Domain/Init.php(446): Akeeba\Engine\Util\FileSystem->replace_archive_name_variables('site-[HOST]-[DA...')
#9 /home/MYSITE/public_html/administrator/components/com_akeeba/BackupEngine/Core/Domain/Init.php(264): Akeeba\Engine\Core\Domain\Init->getArchiveName()
#10 /home/MYSITE/public_html/administrator/components/com_akeeba/BackupEngine/Base/Part.php(255): Akeeba\Engine\Core\Domain\Init->_run()
#11 /home/MYSITE/public_html/administrator/components/com_akeeba/BackupEngine/Core/Kettenrad.php(314): Akeeba\Engine\Base\Part->tick()
#12 /home/MYSITE/public_html/administrator/components/com_akeeba/BackupEngine/Base/Part.php(259): Akeeba\Engine\Core\Kettenrad->_run()
#13 /home/MYSITE/public_html/administrator/components/com_akeeba/Model/Backup.php(217): Akeeba\Engine\Base\Part->tick()
#14 /home/MYSITE/public_html/cli/akeeba-backup.php(239): Akeeba\Backup\Admin\Model\Backup->startBackup(Array)
#15 /home/MYSITE/public_html/cli/akeeba-backup.php(428): AkeebaBackupCLI->execute()
#16 {main}

Votes

# of Users Experiencing Issue
2/2
Average Importance Score
5.00

avatar udf2457 udf2457 - open - 26 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Apr 2017
avatar nzampella
nzampella - comment - 27 Apr 2017

J! 3.7 also breaks CRON jobs for CiviCRM:

PHP Fatal error: Call to a member function get() on null in /home/nwtaadmin/public_html/libraries/joomla/session/handler/joomla.php on line 71


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15603.
avatar nzampella
nzampella - comment - 27 Apr 2017

FWIW ... Nicolas is creating a work around for Akeeba backup cli jobs. I only hope that I can use it to get the CiviCRM job running.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15603.

avatar mbabker
mbabker - comment - 27 Apr 2017

For reference the only command line scripts that are affected are those which through some chain of events ends up calling JFactory::getSession(). So not all CLI systems are broken (unfortunately none of the core CLI scripts have this kind of internal dependency).

Anywho, #15605 fixes this. Closing in favor of the PR.

avatar mbabker mbabker - change - 27 Apr 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-04-27 00:34:37
Closed_By mbabker
avatar mbabker mbabker - close - 27 Apr 2017

Add a Comment

Login with GitHub to post a comment