1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

My addon throws weird error

Discussion in 'XenForo Development Discussions' started by tyteen4a03, Jun 15, 2013.

  1. tyteen4a03

    tyteen4a03 Well-Known Member

    Can anybody help me troubleshoot this? My live forum got this error when I installed my Custom Markup For User addon. I can only reproduce this on my live forum, not on my local site, not on other live forums. Thanks in advance.

    Fatal error: Method XenForo_Template_Public::__toString() must not throw an exception in /home/things/public_html/forums/library/XenForo/Template/Abstract.php(265) : eval()'d code on line 0

    (Turning on fetch public templates as files will throw a different error - if you need these please speak up)
  2. xf_phantom

    xf_phantom Well-Known Member

    That's AFAIK a problem inside your template. (i think i had the same problem because of a buggy template)

    If you activate public templates, it could help you to find the template which is causing this
  3. tyteen4a03

    tyteen4a03 Well-Known Member

    It was first telling me XenPorta, and now it's telling me it's a XenForo template... these messages are not helpful at all. :(
  4. tyteen4a03

    tyteen4a03 Well-Known Member

    Nevermind, it seems like it's a missing field in MySQL. All is well :)

Share This Page