• Resolved vaisor

    (@vaisor)


    Hi, this plugin throws errors when running together with Tutor LMS?and ACF plugins and the page won’t load. This problem only appears to users that are not logged in. WordPress version: 6.6.2. Tutor LMS version: 2.7.6. Husky version: 1.3.6.3. ACF version: 6.3.6. I’ve already asked on Tutor LMS page, but they said it’s not related to them.

    PHP Fatal error Uncaught Error: Call to undefined function TUTOR\is_user_logged_in() in /var/www/efizjo/wp-content/plugins/tutor/classes/Private_Course_Access.php:51

    Stack trace:

    #0 /var/www/efizjo/wp-includes/class-wp-hook.php(324): TUTOR\Private_Course_Access->enable_private_access()
    #1 /var/www/efizjo/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #2 /var/www/efizjo/wp-includes/plugin.php(565): WP_Hook->do_action()
    #3 /var/www/efizjo/wp-includes/class-wp-query.php(1881): do_action_ref_array()
    #4 /var/www/efizjo/wp-includes/class-wp-query.php(3852): WP_Query->get_posts()
    #5 /var/www/efizjo/wp-includes/post.php(2539): WP_Query->query()
    #6 /var/www/efizjo/wp-content/plugins/advanced-custom-fields/includes/class-acf-internal-post-type.php(399): get_posts()
    #7 /var/www/efizjo/wp-content/plugins/advanced-custom-fields/includes/class-acf-internal-post-type.php(357): ACF_Internal_Post_Type->get_raw_posts()
    #8 /var/www/efizjo/wp-content/plugins/advanced-custom-fields/includes/acf-internal-post-type-functions.php(153): ACF_Internal_Post_Type->get_posts()
    #9 /var/www/efizjo/wp-content/plugins/advanced-custom-fields/includes/acf-field-group-functions.php(118): acf_get_internal_post_type_posts()
    #10 /var/www/efizjo/wp-content/plugins/woocommerce-products-filter/ext/acf_filter/index.php(62): acf_get_field_groups()
    #11 /var/www/efizjo/wp-content/plugins/woocommerce-products-filter/ext/acf_filter/index.php(17): WOOF_ACF_FILTER->get_all_acf_meta()
    #12 /var/www/efizjo/wp-content/plugins/woocommerce-products-filter/ext/acf_filter/index.php(233): WOOF_ACF_FILTER->__construct()
    #13 /var/www/efizjo/wp-content/plugins/woocommerce-products-filter/index.php(3256): include_once('...')
    #14 /var/www/efizjo/wp-content/plugins/woocommerce-products-filter/index.php(113): WOOF->init_extensions()
    #15 /var/www/efizjo/wp-content/plugins/woocommerce-products-filter/index.php(4010): WOOF->__construct()
    #16 /var/www/efizjo/wp-settings.php(522): include_once('...')
    #17 /var/www/efizjo/wp-config.php(100): require_once('...')
    #18 /var/www/efizjo/wp-load.php(50): require_once('...')
    #19 /var/www/efizjo/wp-login.php(12): require('...')
    #20 {main}
    thrown in /var/www/efizjo/wp-content/plugins/tutor/classes/Private_Course_Access.php on line 51
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.