Fixing the Infamous “Maximum SOQL Limit” Error in Apex

|
| By Webner

The “Maximum SOQL Limit” error, often accompanied by the message System.LimitException: Too many SOQL queries: 101 is one of the most common and frustrating problems faced by Salesforce developers. It signifies a violation of a fundamental governing rule (governor limit)

Jquery | DataTables warning: table id – Cannot reinitialise DataTable

| By Webner

If you try to set properties of Jquery datatable 2 times as below, it will give an error: table = $(‘#product-data-table’).DataTable({stateSave: true}) ; table = $(‘#product-data-table’).DataTable ({“aoColumns”: [ { “bSortable”: false },null,null,null ] }); “DataTables warning: table id=product-data-table – Cannot