Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500: Meetings - Slim Application Internal Error: Call to undefined function ElanEv\Driver\studip_utf8encode() #459

Closed
Rillke opened this issue Jan 17, 2024 · 2 comments · Fixed by #468
Assignees
Labels
Milestone

Comments

@Rillke
Copy link
Contributor

Rillke commented Jan 17, 2024

Hi,
we are running Stud.IP 5.2.6 and Meetings 2.70 and we receive the following error when we try to create a DFNVC conference room:

  1. Activate Meetings in your course
  2. Actions: Add room
  3. Fill in room name and select DFNVC
  4. Press "create room"
  5. see error: 500: Meetings - Slim Application Internal Error: Call to undefined function ElanEv\Driver\studip_utf8encode()
    image

The room is created nonetheless but pressing "participate" will possibly throw the same error again or it will send you to the meetings calendar:
image

Further information:

studip_utf8encode() which was part of the Stud.IP core is removed since 5.0.

The Stud.IP 4.6 implementation:

/**
 * Does not encode anything anymore and just returns the data it received.
 *
 * @deprecated
 *
 * @param mixed $data
 *
 * @return mixed unaltered input $data
 */
function studip_utf8encode($data)
{
    return $data;
}

/**
 * Does not decode anything anymore and just returns the data it received.
 *
 * @deprecated
 *
 * @param mixed $data
 *
 * @return mixed unaltered input $data
 */
function studip_utf8decode($data)
{
    return $data;
}
@ferishili
Copy link
Collaborator

Hi @Rillke
That would be great if you could test the linked PR.

Thanks in advance

@ferishili ferishili self-assigned this Apr 30, 2024
@Rillke
Copy link
Contributor Author

Rillke commented May 9, 2024

Great, thank you! Appears to work, we still have to test with names with some special characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants