Support » Plugin: PowerPack for LearnDash » php8 error – deprecated in Enable Comments on Focus Mode

  • Resolved Ben

    (@blawjungchicago)


    When I set the site to php 8.0, I get the following error:

    Deprecated: Required parameter $post follows optional parameter $comment_status in MY_SITE/wp-content/plugins/powerpack-for-learndash/includes/ld_classes/learndash-powerpack-enable-comments-on-focus-mode.php on line 42
    
    Warning: Cannot modify header information - headers already sent by (output started at MY_SITE/wp-content/plugins/powerpack-for-learndash/includes/ld_classes/learndash-powerpack-enable-comments-on-focus-mode.php:42) in MY_SITE/wp-includes/functions.php on line 6880

    Reverting to 7.4 removes the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘php8 error – deprecated in Enable Comments on Focus Mode’ is closed to new replies.