Critical Error and Depreciated Code
-
I seem to have an issue with CleanTalk running on the site. It causes a Critical Error on the site. If I turn on the Debug I get the code below. Bottom section seems to be related to CleanTalk. Site will load fine with CleanTalk Deactivated. I did check with GF and their support, seems no issues there.
ERROR:
Deprecated: dirname(): Passing null to parameter #1 ($path) of type string is deprecated in /home/oakstrail/public_html/wp-content/plugins/gravityforms/includes/addon/class-gf-addon.php on line 6400
Deprecated: basename(): Passing null to parameter #1 ($path) of type string is deprecated in /home/oakstrail/public_html/wp-content/plugins/gravityforms/includes/addon/class-gf-addon.php on line 6404
Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/oakstrail/public_html/wp-includes/Requests/Cookie/Jar.php on line 63
Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/oakstrail/public_html/wp-includes/Requests/Cookie/Jar.php on line 73
Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/oakstrail/public_html/wp-includes/Requests/Cookie/Jar.php on line 89
Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/oakstrail/public_html/wp-includes/Requests/Cookie/Jar.php on line 102
Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/oakstrail/public_html/wp-includes/Requests/Cookie/Jar.php on line 111
Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/oakstrail/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/oakstrail/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/oakstrail/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/oakstrail/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/oakstrail/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
Fatal error: Uncaught TypeError: Unsupported operand types: int - ArrayObject in /home/oakstrail/public_html/wp-content/plugins/cleantalk-spam-protect/inc/cleantalk-common.php:779 Stack trace: #0 /home/oakstrail/public_html/wp-content/plugins/cleantalk-spam-protect/inc/cleantalk-public.php(619): ct_get_checkjs_value() #1 /home/oakstrail/public_html/wp-content/plugins/cleantalk-spam-protect/inc/cleantalk-public.php(526): ct_add_hidden_fields() #2 /home/oakstrail/public_html/wp-includes/class-wp-hook.php(308): apbct_hook__wp_head__set_cookie__ct_checkjs() #3 /home/oakstrail/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #4 /home/oakstrail/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/oakstrail/public_html/wp-includes/general-template.php(3043): do_action() #6 /home/oakstrail/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-header-template.php(11): wp_head() #7 /home/oakstrail/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(216): require_once('/home/oakstrail...') #8 /home/oakstrail/public_html/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(247): et_theme_builder_frontend_override_partial() #9 /home/oakstrail/public_html/wp-includes/class-wp-hook.php(310): et_theme_builder_frontend_override_header() #10 /home/oakstrail/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #11 /home/oakstrail/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #12 /home/oakstrail/public_html/wp-includes/general-template.php(38): do_action() #13 /home/oakstrail/public_html/wp-content/themes/Divi/page.php(3): get_header() #14 /home/oakstrail/public_html/wp-includes/template-loader.php(106): include('/home/oakstrail...') #15 /home/oakstrail/public_html/wp-blog-header.php(19): require_once('/home/oakstrail...') #16 /home/oakstrail/public_html/index.php(17): require('/home/oakstrail...') #17 {main} thrown in /home/oakstrail/public_html/wp-content/plugins/cleantalk-spam-protect/inc/cleantalk-common.php on line 779The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Critical Error and Depreciated Code’ is closed to new replies.