i messed up something

Hi I messed up and do not know how to fix it.

Fatal error:  Uncaught Error: Call to a member function getObjectTitle() on null in /home/vorsterz/LydSuid.vorster.zar.cc/template/scripts/BxBaseCmtsPageView.php:27 Stack trace: #0 /home/vorsterz/LydSuid.vorster.zar.cc/modules/boonex/protean/data/template/system/scripts/BxTemplCmtsPageView.php(17): BxBaseCmtsPageView->__construct(Array, false) #1 /home/vorsterz/LydSuid.vorster.zar.cc/inc/classes/BxDolPage.php(188): BxTemplCmtsPageView->__construct(Array, false) #2 /home/vorsterz/LydSuid.vorster.zar.cc/studio/template/scripts/BxBaseStudioBuilderPage.php(156): BxDolPage::getObjectInstance('sys_cmts_view') #3 /home/vorsterz/LydSuid.vorster.zar.cc/modules/boonex/developer/classes/BxDevTemplate.php(27): BxBaseStudioBuilderPage->getPageCode() #4 /home/vorsterz/LydSuid.vorster.zar.cc/inc/classes/BxDolModuleProxy.php(49): BxDevTemplate->displayPageContent('pages', Object(BxDevBuilderPage)) #5 /home/vorsterz/LydSuid.vorster.zar.cc/modules/boonex/developer/classes/BxDevStudioPage.php(95): BxDolModuleProxy->__call('displayPageCont... in /home/vorsterz/LydSuid.vorster.zar.cc/template/scripts/BxBaseCmtsPageView.php on line 27

Regards

Louwrens

  • 1395
  • More
Replies (1)
    • Hello Louwrens Vorster !

      The 25 and 27 lines of template/scripts/BxBaseCmtsPageView.php 

      $oCmts = BxDolCmts::getObjectInstance($sSystem, $iObjectId, true);

      $sObjectTitle = bx_process_output(strip_tags($oCmts->getObjectTitle($iObjectId)));

      You error means that object $oCmts hasn't been created. It may cause by the wrong name of the $sSystem variable (doesn't exist in your UNA) or something wrong with the files path on your server (but it may be visible on other pages too).

      So you need to restore all your steps before the error's appearance. BTW - on what page you see it now?

      Login or Join to comment.