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

XF 1.2 PHP Fatal error: Class 'XenForo_Model_Post'

Discussion in 'Troubleshooting and Problems' started by Mr Lucky, Nov 19, 2013.

  1. Mr Lucky

    Mr Lucky Well-Known Member

    Should I worry about this:
    PHP Fatal error: Class 'XenForo_Model_Post' not found in /data03/c5474765/public_html/domain.com/library/XenForo/Model/Post.php on line 3

    xenforo is installed in domain.com/forum/ so whatever is looking for XenForo_Model_Post is looking in the wrong place
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    When was that error thrown?

    Run a file health check in the ACP.
     
  3. Mr Lucky

    Mr Lucky Well-Known Member

    Last edited: Nov 19, 2013
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Have you only received the error once?
     
  5. Mr Lucky

    Mr Lucky Well-Known Member

    I just realised the wrong location is irrelevant, I moved the forum into the directory after that error was generated. Reason is the edit (see post above)
     
  6. Mr Lucky

    Mr Lucky Well-Known Member

    Yes, once only which would have been afte I did the edit.
    I have now replaced with default file and health check is of course OK.

    Oddly enough, nested quotes still seems to be there, but only from before I put the default file back of course. Now they don't work
     
  7. Jeremy

    Jeremy XenForo Moderator Staff Member

    If it's only happened once, it is intermittent and should be resolved already.
     
  8. Mr Lucky

    Mr Lucky Well-Known Member

    Does that mean it's OK to re-edit the Post.php to get nested quotes back?
     
  9. Amaury

    Amaury Well-Known Member

    If you know that the unexpected content is from something you did, then you're fine.
     
  10. Mr Lucky

    Mr Lucky Well-Known Member

    OK thanks, it's just that the word "fatal" is a bit worrying.
     
  11. Amaury

    Amaury Well-Known Member

    It can be, but most of the time, it's not as bad as it looks.
     

Share This Page