Custom Forms Error

Following an upgrade to version 4.18 RC1, we are experiencing an error when attempting to add a new question to an existing section in a custom form. Having acquired locks on the form, gone to 'Form Contents' and clicked on one of the existing sections to add a new question to, we receive the attached screen and, when viewing the source code, the following error:

 

Fatal error: Call to undefined method Form_Section::getLinkByAsset() in /var/www/matrix/core/include/asset_manager.inc on line 3244

Call Stack:

0.0001 658776 1. {main}() /var/www/matrix/core/web/index.php:0

0.0340 5281376 2. MySource->start() /var/www/matrix/core/web/index.php:30

0.0567 5658976 3. Backend->paint() /var/www/matrix/core/include/mysource.inc:585

0.0669 6222272 4. Backend->_printMain() /var/www/matrix/core/include/backend.inc:194

0.0671 6223520 5. Asset_Manager->paintBackend() /var/www/matrix/core/include/backend.inc:1628

0.0672 6230192 6. Asset_Manager_Edit_Fns->paintBackend() /var/www/matrix/core/include/asset_manager.inc:9124

0.5073 11082696 7. Asset->paintBackend() /var/www/matrix/core/include/asset_manager_edit_fns.inc:224

0.5077 11083280 8. Asset_Edit_Interface->paint() /var/www/matrix/core/include/asset.inc:5147

0.6642 11881088 9. Asset_Edit_Interface->printEditInterface() /var/www/matrix/core/include/asset_edit_interface.inc:795

0.6667 11933376 10. Form_Section_Edit_Fns->paintQuestionLinks() /var/www/matrix/core/include/asset_edit_interface.inc:1113

0.6677 11934288 11. get_asset_tag_line() /var/www/matrix/packages/cms/form/form_section/form_section_edit_fns.inc:206

0.6680 11978984 12. get_asset_tag_line_binoculars() /var/www/matrix/core/include/general.inc:1652

0.6780 12071136 13. _asset_locator_onclick() /var/www/matrix/core/include/general.inc:1765

0.6780 12071136 14. get_asset_lineage_sort_order() /var/www/matrix/core/include/general.inc:1828

0.6871 12078464 15. Asset_Manager->getLinkByAsset() /var/www/matrix/core/include/general.inc:1952

 

Any help appreciated.

Thanks. ScreenGrab.jpg (55.2 KB)

I would upgrade to 3.18.0 as the RC1 really should only be for testing.

What Nic said above. Plus anyone else who might have similar problem the issue was fixed. Please see #6638 Form Section does not allow a question to be created.

Once upgraded to 4.18.0, the issue should be fixed.

 

Ash

Many thanks, will upgrade.