?
Referenced as Pull Request for: # 5867
avatar zero-24
zero-24
20 Jan 2015

Steps to reproduce the issue

http://www.example.org/administrator/index.php?option=com_config&task=application.removeroot&38c457982fff49a4c11a46989cd3b10f=1

Expected result

the $root_user var gets removed from the configuration.php.

Actual result

Warning: Creating default object from empty value in JROOT\administrator\components\com_config\config.php on line 28

Fatal error: Call to undefined method stdClass::execute() in JROOT\administrator\components\com_config\config.php on line 31

Additional comments

It works with 2.5.28

avatar zero-24 zero-24 - open - 20 Jan 2015
avatar brianteeman
brianteeman - comment - 21 Jan 2015

I can confirm this


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5836.
avatar brianteeman brianteeman - change - 21 Jan 2015
Status New Confirmed
avatar prasoon2211
prasoon2211 - comment - 22 Jan 2015

I looked into this. The error is in ./administrator/components/com_config/controller/application/removeroot.php, line 107 where the $controllerName is found wrong and that returns a bool instead of a JController. I'll submit a patch soon.

avatar brianteeman
brianteeman - comment - 22 Jan 2015

Great

On 22 January 2015 at 09:46, Prasoon Shukla notifications@github.com
wrote:

I looked into this. The error is in
./administrator/components/com_config/controller/application/removeroot.php,
line 107 where the $controllerName is found wrong and that returns a bool
instead of a JController. I'll submit a patch soon.


Reply to this email directly or view it on GitHub
#5836 (comment).

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar zero-24 zero-24 - change - 22 Jan 2015
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2015-01-22 14:56:33
Closed_By zero-24
avatar zero-24 zero-24 - close - 22 Jan 2015
avatar zero-24 zero-24 - close - 22 Jan 2015
avatar zero-24
zero-24 - comment - 22 Jan 2015

Thanks @prasoon2211 PR is #5867 closing here


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5836.
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?
avatar cferrarini
cferrarini - comment - 7 Mar 2017

Detected the same error messages when clicking on the "Options" Gear Icon top-right corner - Managing articles or Menus.
It is a fresh installation of 3.65 Joomla Yootheme Master 2 demo.
It is curious that I do not recognize the path '/home/storage/c/71/41/chmconsultores3'...

Warning: Creating default object from empty value in /home/storage/c/71/41/chmconsultores3/public_html/site/administrator/components/com_config/config.php on line 28

Fatal error: Call to undefined method stdClass::execute() in /home/storage/c/71/41/chmconsultores3/public_html/site/administrator/components/com_config/config.php on line 31


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

Add a Comment

Login with GitHub to post a comment