Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Plugins
    In reply to: [WP Cassify] PHP 8 support

    @kkatpcc thank you !

    Here I have to patch to make CAS login fire:

    --- wp-content/plugins/wp-cassify/classes/wp_cassify_plugin.php.orig    2022-11-17 13:10:24.358921000 +0100
    +++ wp-content/plugins/wp-cassify/classes/wp_cassify_plugin.php 2022-11-17 12:54:40.341842000 +0100
    @@ -1133,7 +1133,7 @@
                     $is_in_while_list = false;
                     
                     $wp_cassify_redirect_url_white_list = WP_Cassify_Utils::wp_cassify_get_option( $this->wp_cassify_network_activated, 'wp_cassify_redirect_url_white_list' );
    -                $white_list_urls = explode( ';', $wp_cassify_redirect_url_white_list );
    +                $white_list_urls = array_filter(explode( ';', $wp_cassify_redirect_url_white_list ));
                     
                     if ( ( is_array( $white_list_urls ) ) && ( count( $white_list_urls ) > 0 ) ){
                            foreach( $white_list_urls as $white_url ) {
    

    Please update plugin (it breaks at each update with php 8.1)

    another workaround, server-side for nginx:

    location / {
      try_files $uri $uri/ /index.php$uri?$args;
    }

    This makes PATH_INFO contain needed string.

    Are you sure ? wp even works without mysql nor mysqli for example ? without pcre ? (preg_quote, preg_match, preg_replace)…

    a comment from wp-includes/rss.php:
    # if PHP xml isn't compiled in, die
    (seems to need xml module… no rss feeds without it ?)

    iconv, not ‘required’, is mandatory to be able to manage different charsets…

    Even if almost all php’s extensions can be replaced with php code, it can’t be as efficient as compiled extensions. It would be nice to have a list of “possibly used” extensions.

    My 2€…

Viewing 3 replies - 1 through 3 (of 3 total)