Uncaught TypeError: Return value must be of type string, array returned
-
When I install ally I get the following fatal error:
array(4) {
["type"]=>
int(1)
["message"]=>
string(2860) "Uncaught TypeError: EA11y\Modules\Remediation\Classes\Utils::get_current_object_type(): Return value must be of type string, array returned in /home/my-user/domains/my-domain.com/public_html/wp-content/plugins/pojo-accessibility/modules/remediation/classes/utils.php:74
Stack trace:
#0 /home/my-user/domains/my-domain.com/public_html/wp-content/plugins/pojo-accessibility/modules/scanner/module.php(97): EA11y\Modules\Remediation\Classes\Utils::get_current_object_type()
#1 /home/my-user/domains/my-domain.com/public_html/wp-includes/class-wp-hook.php(324): EA11y\Modules\Scanner\Module->enqueue_assets()
#2 /home/my-user/domains/my-domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /home/my-user/domains/my-domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /home/my-user/domains/my-domain.com/public_html/wp-includes/script-loader.php(2299): do_action()
#5 /home/my-user/domains/my-domain.com/public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
#6 /home/my-user/domains/my-domain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#7 /home/my-user/domains/my-domain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /home/my-user/domains/my-domain.com/public_html/wp-includes/general-template.php(3192): do_action()
#9 /home/my-user/domains/my-domain.com/public_html/wp-content/themes/dt-the7-child/header-single.php(27): wp_head()
#10 /home/my-user/domains/my-domain.com/public_html/wp-includes/template.php(812): require('/home/my-user...')
#11 /home/my-user/domains/my-domain.com/public_html/wp-includes/template.php(745): load_template()
#12 /home/my-user/domains/my-domain.com/public_html/wp-includes/general-template.php(206): locate_template()
#13 /home/my-user/domains/my-domain.com/public_html/wp-content/themes/dt-the7/header.php(13): get_template_part()
#14 /home/my-user/domains/my-domain.com/public_html/wp-includes/template.php(810): require_once('/home/my-user...')
#15 /home/my-user/domains/my-domain.com/public_html/wp-includes/template.php(745): load_template()
#16 /home/my-user/domains/my-domain.com/public_html/wp-includes/general-template.php(48): locate_template()
#17 /home/my-user/domains/my-domain.com/public_html/wp-content/themes/dt-the7/inc/mods/compatibility/elementor/page-templates/elementor-page.php(19): get_header()
#18 /home/my-user/domains/my-domain.com/public_html/wp-includes/template-loader.php(106): include('/home/my-user...')
#19 /home/my-user/domains/my-domain.com/public_html/wp-blog-header.php(19): require_once('/home/my-user...')
#20 /home/my-user/domains/my-domain.com/public_html/index.php(17): require('/home/my-user...')
#21 {main}
thrown"
["file"]=>
string(129) "/home/my-user/domains/my-domain.com/public_html/wp-content/plugins/pojo-accessibility/modules/remediation/classes/utils.php"
["line"]=>
int(74)
}
object(WP_Error)#4202 (3) {
["errors"]=>
array(1) {
["non_protected_endpoint"]=>
array(1) {
[0]=>
string(47) "Fout opgetreden op een niet-beschermd endpoint."
}
}
["error_data"]=>
array(0) {
}
["additional_data":protected]=>
array(0) {
}
}Can this bug be fixed, I would love to try this plugin out but now I can’t activate it without pulling my website offline.
Cheers,
Ronald
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Uncaught TypeError: Return value must be of type string, array returned’ is closed to new replies.