vB_Legacy_Forum does not have a field 'lastthreadid' on line 40 ...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zushiba
    Member
    • Dec 2008
    • 52

    [CMS] vB_Legacy_Forum does not have a field 'lastthreadid' on line 40 ...

    Upon editing an article I get the following error. The edit seems to go through anyway but the error is quite annoying. I'm posting here hoping someone knows what's going on.

    vB_Legacy_Forum does not have a field 'lastthreadid' on line 40 in /path/to/my/vb/legacy/dataobject.php
    #0 /path/to/my/vb/legacy/forum.php(60): vB_Legacy_Dataobject->get_field('lastthreadid')
    #1 /path/to/my/vb/legacy/thread.php(470): vB_Legacy_Forum->get_field('lastthreadid')
    #2 /path/to/my/vb/legacy/thread.php(434): vB_Legacy_Thread->delete_internal(false, Object(vB_Legacy_CurrentUser), '', true)
    #3 /path/to/my/packages/vbcms/dm/node.php(1099): vB_Legacy_Thread->soft_delete(Object(vB_Legacy_CurrentUser), '', true)
    #4 /path/to/my/packages/vbcms/dm/article.php(169): vBCms_DM_Node->postSave(true, false, false, false)
    #5 /path/to/my/vb/dm.php(921): vBCms_DM_Article->postSave(true, false, false, false)
    #6 /path/to/my/packages/vbcms/dm/node.php(427): vB_DM->save()
    #7 /path/to/my/packages/vbcms/content/article.php(1158): vBCms_DM_Node->saveFromForm('3')
    #8 /path/to/my/packages/vbcms/content/article.php(455): vBCms_Content_Article->saveData(Object(vBCms_View_Article))
    #9 /path/to/my/vb/content.php(313): vBCms_Content_Article->populateViewContent(Object(vBCms_View_Article), 4)
    #10 /path/to/my/packages/vbcms/controller/content.php(189): vB_Content->getPageView(Array)
    #11 [internal function]: vBCms_Controller_Content->actionView()
    #12 /path/to/my/vb/controller.php(191): call_user_func_array(Array, Array)
    #13 /path/to/my/packages/vbcms/route/content.php(97): vB_Controller->getResponse()
    #14 /path/to/my/vb/router.php(251): vBCms_Route_Content->getResponse()
    #15 /path/to/my/vb/bootstrap.php(58): vB_Router::getResponse()
    #16 /path/to/my/content.php(30): require_once('/var/www/html/s...')
    #17 {main}


    Fatal error: vB_Legacy_Forum does not have a field 'lastthreadid' on line 40 in [path]/vb/legacy/dataobject.php in [path]/vb/vb.php on line 287
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74111

    #2
    Go to Settings -> Options -> Content Management and set your Comment Forum to a valid forum that is accepting posts. When you installed the Suite a forum was created for this purpose. It is called: vBCms Comments
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • zushiba
      Member
      • Dec 2008
      • 52

      #3
      EDIT: Wait, yes it was created I just didn't see it as it's display was set to 0, and it is set as you described above.
      EDIT2: Same error.
      Last edited by zushiba; Fri 18 Nov '11, 4:42pm.

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74111

        #4
        You'll need to open a support ticket then.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • insider
          New Member
          • Oct 2006
          • 10
          • 3.6.x

          #5
          Same problem here.

          Comment

          • HMBeaty
            Senior Member
            • Mar 2005
            • 1105
            • 4.2.5

            #6
            Originally posted by insider
            Same problem here.
            ....
            Originally posted by Wayne Luke
            You'll need to open a support ticket then.
            "Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
            "It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!"
            "When doors close, tear down the walls. Never give up!"

            Comment

            • zushiba
              Member
              • Dec 2008
              • 52

              #7
              I opened a ticket before I made this thread in case someone else had the same issue. Haven't gotten a reply to that ticket since the 19th, insider have you figured anything out?
              Last edited by zushiba; Tue 22 Nov '11, 8:14am.

              Comment

              • malmazan
                Senior Member
                • Jan 2006
                • 974
                • 4.2.X

                #8
                I'm having the same problem since I upgraded to v4.1.8. The setting has always been on vBCms Comments

                Vote for these issues:

                Comment

                • rondunnjr
                  New Member
                  • Jan 2011
                  • 16
                  • 4.1.x

                  #9
                  Same issue for us since upgrading to V4.1.8

                  Comment

                  • Wayne Luke
                    vBulletin Technical Support Lead
                    • Aug 2000
                    • 74111

                    #10
                    It is a bug that will be fixed. Until then make sure comments are allowed for your content. Also make sure the comment forum is set correctly and it allows new posts/threads to be made in it.
                    Translations provided by Google.

                    Wayne Luke
                    The Rabid Badger - a vBulletin Cloud demonstration site.
                    vBulletin 5 API

                    Comment

                    • zushiba
                      Member
                      • Dec 2008
                      • 52

                      #11
                      I was able to 'fix' the issue by simply deleting the original article I created and the original blog post. Subsequent blog posts/articles have not reproduced this error.

                      Comment

                      • malmazan
                        Senior Member
                        • Jan 2006
                        • 974
                        • 4.2.X

                        #12
                        Originally posted by zushiba
                        Subsequent blog posts/articles have not reproduced this error.
                        I've experimented this error on new articles too.
                        Vote for these issues:

                        Comment

                        • Trevor Hannant
                          vBulletin Support
                          • Aug 2002
                          • 24354
                          • 5.7.X

                          #13
                          See post #10
                          Vote for:

                          - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                          - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                          Comment

                          • malmazan
                            Senior Member
                            • Jan 2006
                            • 974
                            • 4.2.X

                            #14
                            Originally posted by Wayne Luke
                            Also make sure the comment forum is set correctly and it allows new posts/threads to be made in it.
                            ¿Would there be a reason for this to be set to a regular forum and not VBCms?
                            Vote for these issues:

                            Comment

                            • Wayne Luke
                              vBulletin Technical Support Lead
                              • Aug 2000
                              • 74111

                              #15
                              Originally posted by malmazan
                              ¿Would there be a reason for this to be set to a regular forum and not VBCms?
                              People change settings all the time without understanding what they are doing. Not saying anyone in this thread has done that but it can happen.
                              Translations provided by Google.

                              Wayne Luke
                              The Rabid Badger - a vBulletin Cloud demonstration site.
                              vBulletin 5 API

                              Comment

                              Related Topics

                              Collapse

                              Working...