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

Error in moodle 3.9.2+ (apache2 php7.4-fpm) #22

Open
bonimat opened this issue Nov 16, 2020 · 2 comments
Open

Error in moodle 3.9.2+ (apache2 php7.4-fpm) #22

bonimat opened this issue Nov 16, 2020 · 2 comments

Comments

@bonimat
Copy link

bonimat commented Nov 16, 2020

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?

@ecampbell
Copy link
Owner

ecampbell commented Nov 17, 2020 via email

@bonimat
Copy link
Author

bonimat commented Nov 18, 2020

Maybe it depends on our theme (Fordson).
Thanks a lot!

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

No branches or pull requests

2 participants