Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Moodle 4.2 : Backups (CLI and GUI) not working (htmlspecialchars error message))

$
0
0
by Jens Prymelski.  

Hi.

I am currently not able to create course backups.

  1. It seems, that this error only occurs in Moodle version 4.2+.
  2. Backups with the same setup within a test environment with Moodle 4.1.2 work.

The interesting part of the debug message is:

!!! Error: htmlspecialchars(): Argument #1 ($string) must be of type string, array given !!!
Potential coding error - existing temptables found when disposing database. Must be dropped!

Moodle version: 4.2.1
PHP: 8.1 (also tested 8.0 and 7.4)

Does anyone have an idea what might be the reason?

Thanks in advance.

Have a nice day.
Greetings



Viewing all articles
Browse latest Browse all 6815

Trending Articles