Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Its some time ago but i added 2 lines to fix this error so maybe this helps other affected installations.

    If it’s possible, the plugin-author could integrate something like this:

    /wp-content/plugins/ba-plus-before-after-image-slider-free/admin.php:124

    if ( isset($_POST['s201_label']) ) { // added to remove error: Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null given in /wp-content/plugins/ba-plus-before-after-image-slider-free/admin.php:124
    $_POST['s201_label'] = array_map('stripslashes_deep', $_POST['s201_label']);
    foreach($_POST['s201_img_id'] as $slides_id=>$slides){
    $data = s201_validate_post_data($slides_id, $slides);
    if(strpos($slides_id, 'new_')===0){
    $data['post_id'] = $post_id;
    $wpdb->insert($tbl_s201_bai, $data);
    $row_id = $wpdb->insert_id;
    }
    else{
    $wpdb->update($tbl_s201_bai, $data, array('id'=>$slides_id));
    }
    }
    } // added to remove error: Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null given in /wp-content/plugins/ba-plus-before-after-image-slider-free/admin.php:124

    Hallo,

    wir haben ebenfalls dieses Problem und eigentlich sind die DHL-Daten weiterhin aktuell.
    Bei uns kommt dazu dass das Plugin zwar ein Label generiert hat – man kann es aber nicht herunterladen und wird stattdessen auf die Startseite weitergeleitet. In den Logfiles findet sich ebenfalls der 401-Fehler.

    Wir werden unsere Daten nochmals überprüfen und abgleichen aber ich würde stärker auf ein anderes Problem tippen, oder?

    Vielen Dank!

    Thread Starter oemam

    (@oemam)

    Hi @webbistro,

    Thank you – i will send you the access shortly in an email.
    Hope to hear from you soon!

    Thank you

    Thread Starter oemam

    (@oemam)

    Hi @thaikolja,

    yes exactly, i can confirm that.

    thank you!

Viewing 4 replies - 1 through 4 (of 4 total)