This might be related to youtube api changes, see MDL-50176, or maybe nobody tested this block for a while
To reproduce:
- Go to Site administration > Appearences > Manage tags
- Create a new tag and click on its name
- Turn editing on and add "youtube" block
Warning: Creating default object from empty value in /.../blocks/tag_youtube/block_tag_youtube.php on line 41
|
|
Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Start tag expected, '<' not found in /.../blocks/tag_youtube/block_tag_youtube.php on line 169
|
|
Warning: SimpleXMLElement::__construct(): No longer available in /.../blocks/tag_youtube/block_tag_youtube.php on line 169
|
|
Warning: SimpleXMLElement::__construct(): ^ in /.../blocks/tag_youtube/block_tag_youtube.php on line 169
|
Exception - String could not be parsed as XML
|
Debug info:
|
Error code: generalexceptionmessage
|
Stack trace:
|
|
line 169 of /blocks/tag_youtube/block_tag_youtube.php: Exception thrown
|
line 169 of /blocks/tag_youtube/block_tag_youtube.php: call to SimpleXMLElement->__construct()
|
line 126 of /blocks/tag_youtube/block_tag_youtube.php: call to block_tag_youtube->fetch_request()
|
line 71 of /blocks/tag_youtube/block_tag_youtube.php: call to block_tag_youtube->get_videos_by_tag()
|
line 288 of /blocks/moodleblock.class.php: call to block_tag_youtube->get_content()
|
line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
|
line 971 of /lib/blocklib.php: call to block_base->get_content_for_output()
|
line 1023 of /lib/blocklib.php: call to block_manager->create_block_contents()
|
line 473 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
|
line 52 of /theme/clean/layout/columns3.php: call to core_renderer->standard_head_html()
|
line 1015 of /lib/outputrenderers.php: call to include()
|
line 945 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
|
line 81 of /tag/index.php: call to core_renderer->header()
|
- duplicates
-
MDL-49085 Block tag_youtube can prevent tag page to load
-
- Closed
-