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

Not a Bug Fatal Error: Cannot redeclare class XFCP_Asp_OnlineStatus_Model_AspPost

Discussion in 'Resolved Bug Reports' started by tajhay, Dec 5, 2013.

  1. tajhay

    tajhay Well-Known Member

    Hi I am creating a new thread after having a related issue which got me to this error.

    I noticed that posts are not being rebuilt correctly. when i do posts, it gives me an internal error...i press back to goto the deferred screen and then it says its actually rebuilt the posts...but it hasnt. i believe that is something to do with this issue i am getting. Additionally when i search, i cannot see posts now (before i couldnt see threads...)

    When i goto a forum thread it automatically creates this error
    Code:
    ErrorException: Fatal Error: Cannot redeclare class XFCP_Asp_OnlineStatus_Model_AspPost - library/XenForo/Application.php(513) : eval()'d code:1
    Generated By: Unknown Account, 8 minutes ago
    Stack Trace
    
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    
    Request State
    
    array(3) {
      ["url"] => string(70) "http://www.nzwarriors.com/threads/team-for-2014-2014-spine-poll.15226/"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(0) {
      }
    }
    
    Interestingly, trying to rebuild posts by itself also gives a similiar error.

    Code:
    ErrorException: Fatal Error: Cannot redeclare class XFCP_Asp_OnlineStatus_Model_AspPost - library/XenForo/Application.php(513) : eval()'d code:1
    Generated By: tajhay, 5 minutes ago
    Stack Trace
    
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    
    Request State
    
    array(3) {
      ["url"] => string(54) "http://www.nzwarriors.com/admin.php?tools/run-deferred"
      ["_GET"] => array(1) {
        ["tools/run-deferred"] => string(0) ""
      }
      ["_POST"] => array(3) {
        ["redirect"] => string(59) "http://www.nzwarriors.com/admin.php?tools/rebuild&success=1"
        ["execute"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
      }
    }
    
    I have checked xf_content_type. Post is assigned to Xenforo.

    Help!
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. tajhay

    tajhay Well-Known Member

    Hey @Brogan i dont believe its anything to do with the addon. Its Core.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It is that add-on: Asp_OnlineStatus_Model_AspPost

    upload_2013-12-5_14-20-38.png
     
  5. tajhay

    tajhay Well-Known Member

    Whoops you are correct! (Sorry i should never have doubted your development knowledge ;))

    You can close this thread mate, i will just disable that addon and issue is fixed :)


    btw its not that addon that is the issue, but another just called online status (archived), the one you downloaded is the newer version of that addon. unfortunarely i somehow installed both.
     
    Last edited: Dec 5, 2013

Share This Page