Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #21106
    Jason De Mamiel
    Participant

    Hi

    I am getting this error when you click on “My Courses”

    Warning: Undefined variable $customer_orders in /home/sextoyau/mytest.au/child/wp-content/plugins/moowoodle/classes/class-moowoodle-endpoints.php on line 70

    Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/sextoyau/mytest.au/child/wp-content/plugins/moowoodle/classes/class-moowoodle-endpoints.php:70 Stack trace: #0 /home/sextoyau/mytest.au/child/wp-includes/class-wp-hook.php(324): MooWoodle_Endpoints->woocommerce_account_my_courses_endpoint() #1 /home/sextoyau/mytest.au/child/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #2 /home/sextoyau/mytest.au/child/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /home/sextoyau/mytest.au/child/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3239): do_action() #4 /home/sextoyau/mytest.au/child/wp-includes/class-wp-hook.php(324): woocommerce_account_content() #5 /home/sextoyau/mytest.au/child/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #6 /home/sextoyau/mytest.au/child/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /home/sextoyau/mytest.au/child/wp-content/plugins/woocommerce/templates/myaccount/my-account.php(34): do_action() #8 /home/sextoyau/mytest.au/child/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home/sextoyau/…’) #9 /home/sextoyau/mytest.au/child/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php(123): wc_get_template() #10 /home/sextoyau/mytest.au/child/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php(72): WC_Shortcode_My_Account::my_account() #11 /home/sextoyau/mytest.au/child/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_My_Account::output() #12 /home/sextoyau/mytest.au/child/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(115): WC_Shortcodes::shortcode_wrapper() #13 /home/sextoyau/mytest.au/child/wp-includes/shortcodes.php(433): WC_Shortcodes::my_account() #14 [internal function]: do_shortcode_tag() #15 /home/sextoyau/mytest.au/child/wp-includes/shortcodes.php(273): preg_replace_callback() #16 /home/sextoyau/mytest.au/child/wp-includes/class-wp-hook.php(324): do_shortcode() #17 /home/sextoyau/mytest.au/child/wp-includes/plugin.php(205): WP_Hook->apply_filters() #18 /home/sextoyau/mytest.au/child/wp-includes/post-template.php(256): apply_filters() #19 /home/sextoyau/mytest.au/child/wp-content/themes/customify/template-parts/content-page.php(20): the_content() #20 /home/sextoyau/mytest.au/child/wp-includes/template.php(792): require(‘/home/sextoyau/…’) #21 /home/sextoyau/mytest.au/child/wp-includes/template.php(725): load_template() #22 /home/sextoyau/mytest.au/child/wp-includes/general-template.php(206): locate_template() #23 /home/sextoyau/mytest.au/child/wp-content/themes/customify/page.php(23): get_template_part() #24 /home/sextoyau/mytest.au/child/wp-includes/template-loader.php(106): include(‘/home/sextoyau/…’) #25 /home/sextoyau/mytest.au/child/wp-blog-header.php(19): require_once(‘/home/sextoyau/…’) #26 /home/sextoyau/mytest.au/child/index.php(17): require(‘/home/sextoyau/…’) #27 {main} thrown in /home/sextoyau/mytest.au/child/wp-content/plugins/moowoodle/classes/class-moowoodle-endpoints.php on line 70

    #21107
    dualcube
    Keymaster

    @Jason De Mamiel, as shared over the mail, we have already fixed this issue.

    Please download the plugin from here and install this on your site : https://www.transfernow.net/dl/202402015x9Csmx4

    Once you will install this , the issue should be fixed.

    Please do keep us posted.

    #21108
    Jason De Mamiel
    Participant

    Thanks, the link to Moodle doesn’t work. Just keeps taking you back to dashboard page when you click on the “VIEW” under course link.

    #21109
    Jason De Mamiel
    Participant

    When I run the Moowoodle Test Connection I get a tick for everyone of these:

    Connecting to Moodle :
    Course Category Sync :
    Course Data Sync :
    Course Sync :
    User Creation :
    User Data Sync :
    User Data Update :
    User Enrolment :
    User Unenrolment :
    All Test :

    #21110
    dualcube
    Keymaster

    Jason, as you can see we didn’t face any such issue on our end https://www.loom.com/share/fdeb2273ce214796be637090fac81bae

    Now as you are still facing this, please do create temporary admin access and share the admin, ftp access.

    While sharing the access, don’t forget to mark the reply as private.

    #21111
    Jason De Mamiel
    Participant
    This reply has been marked as private.
    #21112
    dualcube
    Keymaster
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.