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

Call to a member function out() on null #8

Open
security-companion opened this issue Aug 31, 2021 · 0 comments
Open

Call to a member function out() on null #8

security-companion opened this issue Aug 31, 2021 · 0 comments

Comments

@security-companion
Copy link

Hi,
when accesing on my moodle site the /my/ sub-site I get an error "Call to a member function out() on null".

Somewhere I read about uninstalling the block_analytics_graphs plugin, I didn't have it installed. Instead I had installed a plugin called tool_analytics which I uninstalled but the problem persists.

I'm using Moodle 3.11.2 (Build: 20210729)

I activated debug-output, see following paste. Any hints about what to do?

Notice: Undefined offset: 23 in /home/ftuyt/public_html/blocks/assignments/block_assignments.php on line 108

Notice: Trying to get property 'id' of non-object in /home/ftuyt/public_html/blocks/assignments/block_assignments.php on line 109

Notice: Undefined offset: 23 in /home/ftuyt/public_html/blocks/assignments/block_assignments.php on line 112

Notice: Trying to get property 'id' of non-object in /home/ftuyt/public_html/blocks/assignments/block_assignments.php on line 113

Notice: Trying to get property 'course' of non-object in /home/ftuyt/public_html/blocks/assignments/block_assignments.php on line 114

Notice: Undefined index: in /home/ftuyt/public_html/blocks/assignments/block_assignments.php on line 114

Notice: Trying to get property 'id' of non-object in /home/ftuyt/public_html/blocks/assignments/block_assignments.php on line 123

Notice: Trying to get property 'id' of non-object in /home/ftuyt/public_html/blocks/assignments/block_assignments.php on line 123

Notice: Undefined index: in /home/ftuyt/public_html/blocks/assignments/block_assignments.php on line 123

Notice: Trying to access array offset on value of type null in /home/ftuyt/public_html/blocks/assignments/block_assignments.php on line 123

Error
Excepción - Call to a member function out() on null
Debug info:
Error code: generalexceptionmessage
Stack trace: * line 123 of /blocks/assignments/block_assignments.php: Error thrown

line 341 of /blocks/moodleblock.class.php: call to block_assignments->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 1239 of /lib/blocklib.php: call to block_manager->create_block_contents()
line 645 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
line 603 of /theme/moove/classes/output/core_renderer.php: call to core_renderer->standard_head_html()
line 219 of /lib/mustache/src/Mustache/Context.php: call to theme_moove\output\core_renderer->standard_head_html()
line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
line 31 of /home/ftuyt/moodledata/localcache/mustache/1630352672/moove/__Mustache_6b816cb648158c31a45c8a7cadad0ee4.php: call to Mustache_Context->findDot()
line 13 of /home/ftuyt/moodledata/localcache/mustache/1630352672/moove/__Mustache_ad102c022bb0a496eba4f47b1c9c5bbc.php: call to __Mustache_6b816cb648158c31a45c8a7cadad0ee4->renderInternal()
line 67 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_ad102c022bb0a496eba4f47b1c9c5bbc->renderInternal()
line 198 of /lib/outputrenderers.php: call to Mustache_Template->render()
line 93 of /theme/moove/layout/mydashboard.php: call to renderer_base->render_from_template()
line 1396 of /lib/outputrenderers.php: call to include()
line 1326 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 165 of /my/index.php: call to core_renderer->header()

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