advagg/advagg_js_compress/jshrink.inc timeouts

Created on 9 June 2024, 19 days ago
Updated 17 June 2024, 11 days ago

I've discovered that website I manage did not ran successfully cron for over 6 moths...

It timeouts due to jsshrink.inc:

Fatal error: Maximum execution time of 240 seconds exceeded in /home/mydomain/domains/mydomain.lt/public_html/sites/all/modules/advagg/advagg_js_compress/jshrink.inc on line 281

This is full error:

(function($){Drupal.behaviors.fieldUIFieldsOverview={attach:function(context,settings){$('table#field-overview',context).once('field-field-overview',function(){Drupal.fieldUIOverview.attach(this,settings.fieldUIRowsData,Drupal.fieldUIFieldOverview);});}};Drupal.fieldUIFieldOverview=Drupal.fieldUIFieldOverview||{};Drupal.fieldUIFieldOverview.group=function(row,data){this.row=row;this.name=data.name;this.region=data.region;this.tableDrag=data.tableDrag;this.$formatSelect=$('select.field-group-type',row);this.$formatSelect.change(Drupal.fieldUIOverview.onChange);return this;};Drupal.fieldUIFieldOverview.group.prototype={getRegion:function(){return'main';},regionChange:function(region,recurse){return{};},regionChangeFields:function(region,element,refreshRows){var tableDrag=element.tableDrag;rowObject=new tableDrag.row(element.row,'mouse',true);rowObject.group.shift();$.each(rowObject.group,function(){var childRow=this;var childRowHandler=$(childRow).data('fieldUIRowHandler');$.extend(refreshRows,childRowHandler.regionChange(region,false));});}};Drupal.fieldUIDisplayOverview=Drupal.fieldUIDisplayOverview||{};Drupal.fieldUIDisplayOverview.group=function(row,data){this.row=row;this.name=data.name;this.region=data.region;this.tableDrag=data.tableDrag;this.$formatSelect=$('select.field-group-type',row);this.$formatSelect.change(Drupal.fieldUIOverview.onChange);return this;};Drupal.fieldUIDisplayOverview.group.prototype={getRegion:function(){return(this.$formatSelect.val()=='hidden')?'hidden':'visible';},regionChange:function(region,recurse){recurse=(recurse==undefined)||recurse;var currentValue=this.$formatSelect.val();switch(region){case'visible':if(currentValue=='hidden'){var value='fieldset';} break;default:var value='hidden';break;} if(value!=undefined){this.$formatSelect.val(value);} var refreshRows={};refreshRows[this.name]=this.$formatSelect.get(0);if(recurse){this.regionChangeFields(region,this,refreshRows);} return refreshRows;},regionChangeFields:function(region,element,refreshRows){var tableDrag=element.tableDrag;rowObject=new tableDrag.row(element.row,'mouse',true);rowObject.group.shift();$.each(rowObject.group,function(){var childRow=this;var childRowHandler=$(childRow).data('fieldUIRowHandler');$.extend(refreshRows,childRowHandler.regionChange(region,false));});}};})(jQuery);var advagg_end="a9f08b4"
Fatal error: Maximum execution time of 240 seconds exceeded in /home/MYDOMAIN/domains/MYDOMAIN.lt/public_html/sites/all/modules/advagg/advagg_js_compress/jshrink.inc on line 281

Any ideas how to work around it?

Maybe I should try to disable some feature?

Web hosting is now running on PHP 8.1

πŸ› Bug report
Status

Closed: duplicate

Version

2.36

Component

Compression/Minification

Created by

πŸ‡±πŸ‡ΉLithuania Talkless

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024