Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [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

  • #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 - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #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 18th Nov '11, 5:42pm.

      Comment


      • #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 - Full / Mobile
        Vote for your favorite feature requests and the bugs you want to see fixed.

        Comment


        • #5
          Same problem here.

          Comment


          • #6
            Originally posted by insider View Post
            Same problem here.
            ....
            Originally posted by Wayne Luke View Post
            You'll need to open a support ticket then.

            Comment


            • #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 22nd Nov '11, 9:14am.

              Comment


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

                http://tracker.vbulletin.com/browse/VBIV-13646
                Vote for these issues:

                Comment


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

                  Comment


                  • #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 - Full / Mobile
                    Vote for your favorite feature requests and the bugs you want to see fixed.

                    Comment


                    • #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


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

                        Comment


                        • #14
                          Originally posted by Wayne Luke View Post
                          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


                          • #15
                            Originally posted by malmazan View Post
                            ┐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 - Full / Mobile
                            Vote for your favorite feature requests and the bugs you want to see fixed.

                            Comment

                            Related Topics

                            Collapse

                            Working...
                            X