• This plugin works so well with sites that have underlying Shibboleth login – it pulls the PHP session variables in and sets the username from the variable you choose. Can set the email address as well.

    But it is broken in PHP8 due to a change. Here are the edits that are needed to make it work:

    in the file: http-authentication.php

    
    /*  OLD WAY:
            function HTTPAuthenticationPlugin() {
    */
    /*  NEW WAY: */
            function __construct() {
     

    in the file: options-page.php

    
    
    /*  OLD WAY:
            function HTTPAuthenticationOptionsPage($plugin, $group, $page, $options, $title = 'HTTP Authentication') {
    */
    /*  NEW WAY: */
            function __construct($plugin, $group, $page, $options, $title = 'HTTP Authentication') {

The topic ‘Needs a patch to work with PHP8’ is closed to new replies.