Jump to content
  • [Beta 8] After saving a custom template in the theme, I get an error


    When I add a custom template and save it, I get the following error.

    TypeError: IPS\Theme\CustomTemplate::get__title(): Return value must be of type string, null returned (0)
    #0 public_html/system/Patterns/ActiveRecord.php(360): IPS\Theme\CustomTemplate->get__title()
    #1 public_html/system/Node/Model.php(758): IPS\Patterns\ActiveRecord->__get()
    #2 public_html/system/Node/Controller.php(493): IPS\Node\Model->titleForLog()
    #3 public_html/system/Dispatcher/Controller.php(128): IPS\Node\Controller->form()
    #4 public_html/system/Node/Controller.php(117): IPS\Dispatcher\Controller->execute()
    #5 public_html/applications/core/modules/admin/customization/customtemplates.php(113): IPS\Node\Controller->execute()
    #6 public_html/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\admin\customization\customtemplates->execute()
    #7 public_html/admin/index.php(15): IPS\Dispatcher->run()
    #8 {main}

     


    User Feedback

    Recommended Comments

    Esther E.

    Posted

    This is fixed in the patch that just went out. 

    PanSevence

    Posted

    1 hour ago, Esther E. said:

    This is fixed in the patch that just went out. 

    What? Where? 

    Adlago

    Posted

    Related to this bug - when trying to change an already created template in a previous beta, on a field from "before close tag" to "after open tag" for example, and save - the change is not made, i.e. it remains as it was created in the previous beta.

    Marc

    Posted

    Just now, Adlago said:

    Related to this bug - when trying to change an already created template in a previous beta, on a field from "before close tag" to "after open tag" for example, and save - the change is not made, i.e. it remains as it was created in the previous beta.

    If you see this issue after the patch, please report as a separate bug

    Adlago

    Posted

    1 minute ago, Marc said:

    If you see this issue after the patch, please report as a separate bug

    Maybe, but there's no patch yet.

    Gary

    Posted

    In case you’ve missed it.


×
×
  • Create New...