Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 550 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 550 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 26 - File: global.php(872) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/global.php(872) : eval()'d code 26 errorHandler->error
/global.php 872 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error

Unintended TraceUnusedAttributes()? - Printable Version
The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 550 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 550 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 811 - File: global.php PHP 8.1.27 (FreeBSD)
File Line Function
/global.php 811 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 26 - File: global.php(872) : eval()'d code PHP 8.1.27 (FreeBSD)
File Line Function
/global.php(872) : eval()'d code 26 errorHandler->error
/global.php 872 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (FreeBSD)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (FreeBSD)
File Line Function
/printthread.php 165 errorHandler->error



Official Murl Engine Forum
Unintended TraceUnusedAttributes()? - Printable Version

+- Official Murl Engine Forum (https://murlengine.com/forum)
+-- Forum: Murl Engine (https://murlengine.com/forum/forumdisplay.php?fid=5)
+--- Forum: General (https://murlengine.com/forum/forumdisplay.php?fid=8)
+--- Thread: Unintended TraceUnusedAttributes()? (/showthread.php?tid=216)



Unintended TraceUnusedAttributes()? - Stefan - 08 Jan 2015

Hi,
when using the "excludeForUserConfigurations" attribute in a package.xml file, probably unintended warnings will show up in the debug console.
Example:

<Resource id="gfx_popup_youwin_en"          fileName="gfx_popup_youwin_en_mid1136.png"
       includeForUserConfigurations="MID"
       includeForOperatingSystems="IOS,OSX"
       excludeForUserConfigurations="DEBUG_ANDROID_QUALITY_LEVELS"
       outputStreamFormat="WEBP"
       outputPixelFormat="R8_G8_B8_A8"
       outputCompressionType="LOSSY"
       outputCompressionQuality="90"/>


Output:
Murl::Util::XmlParser::TraceUnusedAttributes(), line 208: Resource::XmlPackage: Package 'popup_youwin_en.murlres': Line 13, unknown attribute "outputStreamFormat"
Murl::Util::XmlParser::TraceUnusedAttributes(), line 208: Resource::XmlPackage: Package 'popup_youwin_en.murlres': Line 13, unknown attribute "outputPixelFormat"
Murl::Util::XmlParser::TraceUnusedAttributes(), line 208: Resource::XmlPackage: Package 'popup_youwin_en.murlres': Line 13, unknown attribute "outputCompressionType"
Murl::Util::XmlParser::TraceUnusedAttributes(), line 208: Resource::XmlPackage: Package 'popup_youwin_en.murlres': Line 13, unknown attribute "outputCompressionQuality"



RE: Unintended TraceUnusedAttributes()? - dizzy - 09 Jan 2015

Thanks for the report, the fix is already done and will be available with the upcoming update (next week).

The problem only occurred when there were both an "include" and "exclude" condition for a given item at the same time.

Best regards,

dizzy