?
avatar kasvith
kasvith
19 Jul 2017

Steps to reproduce the issue

  • Do a fresh install from repo
  • Go to Global Settings
  • Enable Debugging
  • Save

Expected result

  • No warnings at all

Actual result

An error regarding this

image

System information (as much as possible)

PHP 7.0 MacOSX Sierra with XAMMP

Additional comments

avatar kasvith kasvith - open - 19 Jul 2017
avatar joomla-cms-bot joomla-cms-bot - change - 19 Jul 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Jul 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Jul 2017
Category Administration
avatar C-Lodder
C-Lodder - comment - 19 Jul 2017

Issue confirmed

avatar C-Lodder
C-Lodder - comment - 19 Jul 2017

Only thing I can do to fix this is, replacing the if statement here: https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/CMS/Helper/ModuleHelper.php#L276

with this:

if (JDEBUG && isset($module->module) && isset($module->title))
{
	\JProfiler::getInstance('Application')->mark('afterRenderModule ' . $module->module . ' (' . $module->title . ')');
}

But not sure that's the best approach.

@mbabker @laoneo ?

avatar zero-24
zero-24 - comment - 19 Jul 2017

the issue comes from here: #17056

avatar zero-24
zero-24 - comment - 19 Jul 2017
avatar zero-24
zero-24 - comment - 19 Jul 2017
avatar zero-24 zero-24 - change - 19 Jul 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-07-19 17:43:22
Closed_By zero-24
avatar zero-24 zero-24 - close - 19 Jul 2017
avatar C-Lodder
C-Lodder - comment - 19 Jul 2017

thanks @zero-24

avatar kasvith
kasvith - comment - 21 Jul 2017

@zero-24 any update?

avatar zero-24
zero-24 - comment - 21 Jul 2017

You need to test my PR at #17182 ;) thank George can merge it :)

Add a Comment

Login with GitHub to post a comment