You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have problem with moodle 3.9.2+ when import a file .docx. The error reported is
"Got error 'PHP message: PHP Fatal error: Cannot redeclare atto_wordimport_strings_for_js() (previously declared in /var/www/html/moodle/lib/editor/atto/plugins/wordimport/lib.php:38) in /var/www/html/moodle/lib/editor/atto/plugins/wordimport/lib.php on line 38' ".
We resolved in import.php
changing
require(DIR . '/lib.php');
with
require_once(DIR . '/lib.php');
Could you apply in your code?
The text was updated successfully, but these errors were encountered:
On Mon, 16 Nov 2020 at 15:21, bonimat ***@***.***> wrote:
We have problem with moodle 3.9.2+ when import a file .docx. The error
reported is
"Got error 'PHP message: PHP Fatal error: Cannot redeclare
atto_wordimport_strings_for_js() (previously declared in
/var/www/html/moodle/lib/editor/atto/plugins/wordimport/lib.php:38) in
/var/www/html/moodle/lib/editor/atto/plugins/wordimport/lib.php on line 38'
".
We resolved in import.php
changing
require(*DIR* . '/lib.php');
with
require_once(*DIR* . '/lib.php');
Could you apply in your code?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#22>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGQHDBT3WQOALSKJ4B6DCDSQE7OTANCNFSM4TXJPU3Q>
.
We have problem with moodle 3.9.2+ when import a file .docx. The error reported is
"Got error 'PHP message: PHP Fatal error: Cannot redeclare atto_wordimport_strings_for_js() (previously declared in /var/www/html/moodle/lib/editor/atto/plugins/wordimport/lib.php:38) in /var/www/html/moodle/lib/editor/atto/plugins/wordimport/lib.php on line 38' ".
We resolved in import.php
changing
require(DIR . '/lib.php');
with
require_once(DIR . '/lib.php');
Could you apply in your code?
The text was updated successfully, but these errors were encountered: