Hi,

I get this error when cron run:

Drupal\Core\Config\ImmutableConfigException: Can not set values on immutable configuration
social_stats.cron_settings:social_stats_next_execution. Use
\Drupal\Core\Config\ConfigFactoryInterface::getEditable() to retrieve a mutable configuration object in
Drupal\Core\Config\ImmutableConfig->set() (line 27 of
/var/www/va/web/core/lib/Drupal/Core/Config/ImmutableConfig.php).

Comments

Romz created an issue. See original summary.

yogeshmpawar’s picture

Assigned: Unassigned » yogeshmpawar
yogeshmpawar’s picture

Assigned: yogeshmpawar » Unassigned

I am not able to reproduce the issue at my local.
Steps i have followed to reproduce

  1. Install the module with version 8.x.-1.0 branch.
  2. Added basic settings & configuration as cron interval as 1 min.
  3. Run the cron after 5 mins & not able to reproduce above issue at my local.

I think reporter will have to add steps he followed to reproduce this issue & also a screenshots which displays errors.

ajits’s picture

Version: 8.x-1.0-beta2 » 8.x-1.x-dev

Thanks @Yogesh Pawar!

This needs to be tested with the latest dev release and with some actual data.