-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
4.0.6, 4.1.1
-
None
-
MOODLE_400_STABLE, MOODLE_401_STABLE
I get an error message in debug mode at the bottom of a settings page.
```
Too much data passed as arguments to js_call_amd("core/showhidesettings", "init"). Generally there are better ways to pass lots of data from PHP to JavaScript, for example via Ajax, data attributes, ... . This warning is triggered if the argument string becomes longer than 1024 characters.
line 1066 of /lib/outputrequirementslib.php: call to debugging()
line 173 of /admin/settings.php: call to page_requirements_manager->js_call_amd()
```
I send this error to the maintainer of the plugin theme_boost_union because the error came up on two of its settings pages. Alex Bias wrote that this is an error in the Moodle core. It should be fixed in core code.
https://github.com/moodle-an-hochschulen/moodle-theme_boost_union/issues/198
- duplicates
-
MDL-62468 Participants page initialises core_user/participants JS in a way that triggers the "Too many params passed to js_call_amd" debug
-
- Development in progress
-