• Estoy intentando ctear un sitio para cursos online con LearnPress, pero cuando intento crear un curso no me aparecen todas las opciones, y aparece este error abajo:
    “Fatal error: func_get_args(): Can’t be used as a function parameter in /home/content/66/11302666/html/plataformaeducativa/wp-content/plugins/learnpress/inc/libraries/meta-box/inc/field.php on line 191”
    ?Cómo lo soluciono?
    Gracias

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Phong Lo

    (@phonglqfoobla)

    Hi,

    Can you give me more information about this issues.
    May be some screenshot will be helpful.

    Regards,
    Phong Lo

    I had this issue too, in the creation course page I can’t create a course because this error disables the course content and the page editor.
    I found a solution on the web, they say to replace every occur (line 191 and 220 file /wp-content/plugins/learnpress/inc/libraries/meta-box/inc/field.php as far as I know) of func_get_args() used inside another function, and set another variable to use as the argument.
    So, instead of the line:
    $args = call_user_func_array( array( __CLASS__, '_sanitize_args' ), func_get_args() );
    you write something like that:

          $args2 = func_get_args();
          $args = call_user_func_array( array( __CLASS__, '_sanitize_args' ), $args2 );

    Hope it helps someone.

    Bye

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error al crear cursos’ is closed to new replies.