• Resolved horgster

    (@horgster)


    Hello,

    After upgrading to PHP 8.1 we do see following Warnings and Deprecated messages when our page in Debug Mode:


    Deprecated: Return type of VippsSession::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in wp-content/plugins/login-with-vipps/VippsSession.class.php on line 64

    Warning: Cannot modify header information – headers already sent by (output started atwp-content/plugins/login-with-vipps/VippsSession.class.php:49) in /wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 1478

    Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/login-with-vipps/VippsSession.class.php:49) in?wp-includes/pluggable.php?on line?1350

    Warning: Cannot modify header information – headers already sent by (output started at wp-content/plugins/login-with-vipps/VippsSession.class.php:49) in wp-includes/pluggable.php?on line?1353

    Warning: Cannot modify header information – headers already sent by (output started at wp-content/plugins/login-with-vipps/VippsSession.class.php:49) in?wp-includes/functions.php?on line?6830

    Have you seen this before @iverok?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Iver Odin Kvello

    (@iverok)

    Yes, we are aware. The problem is that the simple fix for this is not compatible with 7.x PHPs so we have postponed fixing it for the time being – it will only affect debug mode users for now.

    Of course, if you need to use debug mode and 8.1 for this now, we can try to find a better solution earlier.

    (The “headers already sent” is because debug mode does output early in this case).

    Plugin Author Iver Odin Kvello

    (@iverok)

    We just released a version that fixes the deprecation warnings for 8.1 by keeping a legacy file for 7.x.

    Thread Starter horgster

    (@horgster)

    Hi @iverok
    Great work, thanks!

    It is resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deprecated errors in Login with VIPPS’ is closed to new replies.