• Resolved techwpdrift

    (@techwpdrift)


    Hi Learnpress! We have some problems with wp-cron background processes. We’re getting the following error in our website logs with Learnpress plugin after running wp-cron.php tasks with:
    https://www.{ourwebsite}.com/wp-cron.php
    or
    https://www.{ourwebsite}.com/wp-cron.php?doing_wp_cron
    Site health also report problems with background tasks that get stuck in that step:

    PHP Fatal error: Uncaught Error: Call to undefined function learn_press_get_education_themes() in /{full_path}/wp-content/plugins/learnpress/inc/background-process/class-lp-background-query-items.php:285\nStack trace:\n#0 /{full_path}/wp-content/plugins/learnpress/inc/background-process/class-lp-background-query-items.php(56): LP_Background_Query_Items->query_related_themes()\n#1 /{full_path}/wp-content/plugins/learnpress/inc/libraries/wp-background-process.php(301): LP_Background_Query_Items->task(Array)\n#2 /{full_path}/wp-content/plugins/learnpress/inc/libraries/wp-background-process.php(445): WP_Background_Process->handle()\n#3 /{full_path}/wp-includes/class-wp-hook.php(287): WP_Background_Process->handle_cron_healthcheck()\n#4 /{full_path}/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)\n#5 /{full_path}/wp-includes/plugin.php(544): WP_Hook->do_action(Array)\n#6 /{full_path}/wp-cron.php(138 in /{full_path}/wp-content/plugins/learnpress/inc/background-process/class-lp-background-query-items.php on line 285

    Do you know what could be the problem?
    We’ve checked previous topics like:

    More information:
    WP Version: 5.4
    Learnpress Version: 3.2.6.7

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Which theme are you using? Can you give me your site URL to check?

    Thread Starter techwpdrift

    (@techwpdrift)

    Website is using Course Builder / Course Builder Child
    For privacy reasons we can’t add the link to the webpage, sorry.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error: Call to undefined function learn_press_get_education_themes()’ is closed to new replies.