• Resolved robert_k

    (@robert_k)


    Our client’s site is experiencing this 500 error with version 7.0.0:

    PHP Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null given in wp-content/plugins/nelio-ab-testing/public/helpers/class-nelio-ab-testing-main-script.php:250
    Stack trace:
    #0 wp-content/plugins/nelio-ab-testing/public/helpers/class-nelio-ab-testing-main-script.php(250): array_map(Object(Closure), NULL)
    #1 wp-content/plugins/nelio-ab-testing/public/helpers/class-nelio-ab-testing-main-script.php(68): Nelio_AB_Testing_Main_Script->get_relevant_heatmap_summaries()
    #2 wp-includes/class-wp-hook.php(324): Nelio_AB_Testing_Main_Script->enqueue_script('')
    #3 wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #4 wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 wp-includes/script-loader.php(2265): do_action('wp_enqueue_scri...')
    #6 wp-includes/class-wp-hook.php(324): wp_enqueue_scripts('')
    #7 wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #8 wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #9 wp-includes/general-template.php(3050): do_action('wp_head')
    #10 wp-content/themes/divi-child/header.php(40): wp_head()
    #11 wp-includes/template.php(810): require_once('/nas/content/li...')
    #12 wp-includes/template.php(745): load_template('/nas/content/li...', true, Array)
    #13 wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #14 wp-content/themes/divi-child/page.php(2): get_header()
    #15 wp-includes/template-loader.php(106): include('/nas/content/li...')
    #16 wp-blog-header.php(19): require_once('/nas/content/li...')
    #17 index.php(17): require('/nas/content/li...')
    #18 {main} thrown in wp-content/plugins/nelio-ab-testing/public/helpers/class-nelio-ab-testing-main-script.php on line 250
Viewing 1 replies (of 1 total)
  • Plugin Author David Aguilera

    (@davilera)

    Thanks for reporting the issue. An update (v7.0.1) with the fix is already available.

Viewing 1 replies (of 1 total)
  • The topic ‘500 TypeError in array_map()’ is closed to new replies.