dbnschools / moodle-theme_fordson

Theme for Moodle 3.3+
42 stars 40 forks source link

InvalidParameter error - only on Administration pages #64

Closed richardschwarz closed 5 years ago

richardschwarz commented 5 years ago

Hi there. Upgraded Moodle to 3.6.2 and running the latest Fordson from the plugins directory. Now I am getting an InvalidParameter warning on all administration pages (including course administration) on every load - which is a little frustrating. It doesn't appear to exist on course pages or the front page/login pages at all. Our theme is using 'Modern Moodle'. invalidparameter

Ideas? What extra information do I need to pass on?

dbnschools commented 5 years ago

Try going to Fordson theme settings and just click the save button at the bottom. It is possible during the update a setting was not saved. Also, what other plugins do you have installed? Finally, please clear caches on Fordson.

richardschwarz commented 5 years ago

Hi Chris. I've cleared cache and removed my custom css, cleared cache and also tried the save thing. Unfortunately, none of that solved the issue. I've tried other themes and they all seem to work without the invalidparameter error. I did notice that a few fontawesome icons (I think) are not showing - see picture attached. It's a bit weird as it's only in the settings area... not standard course pages. fordson-no-fontawesome

richardschwarz commented 5 years ago

Have removed Fordson, cleared all caches, reinstalled Fordson clean, and it appears again. Hmmm. Confusing

dbnschools commented 5 years ago

It might have been a cache issue on either server or browser.

richardschwarz commented 5 years ago

Unfortunately not. It is also happening on all teacher accounts when they go to Course Administration (so not just Site Administration). I've deleted plugins, removed and re-installed Fordson, removed custom css, and I'm not sure what it is... seems to be something being called only on an admin page.

dbnschools commented 5 years ago

It seems like maybe this is related to the Moodle upgrade if it is happening when Fordson and plugins are uninstalled.

richardschwarz commented 5 years ago

About to try a separate vanilla install of 3.6.x and Fordson and then plugins 1 by 1 to see if they're the cause. I'll post back with results

Thanks, Richard

On Mon, 25 Feb. 2019, 11:33 pm Dearborn Public Schools, < notifications@github.com> wrote:

It seems like maybe this is related to the Moodle upgrade if it is happening when Fordson and plugins are uninstalled.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dbnschools/moodle-theme_fordson/issues/64#issuecomment-467012604, or mute the thread https://github.com/notifications/unsubscribe-auth/AAI5MxnhlL44HakwhD3byczcIiOKKmdQks5vQ-ZHgaJpZM4aYAZy .

dbnschools commented 5 years ago

Did you have any success? I'd like to know if it was a plugin issue or not.

dbnschools commented 5 years ago

Hi Chris. I've cleared cache and removed my custom css, cleared cache and also tried the save thing. Unfortunately, none of that solved the issue. I've tried other themes and they all seem to work without the invalidparameter error. I did notice that a few fontawesome icons (I think) are not showing - see picture attached. It's a bit weird as it's only in the settings area... not standard course pages. fordson-no-fontawesome

I had this same issue on several of our servers with the help link icon. I am going to take a shot in the dark and guess you have the BigBlueButton plugin on this server. Every server I have it installed on it messes up the fontawesome icon for help. Removing BBB plugin allowed the icon to return at the bottom of the page.

adriano515 commented 5 years ago

Happens in 3.7 fresh install as well, i have the following external plugins installed:

Uninstalling the external plugins did not fix it.

Activating debug mode shows the following:

imagen

imagen

Additionally it was working fine until i (as admin) enrolled in a course , then went to website/moodle/my and tried filtering and sorting the course.

dbnschools commented 5 years ago

It's got to be one of the plugins. I don't have these issues and cannot reproduce them.

On Tue, May 21, 2019, 2:21 PM adriano515 notifications@github.com wrote:

Happens in 3.7 fresh install as well, i have the following external plugins installed:

  • local_codechecker
  • format_etask
  • availability_coursecompleted
  • qtype_wordselect
  • qtype_kprime
  • qtype_gapfill
  • mod_game
  • mod_choicegroup
  • mod_checklist.

Uninstalling the external plugins did not fix it.

Activating debug mode shows the following:

[image: imagen] https://user-images.githubusercontent.com/13358744/58119828-261f4980-7bc1-11e9-9f8f-e8ac48ab5ff9.png

[image: imagen] https://user-images.githubusercontent.com/13358744/58120469-8ebaf600-7bc2-11e9-9cb5-8506bfccc1af.png

Additionally it was working fine until i (as admin) enrolled in a course , then went to website/moodle/my and tried filtering and sorting the course.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/dbnschools/moodle-theme_fordson/issues/64?email_source=notifications&email_token=AGWEEAOK3VDCM2BBZHCW6QTPWQ4RXA5CNFSM4GTAAZZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV4YGSY#issuecomment-494502731, or mute the thread https://github.com/notifications/unsubscribe-auth/AGWEEAI4T3M2S4GPLB4IIILPWQ4RXANCNFSM4GTAAZZA .

dbnschools commented 5 years ago

I don't believe this is related to Fordson.