Warning: func_get_arg(): Argument 0 not passed to function in Drupal\minifyhtml\EventSubscriber\MinifyHTMLExit->__construct() (line 73 of modules\contrib\minifyhtml\src\EventSubscriber\MinifyHTMLExit.php).

Warning: func_get_arg(): Argument 1 not passed to function in Drupal\minifyhtml\EventSubscriber\MinifyHTMLExit->__construct() (line 74 of modules\contrib\minifyhtml\src\EventSubscriber\MinifyHTMLExit.php).

Warning: func_get_arg(): Argument 2 not passed to function in Drupal\minifyhtml\EventSubscriber\MinifyHTMLExit->__construct() (line 75 of modules\contrib\minifyhtml\src\EventSubscriber\MinifyHTMLExit.php).

After drush updb --entity-updates

User warning: Missing proxy class 'Drupal\minifyhtml\ProxyClass\EventSubscriber\MinifyHTMLExit' for lazy service 'minifyhtml_exit'. Use the following command to generate the proxy class: php core/scripts/generate-proxy-class.php 'Drupal\minifyhtml\EventSubscriber\MinifyHTMLExit' "modules/contrib/minifyhtml/src" in Drupal\Core\DependencyInjection\Compiler\ProxyServicesPass->process() (line 61 of W:\OSPanel\domains\idtsoft\www\web\core\lib\Drupal\Core\DependencyInjection\Compiler\ProxyServicesPass.php).

Comments

kvantstudio created an issue. See original summary.

ptmkenny’s picture

I'm getting the same error upon installing the module with 8.6.4.

kvantstudio’s picture

After removing the module and reinstalling, the error does not play. Drupal 8.6.4.

dtv_rb’s picture

Same error here. After composer update from 1.3 to 1.5 anddrush updb I receive

User warning: Missing proxy class 'Drupal\minifyhtml\ProxyClass\EventSubscriber\MinifyHTMLExit' for lazy service 'minifyhtml_exit'. Use the following command to generate the proxy class: php core/scripts/generate-proxy-class.php 'Drupal\minifyhtml\EventSubscriber\MinifyHTMLExit' "modules/contrib/minifyhtml/src" in Drupal\Core\DependencyInjection\Compiler\ProxyServicesPass->process() (line 61 of W:\OSPanel\domains\idtsoft\www\web\core\lib\Drupal\Core\DependencyInjection\Compiler\ProxyServicesPass.php).

Using 1.3 until fixed.

  • slydevil committed dc72482 on 8.x-1.x
    Issue #3020795: After update to 8.x-1.5
    
slydevil’s picture

Status: Active » Fixed
slydevil’s picture

Status: Fixed » Closed (fixed)