Hello and thanks for this module,

Problem/Motivation

I think that, supporting newer PHP versions would be great.

Steps to reproduce

When I switch my PHP version to 8.4, I'm getting this notification:

Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in _static_generator_process_entity() (line 73 of modules/contrib/static_generator/static_generator.module).

What needs to be done?

Best,
Orkut

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

orkut murat yılmaz created an issue. See original summary.

luongosb’s picture

Hey @Orkut,

Thanks for submitting this issue. We have not yet tested this with PHP 8.4 yet. Is this the only error that you're seeing or are you seeing others?

orkutmuratyilmaz’s picture

@vetchneons, thanks for your reply. I'm seeing just this one:)

luongosb’s picture

Assigned: Unassigned » luongosb
Status: Active » Needs review
luongosb’s picture

@Orkut, I just submitted a MR for the fix. Could you please test that and see if it resolves that deprecation warning? Thank you!

orkutmuratyilmaz’s picture

Status: Needs review » Reviewed & tested by the community

@vetchneons, thanks for the commit.

I've tested it with Drupal 11.3.0-alpha1 too.

luongosb’s picture

Thanks for testing @Orkut. I've merged the code and we'll put out a new release sometime soon.

luongosb’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.