Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Solspace User conflict causes system error on Key Gen.

Status Resolved
Add-on / Version Custom System Messages
Severity Trivial
EE Version 16

The Adsmith

Mar 12, 2012

Hello,

We found that custom system messages had a conflict error when submitting an activation key that would cause a php error:

‘A PHP Error was encountered
Severity: Notice
Message: Undefined property: EE:TMPL
Filename: system_messages/ext.system_messages.php
Line Number: 215
3:07 PM
Fatal error: Call to a member function run_template_engine() on a non-object in /home/ecprp/public_html/coeengine/expressionengine/third_party/system_messages/ext.system_messages.php on line 215’

The root of the problem seemed to be that even though the ‘EE_Template’ class existed the $this->EE->TMPL was still null. So the referenced function on line 215 did not work.

I found that for us catching the specific Action Id (64) on line 112 of ext.system_messages.php fixed our problem. I’m not sure it’s a good solution… but it worked for us. 😊

I was on the fence about how to flag this. In the end I marked it as trivial since we were able to hack in a fix, but this could be a major problem for other people who are using Custom System Messages and User.

It almost caused us to completely disable the Custom System Messages module since we need User more.

#1

BoldMinded (Brian)

Thanks for the detailed post. I have seen this happen once before but was not able to replicate it myself and the reporter didn’t send this much information. I’ll try to replicate and hopefully fix it.

Login to reply