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

Too much data passed as arguments to js_call_amd( #36

Open
aspark21 opened this issue Sep 1, 2020 · 0 comments
Open

Too much data passed as arguments to js_call_amd( #36

aspark21 opened this issue Sep 1, 2020 · 0 comments

Comments

@aspark21
Copy link

aspark21 commented Sep 1, 2020

Too much data passed as arguments to js_call_amd("block_massaction/block_massaction", "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 1036 of /lib/outputrequirementslib.php: call to debugging()
line 100 of /blocks/massaction/block_massaction.php: call to page_requirements_manager->js_call_amd()
line 326 of /blocks/moodleblock.class.php: call to block_massaction->get_content()
line 235 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
line 1181 of /lib/blocklib.php: call to block_base->get_content_for_output()
line 1233 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 643 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
line 218 of /theme/adaptable/layout/includes/header.php: call to core_renderer->standard_head_html()
line 32 of /theme/adaptable/layout/course.php: call to require_once()
line 1374 of /lib/outputrenderers.php: call to include()
line 1304 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 244 of /course/view.php: call to core_renderer->header()

stopfstedt pushed a commit to stopfstedt/moodle-block_massaction that referenced this issue Nov 13, 2024
* Design rework with bootstrap
* Improvements for screenreaders

Authored-by: Philipp Memmel <[email protected]>
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

1 participant