• Resolved Ronaldt

    (@neejoh)


    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

    • This topic was modified 9 months ago by Ronaldt.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Ronaldt

    (@neejoh)

    I’m sorry for anyone reading this and having the same problem, but I moved on to a different solution that does not require Ally.

    Thread Starter Ronaldt

    (@neejoh)

    Tried it with another website, same problem:

    array(4) {
    ["type"]=>
    int(1)
    ["message"]=>
    string(2964) "Uncaught TypeError: EA11y\Modules\Remediation\Classes\Utils::get_current_object_type(): Return value must be of type string, array returned in /home/client-name/domains/client-name.nl/public_html/wp-content/plugins/pojo-accessibility/modules/remediation/classes/utils.php:74
    Stack trace:
    #0 /home/client-name/domains/client-name.nl/public_html/wp-content/plugins/pojo-accessibility/modules/scanner/module.php(97): EA11y\Modules\Remediation\Classes\Utils::get_current_object_type()
    #1 /home/client-name/domains/client-name.nl/public_html/wp-includes/class-wp-hook.php(324): EA11y\Modules\Scanner\Module->enqueue_assets()
    #2 /home/client-name/domains/client-name.nl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #3 /home/client-name/domains/client-name.nl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #4 /home/client-name/domains/client-name.nl/public_html/wp-includes/script-loader.php(2299): do_action()
    #5 /home/client-name/domains/client-name.nl/public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts()
    #6 /home/client-name/domains/client-name.nl/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #7 /home/client-name/domains/client-name.nl/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #8 /home/client-name/domains/client-name.nl/public_html/wp-includes/general-template.php(3192): do_action()
    #9 /home/client-name/domains/client-name.nl/public_html/wp-content/themes/dt-the7/header-single.php(24): wp_head()
    #10 /home/client-name/domains/client-name.nl/public_html/wp-includes/template.php(812): require('/home/client-na...')
    #11 /home/client-name/domains/client-name.nl/public_html/wp-includes/template.php(745): load_template()
    #12 /home/client-name/domains/client-name.nl/public_html/wp-includes/general-template.php(206): locate_template()
    #13 /home/client-name/domains/client-name.nl/public_html/wp-content/themes/dt-the7/header.php(13): get_template_part()
    #14 /home/client-name/domains/client-name.nl/public_html/wp-includes/template.php(810): require_once('/home/client-na...')
    #15 /home/client-name/domains/client-name.nl/public_html/wp-includes/template.php(745): load_template()
    #16 /home/client-name/domains/client-name.nl/public_html/wp-includes/general-template.php(48): locate_template()
    #17 /home/client-name/domains/client-name.nl/public_html/wp-content/themes/dt-the7/inc/mods/compatibility/elementor/page-templates/elementor-page.php(19): get_header()
    #18 /home/client-name/domains/client-name.nl/public_html/wp-includes/template-loader.php(106): include('/home/client-na...')
    #19 /home/client-name/domains/client-name.nl/public_html/wp-blog-header.php(19): require_once('/home/client-na...')
    #20 /home/client-name/domains/client-name.nl/public_html/index.php(17): require('/home/client-na...')
    #21 {main}
    thrown"
    ["file"]=>
    string(134) "/home/client-name/domains/client-name.nl/public_html/wp-content/plugins/pojo-accessibility/modules/remediation/classes/utils.php"
    ["line"]=>
    int(74)
    }
    object(WP_Error)#3572 (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) {
    }
    }

    I’d much rather have this problem solved than migrating over to different plugins.

    Same problems here..

    Plugin Support Nema from Elementor

    (@masancvarak)

    Hi!

    We are planning on fixing bugs and releasing the changes soon, please check within two weeks. We will be releasing fixes to ally with the new versions, please keep the plugin updated and contact us via support if the issue persists in a couple of weeks.

    Plugin Support Nema from Elementor

    (@masancvarak)

    UPDATE: the Patch version with the fix for this issue has just been released.

    Thread Starter Ronaldt

    (@neejoh)

    Thanks @masancvarak, that patch seems to be working!

    Plugin Support Elementor Team

    (@talmo)

    Hi @neejoh I am happy to hear it is working for you!

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.