Forum Replies Created

Viewing 15 replies - 1 through 15 (of 78 total)
  • Hi wilcosky, I have same problem. Since I updated the plugin to the new version 2.5.0, on the website REST API stopped working and get everywhere JSON response error and Health Check return same errors. Maybe the plugin authors can fix the problem with a new release. I hope this, because is an useful plugin.

    Thread Starter steplab

    (@steplab)

    Thank you so much! We will try it.

    Regards

    Thread Starter steplab

    (@steplab)

    Ok, so by now is not possible. We will stay tuned to future releases.

    Speaking about more relevance to exact match – are you talking about exact match for words inside title?

    Yes, to search the phrase inside title or content (post_content) or inside the other enabled fields to search (by plugin settings).

    Regards

    Thread Starter steplab

    (@steplab)

    The error message “This feature is forbidden temporarily for security reason. Try login again.” and “command denied to user DATABASE_USER for table ‘wp_options’ …” was showing because of hosting provider that blocked our database user to insert/update/delete (but enabled SELECT).

    So if anyone have same error, check if you can add a record inside phpmyadmin, if you can’t, maybe is the provider that blocked you.

    Why hosting blocked? in our case was because the database size exceeded the max size.

    Best regards

    Thread Starter steplab

    (@steplab)

    The security plugin Defender do not have cache settings but security settings.
    Sitegorund Optimizer, your plugin manage cache settings.
    We used Siteground purge cache functionality, and cleared the browser cache, after this the settings cache seems returned to work.
    If anybody have same error can do these steps.
    So if the error persist we will open a ticket on siteground hosting support as you tell us.

    Thanks
    Step

    Thread Starter steplab

    (@steplab)

    By our side we do not know any set of rest api deactivation.
    We have a security plugin: Defender v. 3.4.0
    This seems and error caused by this last version of the plugin, previous versions was working.
    The website is hosted on Siteground server.
    Inside sitegorund panel: NGINX DIRECT DELIVERY is activated.
    Wich “hosting specific limit”, inside sitegorund panel, we have to search an check?

    Thread Starter steplab

    (@steplab)

    Hi,
    PHP 7.4.32

    Thread Starter steplab

    (@steplab)

    Hi seems the same error that and also learnpress – content drip 4.0.2 sometimes block the access to the next lesson also if previous lesson is completed:

    Sorry! You can not view this item right now. It will become available when you completed <LESSON> (GMT +2)

    We are from Italy and wordpress general settings are corretly configured with that.

    Thread Starter steplab

    (@steplab)

    the learnpress function is not working is:
    get_expiration_time()

    by commenting this function inside files, course list and single course page is returned working

    Thread Starter steplab

    (@steplab)

    this function get errors:

    LearnPress::instance()->template( ‘course’ )->user_time()

    inside file: plugins/learnpress/templates/single-course/sidebar/preview.php

    we temporarily commented this line, hope this will be fixed..

    Thread Starter steplab

    (@steplab)

    Updated to the last version these plugins
    but still get errors now also inside single course page:

    [05-Oct-2022 12:36:35 UTC] PHP Fatal error:  Uncaught Exception: DateTime::__construct(): Failed to parse time string (1918557-08-19 12:30:36) at position 14 (1): Double time specification in .../public_html/wp-content/plugins/learnpress/inc/class-lp-datetime.php:65
    Stack trace:
    #0 .../public_html/wp-content/plugins/learnpress/inc/class-lp-datetime.php(65): DateTime->__construct('1918557-08-19 1...', Object(DateTimeZone))
    #1 .../public_html/wp-content/plugins/learnpress/inc/user-item/class-lp-user-item.php(380): LP_Datetime->__construct('1918557-08-19 1...')
    #2 .../public_html/wp-content/plugins/learnpress/inc/templates/class-lp-template-course.php(975): LP_User_Item->get_expiration_time()
    #3 .../public_html/wp-content/plugins/learnpress/templates/single-course/sidebar/preview.php(29): LP_Template_Course->user_time()
    #4 .../public_html/wp-content/plugins/learnpress/inc/lp-template-functio in .../public_html/wp-content/plugins/learnpress/inc/class-lp-datetime.php on line 65
    Thread Starter steplab

    (@steplab)

    Now we disabled the addon plugin: LearnPress – Content Drip
    to enable users to access the next lesson after completing the previous lesson

    Thread Starter steplab

    (@steplab)

    Learnpress 4.1.7.1
    Learnpress content drip 4.0.1
    Wordpress 6.0.2

    Thread Starter steplab

    (@steplab)

    from debug.log:
    [04-Oct-2022 10:00:13 UTC] PHP Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (1918557-08-19 12:30:36) at position 14 (1): Double time specification in /public_html/wp-content/plugins/learnpress/inc/class-lp-datetime.php:65

    [04-Oct-2022 09:45:30 UTC] PHP Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in /public_html/wp-content/plugins/learnpress/inc/class-lp-ajax.php:298
    Stack trace:
    #0 /public_html/wp-content/plugins/learnpress/inc/class-lp-ajax.php(298): Exception->__construct(‘Hai gi\xC3\xA0 comple…’, ‘error’)
    #1 /public_html/wp-includes/class-wp-hook.php(307): LP_AJAX::complete_lesson(”)
    #2 /public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #3 /public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /public_html/wp-content/plugins/learnpress/inc/class-lp-request-handler.php(166): do_action(‘learn-press/aja…’)
    #5 /public_html/wp-includes/class-wp-hook.php(307): LP_Request::do_ajax(‘complete-lesson’, ‘lp-ajax’)
    #6 /home/customer/w in /public_html/wp-content/plugins/learnpress/inc/class-lp-ajax.php on line 298
    [04-Oct-2022 09:45:41 UTC] PHP Fatal error: Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in /public_html/wp-content/plugins/learnpress/inc/class-lp-ajax.php:298
    Stack trace:
    #0 /public_html/wp-content/plugins/learnpress/inc/class-lp-ajax.php(298): Exception->__construct(‘Hai gi\xC3\xA0 comple…’, ‘error’)
    #1 /public_html/wp-includes/class-wp-hook.php(307): LP_AJAX::complete_lesson(”)
    #2 /public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #3 /public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /public_html/wp-content/plugins/learnpress/inc/class-lp-request-handler.php(166): do_action(‘learn-press/aja…’)
    #5 /public_html/wp-includes/class-wp-hook.php(307): LP_Request::do_ajax(‘complete-lesson’, ‘lp-ajax’)
    #6 /home/customer/w in /public_html/wp-content/plugins/learnpress/inc/class-lp-ajax.php on line 298

    [04-Oct-2022 10:00:13 UTC] PHP Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (1918557-08-19 12:30:36) at position 14 (1): Double time specification in /public_html/wp-content/plugins/learnpress/inc/class-lp-datetime.php:65
    Stack trace:
    #0 /public_html/wp-content/plugins/learnpress/inc/class-lp-datetime.php(65): DateTime->__construct(‘1918557-08-19 1…’, Object(DateTimeZone))
    #1 /public_html/wp-content/plugins/learnpress/inc/user-item/class-lp-user-item.php(380): LP_Datetime->__construct(‘1918557-08-19 1…’)
    #2 /public_html/wp-content/plugins/learnpress/inc/templates/class-lp-template-course.php(1077): LP_User_Item->get_expiration_time()
    #3 /public_html/wp-content/plugins/learnpress/templates/single-course/sidebar/preview.php(29): LP_Template_Course->user_time()
    #4 /public_html/wp-content/plugins/learnpress/inc/lp-template-functi in /public_html/wp-content/plugins/learnpress/inc/class-lp-datetime.php on line 65

    Thread Starter steplab

    (@steplab)

    La risposta non è una risposta JSON valida.

    /wp-json/lp/v1/profile/course-tab?userID=2086&query=purchased&layout=list&status=&_locale=user
    {“code”:”rest_forbidden”,”message”:”Non hai i permessi per farlo.”,”data”:{“status”:401}}

    Now doesn’t work also content drip premium:
    User complete a lesson, the lesson seems like is correctly completed and when the user go to the next lesson get the message:
    Sorry! You can not view this item right now. It will become available when you completed <PREVIOUS_LESSON> (GMT +2)

Viewing 15 replies - 1 through 15 (of 78 total)