by eggsurplus

Control what your users can access and save time, money, and frustrations. Lock down sensitive data in SuiteCRM to specific groups or teams. Supports unlimited assigned users, unlimited group assignments to records, custom layouts for each group, login/sudo capabilities and much more.

Free 30 day trial
Try it Now

#4884 - Old style constructors in Module Builder view files break Studio

Open Bug? created by t Verified Purchase a year ago

servers responds with error code uncaught Error: Call to undefined method SugarView::SugarView

this is because custom views are using the old style PHP constructor.

constructors should be written as such:

    function __construct(){
        parent::__construct();
    }

not

    function ViewAddLayout (){
        parent::SugarView();
    }

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "Thank you so much. Highly recommend the module to work in teams."

    Read More Reviews