"Undefined" Error when duplicating activities and resources

"Undefined" Error when duplicating activities and resources

by Carlos Nunes -
Number of replies: 3

Hi everyone,

After upgrading from 3.2 to 3.8, everytime a teacher duplicates any activitie or resource, it doesn't work and only a popup window apears (without any information).

As far as I can see, it happens in every course.

No debug information apears while the error ocurs, but there is always a notice shoing the following line, multiple times:

Notice: Trying to access array offset on value of type null in /var/www/lib/mustache/src/Mustache/Parser.php on line 278

Thanks to all...

Attachment undefined.png
Average of ratings: -
In reply to Carlos Nunes

Re: "Undefined" Error when duplicating activities and resources

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Noting https://moodle.org/mod/forum/discuss.php?d=395277

Clearly something is broken on your site. These issues may or may not be related. However, the advise is exactly the same.

In addition, for this error, open your browser's javascript console and check for any (red) errors.
In reply to Carlos Nunes

Re: "Undefined" Error when duplicating activities and resources

by Carlos Nunes -
Changed php version from 7.4 to 7.3 and it fixed this issue