This was made for the entire carrer, from carrer until unit to review was a flexible section, the problem was that when I created the 30 subsection brokes an get me this error:
Invalid value in set_user_preference() call, value is is too long for the value column
File: /lib/moodlelib.php
Line: 1493
Error code: codingerror
line 1493 of /lib/moodlelib.php: coding_exception thrown
line 808 of /course/format/classes/base.php: call to set_user_preference()
line 773 of /course/format/classes/base.php: call to core_courseformat\base->persist_to_user_preference()
line 854 of /course/format/classes/stateactions.php: call to core_courseformat\base->add_section_preference_ids()
line 137 of /course/format/classes/external/update_course.php: call to core_courseformat\stateactions->section_content_collapsed()
line ? of unknownfile: call to core_courseformat\external\update_course::execute()
line 253 of /lib/external/classes/external_api.php: call to call_user_func_array()
line 83 of /lib/ajax/service.php: call to core_external\external_api::call_external_function()
Now only appears when I open or close section, but I can't find the issue... I will continue reviewing the code
Hi
I created a hierarchy of sections.
This was made for the entire carrer, from carrer until unit to review was a flexible section, the problem was that when I created the 30 subsection brokes an get me this error:
Invalid value in set_user_preference() call, value is is too long for the value column
File: /lib/moodlelib.php Line: 1493
Error code: codingerror
Now only appears when I open or close section, but I can't find the issue... I will continue reviewing the code