Receiving a invalidparameter error when viewing course

إعادة: Re: Receiving a invalidparameter error when viewing course

by D.ALI ALAMRI -
Number of replies: 9

invalidparameter

Invalid parameter value detected
File: /lib/externallib.php
Line: 315
Stack trace:
Missing required key in single structure: year
Error code: invalidparameter
* line 315 of /lib/externallib.php: invalid_parameter_exception thrown
* line 223 of /lib/externallib.php: call to external_api::validate_parameters()
* line 59 of /lib/ajax/service.php: call to external_api::call_external_function()

In reply to D.ALI ALAMRI

Odp: إعادة: Re: Receiving a invalidparameter error when viewing course

by Artur Szczygieł -

Hello.

I have exactly the same problem:

Invalid parameter value detected
File: /lib/externallib.php
Line: 332
Stack trace:
Missing required key in single structure: year
Error code: invalidparameter
* line 332 of /lib/externallib.php: invalid_parameter_exception thrown
* line 223 of /lib/externallib.php: call to external_api::validate_parameters()
* line 59 of /lib/ajax/service.php: call to external_api::call_external_function()

It happened after upgrade moodle 3.5 to 3.7.1. I don't know what the rule is when this error appears or not.

Do you have any idea where this error come and how to solve it?

p.s.  Hello, everyone, this is my first post on this forum smile

In reply to Artur Szczygieł

Re: Odp: إعادة: Re: Receiving a invalidparameter error when viewing course

by Dom London -

OK so was this worrying issue solved??

In reply to Artur Szczygieł

Re: Odp: إعادة: Re: Receiving a invalidparameter error when viewing course

by Zabelle Motte -
Picture of Particularly helpful Moodlers
Hello,

Did you find a wey to solve that problem ?
We have excatly the same Moodle version and have the same problem.


Zabelle
In reply to Zabelle Motte

Re: Odp: إعادة: Re: Receiving a invalidparameter error when viewing course

by barbara nance -
Hi
I am also having exactly the same issue since upgrading to Moodle 3.8.1 . Have also using Adaptable 2.2.2.
In reply to D.ALI ALAMRI

Re: إعادة: Re: Receiving a invalidparameter error when viewing course

by zeinab khadem -

Please uninstall "block_calendar_month" plugin, to upgrade this plugin.

This solution solved my problem...

Average of ratings: Useful (3)
In reply to zeinab khadem

Re: إعادة: Re: Receiving a invalidparameter error when viewing course

by jeff Watson -

This worked for me.  Thanks!

In reply to zeinab khadem

Re: إعادة: Re: Receiving a invalidparameter error when viewing course

by seaghan moriarty -
This is crazy!
but it worked - thank you so much smile
In reply to zeinab khadem

Re: إعادة: Re: Receiving a invalidparameter error when viewing course

by Ruth Ruane -
Hi Zeinab,

I unistalled "block_calendar_month" and yes it did solve my problem. Thank you. But the second part I am having an issue with, "to upgrade this plugin". I cannot find the plugin on Moodle plugins directory to install it again. Calendars are really needed. Do you know where I can find the plugin?
In reply to zeinab khadem

Re: إعادة: Re: Receiving a invalidparameter error when viewing course

by Ruth Ruane -
Hi I just wanted to say thanks again. I just found the plugin for calendar month block in a fresh download of moodle and found and zipped the plugin and installed it and it worked and the invalid parameter didn't return. I was only getting it when using H5p on the mobile app. So that is a great solution for anyone who is also having this issue.