advagg_js_compress() cron stuck issue

Created on 27 April 2022, over 2 years ago
Updated 22 July 2024, 4 months ago

Problem/Motivation

If you are using advagg_js_compress which is a submodule and run the cron then cron goes into infinite loop.

Steps to reproduce

- Install the advagg and advagg_js_compress
- Run the cron via UI or drush
- It will never come back

Proposed resolution

- Issue in sites/all/modules/contrib/advagg/advagg_js_compress/jshrink.inc line 327. In PHP 7 substr returns the false but in PHP 8 it returns the '' empty string.

Remaining tasks

- Create the patch.

User interface changes

- No

API changes

- No

Data model changes

- No

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡΅πŸ‡°Pakistan asghar

Live updates comments and jobs are added and updated live.
  • PHP 8.0

    The issue particularly affects sites running on PHP version 8.0.0 or later.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024