• Resolved sandralia

    (@sandralia)


    Hola,
    mi wordpress me está danto este error en el plugin de Sensei LMS:

    Warning: array_map(): Expected parameter 2 to be an array, bool given in /usr/home/tecnodemia.com/web/wp-content/plugins/sensei-lms/includes/admin/class-sensei-extensions.php on line 192
    
    Warning: array_map(): Expected parameter 2 to be an array, bool given in /usr/home/tecnodemia.com/web/wp-content/plugins/sensei-lms/includes/admin/class-sensei-extensions.php on line 192
    
    Warning: array_column() expects parameter 1 to be array, null given in /usr/home/tecnodemia.com/web/wp-content/plugins/sensei-lms/includes/admin/class-sensei-extensions.php on line 236
    
    Warning: array_filter() expects parameter 1 to be array, null given in /usr/home/tecnodemia.com/web/wp-content/plugins/sensei-lms/includes/admin/class-sensei-extensions.php on line 236
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /usr/home/tecnodemia.com/web/wp-content/plugins/sensei-lms/includes/admin/class-sensei-extensions.php on line 236

    ?Alguna idea de cómo solucionarlo?

    Gracias

    Sandra

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Same problem here.

    Yep, I’m also encountering the same problem just today:

    
    Warning: array_map(): Expected parameter 2 to be an array, bool given in /web/wp-content/plugins/sensei-lms/includes/admin/class-sensei-extensions.php on line 192 
    
    Warning: array_map(): Expected parameter 2 to be an array, bool given in /web/wp-content/plugins/sensei-lms/includes/admin/class-sensei-extensions.php on line 192 
    
    Warning: array_column() expects parameter 1 to be array, null given in /web/wp-content/plugins/sensei-lms/includes/admin/class-sensei-extensions.php on line 236 
    
    Warning: array_filter() expects parameter 1 to be array, null given in /web/wp-content/plugins/sensei-lms/includes/admin/class-sensei-extensions.php on line 236 
    
    Warning: count(): Parameter must be an array or an object that implements Countable in /web/wp-content/plugins/sensei-lms/includes/admin/class-sensei-extensions.php on line 236
    

    Good to know I’m know alone, and hopefully support can shed some light into this.

    Hi all,

    I’ve alerted our developers to the issue. I just wanted to touch base here and let y’all know this has been seen and reported (and confirmed on my test site).

    We’ll update as soon as we have more information for you.

    Best,
    Cena

    Same here. Waiting for an answer.

    @cena, The problem is the letsencrypt CA has expired and wordpress has not updated the certificates used by the wp_safe_remote_get function.

    It’s not sensei’s fault, but you can fix it in 5 minutes using an $8 COMODO certificate at https://senseilms.com/.

    Best regards.

    • This reply was modified 3 years, 1 month ago by jcastillo1.

    @sandralia:

    Edita este fichero:

    /plugins/sensei-lms/includes/class-sensei.php

    Incluye este código después de la línea 436.

    add_filter( 'https_ssl_verify', function($verify, $url) {
                    return false;
                }, 1, 2);

    Te servirá para salir del paso hasta que lo arreglen.

    Hi,

    As jcastillo1 mentions, this was related to Let’s Encrypt.

    Sensei LMS 3.13.2 has just been released in response to this error. It fixed an issue related to the extensions fetch.

    The origin of the issue is a change in the Let’s Encrypt certificate:

    https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

    So even with this release, you should fix the problem as noted below on your server. You may need to reach out to your web host for help with this:

    https://www.openssl.org/blog/blog/2021/09/13/LetsEncryptRootCertExpire/

    Best,
    Cena

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Warning: array_map() Sensei LMS’ is closed to new replies.