PHP 8.4

After upgrading from latest 2.x to 3.0.0, this issue appeared:

Uncaught PHP Exception TypeError: "Drupal\cas\CasServerConfig::setConnectionTimeout(): Argument #1 ($timeout) must be of type int, null given, called in /PATH/TO/COMPOSER/ROOT/cas/src/CasServerConfig.php on line 80" at /PATH/TO/COMPOSER/ROOT/cas/src/CasServerConfig.php line 230

Issue fork cas-3576314

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

xem8vfdh created an issue. See original summary.

xem8vfdh’s picture

Title: Drupal\cas\CasServerConfig::setConnectionTimeout(): Argument #1 ($timeout) must be of type int, null given » CasServerConfig::setConnectionTimeout(): Argument #1 ($timeout) must be of type int, null given
xem8vfdh’s picture

Issue summary: View changes
bkosborne’s picture

So you're CAS config is missing a value for the connection_timeout. This config was added nearly 10 years ago, but it looks like I never added an update hook to update existing site's configs. I'll add that update hook now and cut a new release.

bkosborne’s picture

Status: Active » Needs review

  • bkosborne committed 447de399 on 3.x
    feat: #3576314 CasServerConfig::setConnectionTimeout(): Argument #1 ($...
bkosborne’s picture

Status: Needs review » 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.

bkosborne’s picture

Fixed and 3.0.1 released.

xem8vfdh’s picture

Status: Fixed » Active

Woah, @bkosborne, thank you so much for the very fast action here :)