Fixed Fatal Error: Undefined class constant 'OPTION_MAX_MESSAGE_LENGTH'

Getting the following error when trying to post a big description on the events tab.

PHP:
Error Info
ErrorException: Fatal Error: Undefined class constant 'OPTION_MAX_MESSAGE_LENGTH' - library/Nobita/Teams/DataWriter/Event.php:122
Generated By: C.Birch, A moment ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
  ["url"] => string(71) "http://www.yourpshome.net/events/ypsh-summer-bash-2014.1/save?team_id=1"
  ["_GET"] => array(1) {
    ["team_id"] => string(1) "1"
  }
  ["_POST"] => array(15) {
    ["event_title"] => string(21) "YPSH Summer Bash 2014"
    ["description_html"] => string(4449) "<p style="text-align: center"><span style="color: #000080"><font face="verdana">Summer is here and YPSH is celebrating with another cool event : the YPSH Summer Bash 2014 !</font></span></p>
<p style="text-align: center"><span style="color: #000080"><font face="verdana"><br></font></span></p>
<p style="text-align: center"><span style="color: #000080"><font face="verdana">Join us Saturday June 28th, 2014 at our clubhouse ( Your PS Home 2 ) for the Home event of the Summer. Party with us along with Atom Republic, Codeglue, Dani, JAM Games, and Madmunki.&nbsp; Surprises? You bet! </font></span></p>
<p style="text-align: center"><span style="color: #000080"><font face="verdana"><br></font></span></p>
<p style="text-align: center"><img src="attachments/summerbash2014-jpg.36712/?temp_hash=ef4e95e2e695b46c9e520c005cabbac2" class="attachFull bbCodeImage" alt="attachFull36712"> <br></p><p><br></p><p><span style="color: #000080"><font face="verdana">Send a club join request no to Your PS Home 2 (include the spaces) no more than 30 minutes before the start time. We will clean out the account just before that so be sure to wait until that time to send your join request. If you are unsure of how to do this, please be sure to see the video and notes below.</font></span></p><p><span style="color: #000080"><font face="verdana"><br></font></span></p><p><span style="color: #000080"><font face="verdana">NOTE: To attend, you must send a club join request to Your PS Home 2 . Note the spaces. PlayStation Clubs can only hold 32 at a time. We will do our best to keep rotating people in and out so as many as possible can attend. Please check the following for further info on how to send a request to join a club :</font></span></p><p><br></p><p style="text-align: center"><span style="color: #000080"><font face="verdana">[media=youtube]L5ldSqBjp2Y[/media]</font></span></p><p><br></p><p><span style="color: #000080"><font face="verdana">Also, please note these few comments about these events and how they work.....</font></span></p><p><span style="color: #000080"><font face="verdana"><br></font></span></p><p><span style="color: #000080"><font face="verdana">- Clubhouses can only hold 32 people at a time. Once they are full, you MAY not see Your PS Home 2 show up in your search. You may see the OTHER site clubs.&nbsp; If that happens, just keep trying now and then. This is a limitation of Home and not us. We can't do anything about this, unfortunately.</font></span></p><p><span style="color: #000080"><font face="verdana"><br></font></span></p><p><span style="color: #000080"><font face="verdana">- EU and NA Home users can attend. </font></span></p><p><span style="color: #000080"><font face="verdana"><br></font></span></p><p><span style="color: #000080"><font face="verdana">- When an event fills up, we try our best to rotate people in and out to give everyone a chance to attend for a bit. If that happens, we MAY ask people to leave voluntarily to allow others to join in. Please understand if we do.</font></span></p><p><span style="color: #000080"><font face="verdana"><br></font></span></p><p><span style="color: #000080"><font face="verdana">- There is no way for us to track who sends invites first.</font></span></p><p><span style="color: #000080"><font face="verdana"><br></font></span></p><p><span style="color: #000080"><font face="verdana">- During an event, we are extremely busy. We probably won't answer PM's.&nbsp; Do not think we are being rude. It is merely a matter of being extremely busy managing the event.&nbsp; It becomes even worse if there are giveaways involved. We try very hard to make these events fun and fair for everyone.&nbsp; I am sure you understand that we cannot cater to individual requests during these events due to these reasons.</font></span></p><p><span style="color: #000080"><font face="verdana"><br></font></span></p><p><span style="color: #000080"><font face="verdana">- Lastly, please be on your best behavior. We have rarely had to kick someone out due to bad behavior, but we will if necessary.&nbsp; Let's all have fun and be patient. We will do our best to make the events run smooth.</font></span></p><p><span style="color: #000080"><font face="verdana"><br></font></span></p><p><span style="color: #000080"><font face="verdana">If you have any questions, please feel free to ask. Most of all, ENJOY!</font></span>[ATTACH=full]36712[/ATTACH] [ATTACH=full]36712[/ATTACH]</p>"
    ["_xfRelativeResolver"] => string(61) "http://www.yourpshome.net/events/ypsh-summer-bash-2014.1/edit"
    ["attachment_hash"] => string(32) "ef4e95e2e695b46c9e520c005cabbac2"
    ["event_type"] => string(6) "public"
    ["allow_member_comment"] => string(1) "1"
    ["_begin_date"] => string(10) "2014-06-28"
    ["begin_date"] => string(5) "19:00"
    ["_end_date"] => string(10) "2014-06-28"
    ["end_date"] => string(5) "21:30"
    ["end_time_enable"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(36) "/events/ypsh-summer-bash-2014.1/edit"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Back
Top