Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When looking at #3082563: Error: Call to a member function fromJulianDay() on nul, I realised that there might be an edge case where the algorithm property of the \Drupal\taarikh\Plugin\TaarikhAlgorithm\TaarikhAlgorithmPluginBase
would not get initialised. This is not a valid scenario. We should harden up the code to not allow that.
Comments
Comment #3
hussainwebPushed a change which will fail with an exception if this condition occurs.
Comment #4
hussainweb