<![CDATA[ Error viewing version details, undefined constant ENT_SUBSTITUTE - MODX Community Forums]]> https://forums.modx.com/thread/?thread=84902 <![CDATA[Re: Error viewing version details, undefined constant ENT_SUBSTITUTE]]> https://forums.modx.com/thread/84902/error-viewing-version-details-undefined-constant-ent-substitute#dis-post-468149
Without turning error reporting off, the entire manager breaks (blank screen with notice).
With error reporting off, it does however seem to function normally. Thnx for the tip.
]]>
nondotzero Jun 05, 2013, 12:01 PM https://forums.modx.com/thread/84902/error-viewing-version-details-undefined-constant-ent-substitute#dis-post-468149
<![CDATA[Re: Error viewing version details, undefined constant ENT_SUBSTITUTE]]> https://forums.modx.com/thread/84902/error-viewing-version-details-undefined-constant-ent-substitute#dis-post-468147
It looks like the ENT_SUBSTITUTE flag is only available in PHP 5.4 and up. I hadn't noticed that requirement when I added it... my bad lipsrsealed

Can you just disable error reporting for now, or does it cause issues other than the notice appearing at the top of the screen? I opened an issue on github (https://github.com/Mark-H/VersionX2/issues/58) to fix it for the next minor version.
]]>
markh Jun 05, 2013, 11:47 AM https://forums.modx.com/thread/84902/error-viewing-version-details-undefined-constant-ent-substitute#dis-post-468147
<![CDATA[Error viewing version details, undefined constant ENT_SUBSTITUTE]]> https://forums.modx.com/thread/84902/error-viewing-version-details-undefined-constant-ent-substitute#dis-post-468143
Notice: Use of undefined constant ENT_SUBSTITUTE - assumed 'ENT_SUBSTITUTE' in X:\*\www\core\components\versionx\model\versionx.class.php on line 769


Modx 2.2.8
VersionX 2.1.0
Running on IIS 7.5, PHP 5.3.23

]]>
nondotzero Jun 05, 2013, 11:24 AM https://forums.modx.com/thread/84902/error-viewing-version-details-undefined-constant-ent-substitute#dis-post-468143