Support » Plugin: WP OAuth Server (OAuth Authentication) » undefined wo_is_licensed

  • For about a week (since updating WPOAuth?) I am seeing this error in the log, approx. every hour.

    PHP Fatal error: Call to undefined function wo_is_licensed() in /home/georgianyacht/public_html/wp-content/plugins/oauth2-provider/includes/functions.php on line 465

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Justin Greer

    (@justingreerbbi)

    Forum Moderator

    Thank you for the report. We are aware of the issue and have applied a fix that has not yet been released.

    Plugin Author Justin Greer

    (@justingreerbbi)

    Forum Moderator

    It is due to a script that is set to run once a day using wp_cron. We have since removed this function in the development version and will have an official release here in the next couple days.

    Thread Starter trevorstokes

    (@trevortokes)

    Thanks for the quick response. I saw that is called from wo_cheater_watch() and guessed from the name that it was a scheduled operation.
    Will watch for an update.

    I am still getting the same issue:

    [ERROR] lvl: 1 | msg:Uncaught Error: Call to undefined function wo_is_licensed() in …/public_html/wp-content/plugins/oauth2-provider/includes/functions.php:465
    Stack trace:
    #0 …/public_html/wp-includes/class-wp-hook.php(286): wo_cheater_watch()
    #1 …/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #2 …/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
    #3 …/public_html/wp-cron.php(126): do_action_ref_array(‘wo_daily_tasks_…’, Array)
    #4 {main}
    thrown | file:…/public_html/wp-content/plugins/oauth2-provider/includes/functions.php | ln:465

    Has the release not happened yet?

    Plugin Author Justin Greer

    (@justingreerbbi)

    Forum Moderator

    I just checked and I am not not sure why the change was not implemented. It is marked as complete in my system. I will get a new update out shortly.

    @justingreerbbi Any update here? Is it safe to just remove the call to that undefined function? This is causing a fatal error and hasn’t been fixed in 3 months.

    Plugin Author Justin Greer

    (@justingreerbbi)

    Forum Moderator

    Sorry for the delay. We are pushing to have an update here shortly. You can remove the function.

    Thank you for your continuing patience in the matter.

    Plugin Author Justin Greer

    (@justingreerbbi)

    Forum Moderator

    @xparham

    Please ensure that you are using the latest version of the plugin. If you are having issues, please provide more information about your error and I can try to help!

    Thanks

    Thread Starter trevorstokes

    (@trevortokes)

    I have the latest (at least, Wordfence is not reporting any out of date plugins).
    When you say we can “remove the function” do you mean remove the call?

    Can I just return unconditionally from wo_cheater_watch as if wo_is_licensed() had returned true?

    Plugin Author Justin Greer

    (@justingreerbbi)

    Forum Moderator

    Yes. You can do that if you would like.

    The latest version is 3.4.3 and should have this reference removed. Check to ensure the version number in the plugins page.

    Thread Starter trevorstokes

    (@trevortokes)

    I do have V 3.4.3 but the call is still there.
    The module header says this…

    
     * WordPress OAuth Main Functions File
     *
     * @version 3.2.0 (IMPORTANT)
    Plugin Author Justin Greer

    (@justingreerbbi)

    Forum Moderator

    Finally found the issue. You can see that there is a version 3.4.4 but the tag for the release in the system is 3.4.3. I will see if I can fix this real quick to trigger an update.

    Thread Starter trevorstokes

    (@trevortokes)

    Got it! Wordfence reported it out of date and I have installed the update.
    Thanks!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘undefined wo_is_licensed’ is closed to new replies.