{"id":18213606,"date":"2024-12-23T12:56:50","date_gmt":"2024-12-23T12:56:50","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/tutorlms-3-0-compatibility\/"},"modified":"2024-12-23T12:58:07","modified_gmt":"2024-12-23T12:58:07","slug":"tutorlms-3-0-compatibility","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/tutorlms-3-0-compatibility\/","title":{"rendered":"TutorLMS 3.0 Compatibility"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi there,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">i&#8217;m using hcaptcha 4.8 and tutorlms 3.1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It seems tutor pages conflict with the hcaptcha plugin. i think it happens on the pages where there is an add to cart button for a tutor course. I contacted the tutorLMS developers which said, this needs to be fixed on your end. I&#8217;m getting those fatal errors:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">[19-Dec-2024 13:35:21 UTC] PHP Fatal error: Uncaught TypeError: HCaptcha\\Abstracts\\LoginBase::add_signature(): Argument #2 ($args) must be of type array, string given, called in \/home\/gc66xyx\/public_html\/wp-includes\/class-wp-hook.php on line 324 and defined in \/home\/gc66xyx\/public_html\/wp-content\/plugins\/hcaptcha-for-forms-and-more\/src\/php\/Abstracts\/LoginBase.php:102 Stack trace:0 \/home\/gc66xyx\/public_html\/wp-includes\/class-wp-hook.php(324): HCaptcha\\Abstracts\\LoginBase-&gt;add_signature() 1 \/home\/gc66xyx\/public_html\/wp-includes\/plugin.php(205): WP_Hook-&gt;apply_filters() 2 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/tutor\/templates\/login-form.php(70): apply_filters() 3 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/tutor\/includes\/tutor-template-functions.php(1556): include_once(&#8216;\/home\/gc66xyx\/p&#8230;&#8217;) 4 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/tutor\/views\/modal\/login.php(30): tutor_load_template_from_custom_path() 5 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/tutor\/includes\/tutor-template-functions.php(1556): include_once(&#8216;\/home\/gc66xyx\/p&#8230;&#8217;) 6 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/tutor-lms-elementor-addons\/templates\/course\/course-list.php(193): tutor_load_template_from_custom_path() 7 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/tutor-lms-elementor-addons\/includes\/addons\/CourseList.php(2168): include(&#8216;\/home\/gc66xyx\/p&#8230;&#8217;) 8 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/includes\/base\/controls-stack.php(2325): TutorLMS\\Elementor\\Addons\\CourseList-&gt;render() 9 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/includes\/base\/widget-base.php(636): Elementor\\Controls_Stack-&gt;render_by_mode() 10 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/includes\/base\/widget-base.php(775): Elementor\\Widget_Base-&gt;render_content() 11 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/includes\/base\/element-base.php(483): Elementor\\Widget_Base-&gt;print_content() 12 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/modules\/element-cache\/module.php(69): Elementor\\Element_Base-&gt;print_element() 13 \/home\/gc66xyx\/public_html\/wp-includes\/shortcodes.php(434): Elementor\\Modules\\ElementCache\\Module-&gt;Elementor\\Modules\\ElementCache{closure}() 14 [internal function]: do_shortcode_tag() 15 \/home\/gc66xyx\/public_html\/wp-includes\/shortcodes.php(273): preg_replace_callback() 16 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/core\/base\/document.php(1865): do_shortcode() 17 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/core\/base\/document.php(1200): Elementor\\Core\\Base\\Document-&gt;print_elements() 18 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/includes\/frontend.php(1184): Elementor\\Core\\Base\\Document-&gt;print_elements_with_wrapper() 19 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/includes\/frontend.php(1079): Elementor\\Frontend-&gt;get_builder_content() 20 \/home\/gc66xyx\/public_html\/wp-includes\/class-wp-hook.php(324): Elementor\\Frontend-&gt;apply_builder_in_content() 21 \/home\/gc66xyx\/public_html\/wp-includes\/plugin.php(205): WP_Hook-&gt;apply_filters() 22 \/home\/gc66xyx\/public_html\/wp-includes\/post-template.php(256): apply_filters() 23 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/modules\/page-templates\/module.php(190): the_content() 24 [internal function]: Elementor\\Modules\\PageTemplates\\Module-&gt;print_callback() 25 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/modules\/page-templates\/module.php(207): call_user_func() 26 \/home\/gc66xyx\/public_html\/wp-content\/plugins\/elementor\/modules\/page-templates\/templates\/header-footer.php(19): Elementor\\Modules\\PageTemplates\\Module-&gt;print_content() 27 \/home\/gc66xyx\/public_html\/wp-includes\/template-loader.php(106): include(&#8216;\/home\/gc66xyx\/p&#8230;&#8217;) 28 \/home\/gc66xyx\/public_html\/wp-blog-header.php(19): require_once(&#8216;\/home\/gc66xyx\/p&#8230;&#8217;) 29 \/home\/gc66xyx\/public_html\/index.php(17): require(&#8216;\/home\/gc66xyx\/p&#8230;&#8217;) 30 {main}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">thrown in \/home\/gc66xyx\/public_html\/wp-content\/plugins\/hcaptcha-for-forms-and-more\/src\/php\/Abstracts\/LoginBase.php on line 102<\/p>\n","protected":false},"template":"","class_list":["post-18213606","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18213606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18213606\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18213606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}