• Resolved jusemora30

    (@jusemora30)


    Hello,

    I’m running the latest version of LearnPress and its WooCommerce addon on a server with PHP 8.3. I have WP_DEBUG_LOG enabled and have this persistent error.

    When a LearnPress course is added to the cart, this “Deprecated” notice appears in the logs on the checkout page every single time:

    [19-Aug-2025 02:07:52 UTC] PHP Deprecated: Creation of dynamic property LearnPress\Models\CourseModel::$filter is deprecated in ..../public_html/wp-includes/post.php on line 2884

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi jusemora30,

    Thank you for reaching out with this issue.

    We’ve investigated and have addressed it in the latest update for the WooCommerce Add-on for LearnPress.

    Please update the add-on to the newest version and check your checkout page again.

    If the issue persists, please let us know!

    Best regards,
    Brianvu-tp

    Thread Starter jusemora30

    (@jusemora30)

    Perfect!
    I just checked and the debug.log is clean after adding a course to checkout.

    Thank you!

    Plugin Support brianvu-tp

    (@briantp)

    Hi jusemora30,

    We’re very happy to hear that the update resolved the issue.

    We are glad to hear that you found the solution useful!
    If you are satisfied with LearnPress, we would greatly appreciate it if you could leave us a 5-star review. A nice rating is a big motivation for us to keep up the hard work, and it’s really important to us.

    Thank you very much for your feedback.

    Best regards,
    Brianvu-tp

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

The topic ‘PHP Deprecated when adding course to woo cart’ is closed to new replies.