?
avatar photodude
photodude
20 Jan 2016

Replicate issue:
1. Turn debug with logging on
2. Go to Site side with template protostar
3. Edit article
4. Use editor button for article

Modal throws the following errors
Notice: Trying to get property of non-object in \plugins\system\debug\debug.php on line 1794
Notice: Trying to get property of non-object in \plugins\system\debug\debug.php on line 1795

for line 1794
Call Stack

num Time Memory Function Location
1 0.0030 142712 {main}( ) ..\index.php:0
2 0.1277 2329448 JApplicationCms->execute( ) ..\index.php:45
3 1.0734 10442456 JApplicationBase->triggerEvent( ) ..\cms.php:274
4 1.0734 10442488 JEventDispatcher->trigger( ) ..\base.php:106
5 1.0734 10442800 JEvent->update( ) ..\dispatcher.php:160
6 1.0735 10443080 call_user_func_array ( ) ..\event.php:69
7 1.0735 10443096 PlgSystemDebug->onAfterRespond( ) ..\event.php:69
8 1.0785 10462864 PlgSystemDebug->display( ) ..\debug.php:254
9 1.0788 10463896 PlgSystemDebug->displayProfileInformation( ) ..\debug.php:373
10 1.0830 10480256 PlgSystemDebug->writeToFile( ) ..\debug.php:651

for line 1795
Call Stack

num Time Memory Function Location
1 0.0030 142712 {main}( ) ..\index.php:0
2 0.1277 2329448 JApplicationCms->execute( ) ..\index.php:45
3 1.0734 10442456 JApplicationBase->triggerEvent( ) ..\cms.php:274
4 1.0734 10442488 JEventDispatcher->trigger( ) ..\base.php:106
5 1.0734 10442800 JEvent->update( ) ..\dispatcher.php:160
6 1.0735 10443080 call_user_func_array ( ) ..\event.php:69
7 1.0735 10443096 PlgSystemDebug->onAfterRespond( ) ..\event.php:69
8 1.0785 10462864 PlgSystemDebug->display( ) ..\debug.php:254
9 1.0788 10463896 PlgSystemDebug->displayProfileInformation( ) ..\debug.php:373
10 1.0830 10480256 PlgSystemDebug->writeToFile( ) ..\debug.php:651

Discovered while testing #8508

avatar photodude photodude - open - 20 Jan 2016
avatar infograf768
infograf768 - comment - 20 Jan 2016

I can't reproduce these Notices here.
1794 is an empty line
1795 is if ($app->isSite())

avatar alikon
alikon - comment - 20 Jan 2016

@infograf768 to replicate the issue you need to have enabled log SQL executed query, I'll work for a fix

avatar alikon alikon - reference | 03afbc6 - 20 Jan 16
avatar infograf768
infograf768 - comment - 20 Jan 2016

Ok, confirming here.

lines 1797 and line 1798


            $alias = $app->getMenu()->getActive()->alias;
            $id    = $app->getMenu()->getActive()->id;


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

avatar alikon
alikon - comment - 21 Jan 2016

this can be closed as there is a PR #8949

avatar brianteeman brianteeman - close - 21 Jan 2016
avatar joomla-cms-bot joomla-cms-bot - close - 21 Jan 2016
avatar infograf768 infograf768 - change - 21 Jan 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-01-21 07:37:14
Closed_By infograf768
avatar infograf768
infograf768 - comment - 21 Jan 2016
avatar joomla-cms-bot joomla-cms-bot - close - 21 Jan 2016
avatar infograf768
infograf768 - comment - 21 Jan 2016

Closed as we have #8949


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

avatar brianteeman brianteeman - change - 8 Mar 2016
Labels Added: ?

Add a Comment

Login with GitHub to post a comment